Radarcape:Miscellaneous

From Beast Wiki
Jump to navigation Jump to search


Using SOCAT to copy TCP to a file

 socat -u TCP:localhost:10002 OPEN:radarcape.bin,creat

Using SOCAT to access the GPS receiver via network

The Radarcape provides access to the raw data of the GPS device via a network socket. This can be used to provide GPS information to the Linux gpsd daemon.

 socat pty,link=/tmp/ttyGPS tcp:192.168.1.1000:10685
 gpsd /tmp/ttyGPS

You may test if gpsd has successfully been connected to your Radarcape using the xgps tool.

Cannot Execute a Binary

Dynamic lib missing

On Debian, apt-get upgrade leads to an error with LED aging

Description and replacing script

On Debian: "not a dynamic executable" or any other problems with ld-linux-armhf.so.3

cd /lib
ln -sf arm-linux-gnueabihf/ld-linux.so.3 .

Disable IPv6

https://wiki.debian.org/DebianIPv6#How_to_turn_off_IPv6

Debian 8: WARNING: The following packages cannot be authenticated

The Debian 8 image was created with update feeds that no longer exists.

During some operations, including FlightAware PiAware installation, this will cause errors.

To fix this:

Under the hood this package will update the file /etc/apt/sources.list to:

deb http://deb.debian.org/debian jessie main
deb http://deb.debian.org/debian-security jessie/updates main