Radarcape:Miscellaneous: Difference between revisions

From Beast Wiki
Jump to navigation Jump to search
imported>Dl4mea
Nunojpg (talk | contribs)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#seo:
|title=Radarcape Miscellaneous
|titlemode=replace
|keywords=radarcape,miscellaneous
|description=Miscellaneous information related to the Radarcape
}}
====Using SOCAT to copy TCP to a file====
====Using SOCAT to copy TCP to a file====
   socat -u TCP:localhost:10002 OPEN:radarcape.bin,creat
    
  ''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====
====Cannot Execute a Binary====
[http://stackoverflow.com/questions/20717838/gcc-arm-executable-no-such-file-orr-directory-wrong-dynamic-lib Dynamic lib missing]
[http://stackoverflow.com/questions/20717838/gcc-arm-executable-no-such-file-orr-directory-wrong-dynamic-lib Dynamic lib missing]


Line 13: Line 33:
ln -sf arm-linux-gnueabihf/ld-linux.so.3 .
ln -sf arm-linux-gnueabihf/ld-linux.so.3 .


===Disable IPv&===
====Disable IPv6====
 
https://wiki.debian.org/DebianIPv6#How_to_turn_off_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:
* Download https://jetvision.de/resources/fixapt_1.0-1_all.deb
* Settings -> Software Maintenance -> Manual File Upload -> Upload and Install Package, select the file you just downloaded and press Upload+Install.
Under the hood this package will update the file /etc/apt/sources.list to:<br>
<nowiki>deb http://deb.debian.org/debian jessie main
deb http://deb.debian.org/debian-security jessie/updates main</nowiki>

Latest revision as of 19:31, 23 September 2019


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