Is there anyway to shorten the timeout seen below, i know what’s causing it some watchdog on the radarcape is making it restart. However waiting for Piaware to time out out for an hour is less than ideal
03/20/2016 09:59:03 1251085 msgs recv’d from socat (234 in last 5m); 1250097 msgs sent to FlightAware
03/20/2016 10:04:03 1254300 msgs recv’d from socat (3215 in last 5m); 1253312 msgs sent to FlightAware
03/20/2016 10:09:03 1257466 msgs recv’d from socat (3166 in last 5m); 1256478 msgs sent to FlightAware
03/20/2016 10:14:03 1260631 msgs recv’d from socat (3165 in last 5m); 1259643 msgs sent to FlightAware
03/20/2016 10:19:03 1263804 msgs recv’d from socat (3173 in last 5m); 1262816 msgs sent to FlightAware
03/20/2016 10:24:03 1267124 msgs recv’d from socat (3320 in last 5m); 1266136 msgs sent to FlightAware
03/20/2016 10:29:03 1270468 msgs recv’d from socat (3344 in last 5m); 1269480 msgs sent to FlightAware
03/20/2016 10:34:03 1273592 msgs recv’d from socat (3124 in last 5m); 1272604 msgs sent to FlightAware
03/20/2016 10:38:02 lost connection to socat via faup1090
03/20/2016 10:38:02 reconnecting to socat
03/20/2016 10:38:02 ADS-B data program ‘socat’ is listening on port 30005, so far so good
03/20/2016 10:38:02 Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 51.309 --lon -0.706
03/20/2016 10:38:02 Started faup1090 (pid 31145) to connect to socat
03/20/2016 10:38:06 lost connection to socat via faup1090
03/20/2016 10:38:06 will reconnect to socat in 30 seconds
03/20/2016 10:38:36 ADS-B data program ‘socat’ is listening on port 30005, so far so good
03/20/2016 10:38:36 Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 51.309 --lon -0.706
03/20/2016 10:38:36 Started faup1090 (pid 31162) to connect to socat
03/20/2016 10:39:03 1276547 msgs recv’d from socat (2955 in last 5m); 1275559 msgs sent to FlightAware
Socat still appears to be working as i am not restarting it (set it up as a service in systemd).
*edit: i might be lieing there’s something going on with socat, i think this is just the faup1090 reconnecting to socat but i’m not sure.
â ADSB_Socat.service - ADSB_Socat
Loaded: loaded (/lib/systemd/system/ADSB_Socat.service; enabled)
Active: active (running) since Thu 2016-03-17 21:03:30 UTC; 2 days ago
Main PID: 345 (ADSB_Socat.sh)
CGroup: /system.slice/ADSB_Socat.service
ââ 345 /bin/sh /home/pi/ADSB_Socat.sh
ââ 353 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ 717 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ 1430 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ 1915 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ 7296 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ10142 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ10707 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ13483 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ21746 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ23755 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ25261 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ25806 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
ââ31164 socat -U TCP-LISTEN:30005,reuseaddr,fork TCP-CONNECT:192.168.111.27:10003
Mar 17 21:03:30 Pi2 systemd[1]: Starting ADSB_Socat…
Mar 17 21:03:30 Pi2 systemd[1]: Started ADSB_Socat.
Mar 17 21:03:32 Pi2 ADSB_Socat.sh[345]: 2016/03/17 21:03:32 socat[550] E connect(5, AF=2 192.168.111.27:10003, 16): Network is unreachable
Mar 17 21:04:03 Pi2 ADSB_Socat.sh[345]: 2016/03/17 21:04:03 socat[632] E connect(5, AF=2 192.168.111.27:10003, 16): Network is unreachable
I need to look into this a little more.*