I spent all day today trying to add dump978-fa to my existing setup:
Raspberry Pi 3 B+
Rasbian Buster with desktop installed
RTL-SDR v3 Dongle with BiasT enabled
RTL-SDR LNA Triple Saw Filter
FlightAware 1090 antenna
PiAware 3.7.2 installed with dump1090 (without dump978)
Graphs, Timelapse, ADSBCompare installed
Added:
FA 978 antenna
FA orange dongle
Reason it took all day trying to install dump978-fa due to issues with the missing libsoapysdr0.5-2 dependency, finding the workaround to download from debian, configuring the dongle serials, adding the various settings in dump1090-fa dump978-fa and piaware.conf etc etc etc.
When I tried checking on the PiAware status, it didn’t seem to be working:
pi@PiAware $ piaware-status
PiAware master process (piaware) is running with pid 18699.
PiAware ADS-B client (faup1090) is running with pid 18740.
PiAware ADS-B UAT client (faup978) is not running (disabled by configuration settings)
PiAware mlat client (fa-mlat-client) is running with pid 18730.
Local ADS-B receiver (dump1090-fa) is running with pid 14704.
dump1090-fa (pid 14704) is listening for ES connections on port 30005.
faup1090 is connected to the ADS-B receiver.
piaware is connected to FlightAware.
dump1090 is producing data on localhost:30005.
Your feeder ID is xxxxxxxxxxxxxxxxxxxxxx (from /var/cache/piaware/feeder_id)
But I saw someone post about trying sudo, and when I tried it I got a completely different result:
pi@PiAware $ sudo piaware-status
PiAware master process (piaware) is running with pid 18699.
PiAware ADS-B client (faup1090) is running with pid 18740.
PiAware ADS-B UAT client (faup978) is running with pid 20371.
PiAware mlat client (fa-mlat-client) is running with pid 18730.
Local ADS-B receiver (dump1090-fa) is running with pid 14704.
Local ADS-B UAT receiver (dump978-fa) is running with pid 20340.
dump1090-fa (pid 14704) is listening for ES connections on port 30005.
dump978-fa (pid 20340) is listening for UAT connections on port 30978.
faup1090 is connected to the ADS-B receiver.
faup978 is connected to the ADS-B UAT receiver.
piaware is connected to FlightAware.
dump1090 is producing data on localhost:30005.
dump978 is NOT producing data on localhost:30978.
Your feeder ID is xxxxxxxxxxxxxxxxxxxxx (configured at /etc/piaware.conf:8)
So did I successfully install and configure dump978-fa, or not? Hard to know without any 978 messages received. I hate to troubleshoot the physical issues (connections, filters, antenna placement, etc) if this is still a programming issue…
pi@PiAware $ sudo systemctl status dump978-fa
● dump978-fa.service - dump978 ADS-B UAT receiver
Loaded: loaded (/lib/systemd/system/dump978-fa.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-11-27 20:49:44 PST; 26s ago
Docs: PiAware - ADS-B and MLAT Receiver - FlightAware
Main PID: 20340 (dump978-fa)
Tasks: 4 (limit: 2200)
Memory: 2.2M
CGroup: /system.slice/dump978-fa.service
└─20340 /usr/bin/dump978-fa --sdr driver=rtlsdr,serial=00000978 --sdr-gain 45 --format CS8 --raw-port 30978 --json-port 30979
Nov 27 20:49:44 PiAware dump978-fa[20340]: json-port: listening for connections on [::]:30979
Nov 27 20:49:44 PiAware dump978-fa[20340]: usb_claim_interface error -6
Nov 27 20:49:45 PiAware dump978-fa[20340]: Found Rafael Micro R820T tuner
Nov 27 20:49:45 PiAware dump978-fa[20340]: Found Rafael Micro R820T tuner
Nov 27 20:49:45 PiAware dump978-fa[20340]: Exact sample rate is: 2083333.135571 Hz
Nov 27 20:49:45 PiAware dump978-fa[20340]: [R82XX] PLL not locked!
Nov 27 20:49:45 PiAware dump978-fa[20340]: SoapySDR: using manual gain 45.0 dB
Nov 27 20:49:45 PiAware dump978-fa[20340]: SoapySDR: using stream setting buffsize=262144
Nov 27 20:49:45 PiAware dump978-fa[20340]: Allocating 15 zero-copy buffers
Nov 27 20:49:45 PiAware dump978-fa[20340]: [::]:30978: accepted a connection from [::1]:46414
pi@PiAware $ sudo systemctl status piaware
● piaware.service - FlightAware ADS-B uploader
Loaded: loaded (/lib/systemd/system/piaware.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-11-27 20:44:32 PST; 7min ago
Docs: PiAware - ADS-B and MLAT Receiver - FlightAware
Main PID: 18699 (piaware)
Tasks: 6 (limit: 2200)
Memory: 11.5M
CGroup: /system.slice/piaware.service
├─18699 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
├─18730 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect,localhost:30104 --results beast,listen,30105 –
├─18740 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat xxxxx --lon -xxxxx
└─20371 /usr/lib/piaware/helpers/faup978 --connect localhost:30978
Nov 27 20:49:45 PiAware sudo[20360]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
Nov 27 20:49:45 PiAware sudo[20360]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 27 20:49:45 PiAware sudo[20360]: pam_unix(sudo:session): session closed for user root
Nov 27 20:49:45 PiAware piaware[18699]: ADS-B data program ‘dump978-fa’ is listening on port 30978, so far so good
Nov 27 20:49:45 PiAware piaware[18699]: Starting faup978: /usr/lib/piaware/helpers/faup978 --connect localhost:30978
Nov 27 20:49:45 PiAware piaware[18699]: Started faup978 (pid 20371) to connect to dump978-fa
Nov 27 20:49:45 PiAware piaware[18699]: faup978(20371): Connecting to localhost:30978
Nov 27 20:49:45 PiAware piaware[18699]: faup978(20371): Connected to [::1]:30978
Nov 27 20:50:06 PiAware piaware[18699]: 1188 msgs recv’d from dump1090-fa (1091 in last 5m); 1188 msgs sent to FlightAware
Nov 27 20:50:06 PiAware piaware[18699]: 0 msgs recv’d from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware