Radarcape:Miscellaneous: Difference between revisions

From Beast Wiki
Jump to navigation Jump to search
imported>Dl4mea
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=== Using SOCAT to copy TCP to a file ===
{{#seo:
  socat -u TCP:localhost:10002 OPEN:radarcape.bin,creat
|title=Radarcape Miscellaneous
== Server Settings ==
|titlemode=replace
|keywords=radarcape,miscellaneous
|description=Miscellaneous information related to the Radarcape
}}


If the server is also a Radarcape, and in case that you want to get access from external devices to the ports through the tunnel, you need to add switch "'''-a'''" to the dropbear startup file '''/lib/systemd/system/dropbear@.service'''.
====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====
 
[http://stackoverflow.com/questions/20717838/gcc-arm-executable-no-such-file-orr-directory-wrong-dynamic-lib Dynamic lib missing]
 
====On Debian, apt-get upgrade leads to an error with LED aging====
 
[https://www.mail-archive.com/beagleboard@googlegroups.com/msg15617.html Description and replacing script]
 
====On Debian: "not a dynamic executable" or any other problems with ld-linux-armhf.so.3====
 
cd /lib<br>
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:
 
* 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