I have run a 1090 Pi for over a year, no problems. I decided to try out 978, so I started with a second Pi running an RTL stick, dump978, etc. Keeping them separate from the 1090 unit so I can see the 978 stats and to prevent any messups to the 1090 unit. I consider myself to Pi/Linux capable, but not an expert. These are manually installed, not the FA image.
It did not work at first. I found two problems. I had to add --net-only to the /etc/default/dump1090-fa file to prevent it from using the RTL dongle and feeding 1090. I also added a --net-ri-port 30001 to accept incoming data from dump978 (via netcat, see dump978-maint.sh).
It then seemed to work fine for a day, I was sending data to FA according to my FA stats page. Then it stopped. I’m not sure if I did something or what, but I have yet to be successful in getting it back for more than a quick burst. There is not a lot of 978 activity here (and I am NOT in range of a base station), but there is some.
I added a tee into my dump978 command and I did log some 978 data to a text file, and when put through uat2text it was readable so I know it was good. However, none of that data made it to FA according to my FA stats. I took that tee back out just to eliminate a step.
I have since disabled mlat just to make sure that wasn’t causing a problem, since I don’t think that is relevant to 978 (??).
Here are some relevant files:
/etc/default/dump1090-fa
RECEIVER_OPTIONS="--net-only --net-bo-port 30005"
DECODER_OPTIONS="--max-range 300"
NET_OPTIONS="--net --net-heartbeat 60 --net-ro-size 1000 --net-ro-interval 1 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104 --net-bo-port 30005 --net-ri-port 30001"
JSON_OPTIONS="--json-location-accuracy 1"
tail of /var/log/piaware.log
Jan 21 16:09:48 raspberrypi4 piaware[444]: faup1090 exited with SIG SIGHUP
Jan 21 16:09:48 raspberrypi4 piaware[444]: attempting to restart dump1090..
Jan 21 16:09:52 raspberrypi4 piaware[444]: attempting to restart dump1090-fa using 'systemctl --no-block try-restart dump1090-fa.service < /dev/null'...
Jan 21 16:09:52 raspberrypi4 piaware[444]: dump1090 restart appears to have been successful
Jan 21 16:10:03 raspberrypi4 piaware[444]: ADS-B data program 'dump1090-fa' is listening on port 30005, so far so good
Jan 21 16:10:03 raspberrypi4 piaware[444]: Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat --lon
Jan 21 16:10:03 raspberrypi4 piaware[444]: Started faup1090 (pid 1004) to connect to dump1090-fa
Jan 21 16:10:22 raspberrypi4 piaware[444]: 0 msgs recv'd from dump1090-fa (0 in last 5m); 0 msgs sent to FlightAware
Jan 21 16:15:18 raspberrypi4 piaware[444]: 0 msgs recv'd from dump1090-fa (0 in last 5m); 0 msgs sent to FlightAware
Jan 21 16:20:18 raspberrypi4 piaware[444]: 0 msgs recv'd from dump1090-fa (0 in last 5m); 0 msgs sent to FlightAware
dump978-maint.sh (how dump978 is started)
/usr/bin/rtl_sdr -f 978000000 -s 2083334 -g 48 - | /home/pi/dump978/dump978 | /home/pi/dump978/uat2esnt | /bin/nc -q1 127.0.0.1 30001 &
Running processes
root 458 39.5 0.2 2424 1288 ? R 15:09 29:15 /home/pi/dump978/dump978
root 459 0.0 0.1 2312 864 ? S 15:09 0:00 /home/pi/dump978/uat2esnt
dump1090 989 0.8 0.5 6468 2440 ? S<s 16:09 0:07 /usr/bin/dump1090-fa --net-only --net-bo-port 30005 --max-range 300 --net --net-heartbeat 60 --net-ro-size 1000 --net-ro-interval 1 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104 --net-bo-port 30005 --net-ri-port 30001 --json-location-accuracy 1 --lat 3 --lon --write-json /run/dump1090-fa --quiet
root 457 7.8 1.2 14808 5576 ? Rl 15:09 5:50 /usr/bin/rtl_sdr -f 978000000 -s 2083334 -g 48 -
piaware 1004 0.1 0.3 2772 1720 ? S 16:10 0:00 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat --lon -
piaware-status
PiAware master process (piaware) is running with pid 444.
PiAware ADS-B client (faup1090) is running with pid 1004.
PiAware mlat client (fa-mlat-client) is not running.
Local ADS-B receiver (dump1090-fa) is running with pid 989.
dump1090-fa (pid 989) is listening for connections on port 30005.
faup1090 is connected to the ADS-B receiver.
piaware is connected to FlightAware.
dump1090 is producing data on localhost:30005.
port 30001 test
pi@raspberrypi4:~ $ nc -zv 127.0.0.1 30001
Connection to 127.0.0.1 30001 port [tcp/*] succeeded!
I guess my first question, because this what I’m most unsure of, is my dump1090-fa correct? And nc (netcat) does not show in a process list. Should it, or will it only when data is being piped to 30001 since the -q1 option is there?
Thank you, before I pull what is left of my hair out!