With reference to this, can anyone help me understand what is going on here please?
Chart.JPG
A few times a week my setup will fail to receive and aircraft messages. I have replaced the RTL-SDR.COM dongle, tried a different Pi, with a new SD card (same image though) and swapped in a different power supply. I am now wondering if this may be a fault with the only other module in the chain, the RTL-SDR Triple Filtered LNA.
I could obviously just remove this filter but if the issue goes, that might not prove anything if it is a load problem, or some issue with the software activation of the bias-T circuit, etc. I really would rather not buy another filter unless the advice is that it is the most likely cause. The problem will always resolve itself after an hour or two. Is it possible that the LNA/Filter could behave in this way, or might this be a software or other issue?
I did consider writing a cron job to look for " no new messages received in" in the journalctl output and turn the bias-T feed off an on, but wonder if that is worthwhile or the best way to monitor this issue?
I have included a chunk of output from journalctl during the period that nothing is being received in case it is of help.
Cheers
Aug 06 20:14:37 raspberrypi piaware[458]: no new messages received in 3887 seconds, it might just be that there haven't been any aircraft nearby but I'm going to try
Aug 06 20:14:37 raspberrypi piaware[458]: faup1090 exited with SIG SIGHUP
Aug 06 20:14:37 raspberrypi piaware[458]: attempting to restart dump1090..
Aug 06 20:14:38 raspberrypi sudo[27051]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/invoke-rc.d --query dump1090-fa restart
Aug 06 20:14:38 raspberrypi sudo[27051]: pam_unix(sudo:session): session opened for user root by (uid=0)
Aug 06 20:14:38 raspberrypi sudo[27051]: pam_unix(sudo:session): session closed for user root
Aug 06 20:14:39 raspberrypi piaware[458]: attempting to restart dump1090-fa using 'systemctl --no-block try-restart dump1090-fa.service < /dev/null'...
Aug 06 20:14:39 raspberrypi sudo[27062]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl --no-block try-restart dump1090-fa.service
Aug 06 20:14:39 raspberrypi sudo[27062]: pam_unix(sudo:session): session opened for user root by (uid=0)
Aug 06 20:14:39 raspberrypi sudo[27062]: pam_unix(sudo:session): session closed for user root
Aug 06 20:14:39 raspberrypi dump1090-fa[26315]: Thu Aug 6 20:14:39 2020 BST Caught SIGTERM, shutting down..
Aug 06 20:14:39 raspberrypi systemd[1]: Stopping dump1090 ADS-B receiver (FlightAware customization)...
Aug 06 20:14:39 raspberrypi dump1090-fa[26315]: Thu Aug 6 20:14:39 2020 BST Waiting for receive thread termination
Aug 06 20:14:39 raspberrypi piaware[458]: dump1090 restart appears to have been successful
Aug 06 20:14:41 raspberrypi dump1090-fa[26315]: Thu Aug 6 20:14:41 2020 BST Normal exit.
Aug 06 20:14:41 raspberrypi piaware[458]: mlat-client(9867): Lost connection to localhost:30005
Aug 06 20:14:41 raspberrypi piaware[458]: mlat-client(9867): Reconnecting in 30.0 seconds
Aug 06 20:14:41 raspberrypi systemd[1]: dump1090-fa.service: Succeeded.
Aug 06 20:14:41 raspberrypi systemd[1]: Stopped dump1090 ADS-B receiver (FlightAware customization).
Aug 06 20:14:41 raspberrypi piaware[458]: mlat-client(9867): Beast-format results connection with 127.0.0.1:30104: connection lost
Aug 06 20:14:41 raspberrypi systemd[1]: Starting dump1090 ADS-B receiver (FlightAware customization)...
Aug 06 20:14:41 raspberrypi dump1090-fa[27075]: Found 1 device(s):
Aug 06 20:14:41 raspberrypi dump1090-fa[27075]: 0: Realtek, RTL2838UHIDIR, SN: 00000001
Aug 06 20:14:41 raspberrypi dump1090-fa[27075]: Using device 0: Generic RTL2832U OEM
Aug 06 20:14:41 raspberrypi dump1090-fa[27075]: Found Rafael Micro R820T tuner
Aug 06 20:14:42 raspberrypi systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Aug 06 20:14:43 raspberrypi dump1090-fa[27080]: Thu Aug 6 20:14:43 2020 BST dump1090-fa 3.7.1 starting up.
Aug 06 20:14:43 raspberrypi dump1090-fa[27080]: rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001)
Aug 06 20:14:43 raspberrypi dump1090-fa[27080]: Found Rafael Micro R820T tuner
Aug 06 20:14:43 raspberrypi dump1090-fa[27080]: rtlsdr: tuner gain set to 36.4 dB
Aug 06 20:14:44 raspberrypi dump1090-fa[27080]: Allocating 4 zero-copy buffers
Aug 06 20:14:50 raspberrypi sudo[27087]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
Aug 06 20:14:50 raspberrypi sudo[27087]: pam_unix(sudo:session): session opened for user root by (uid=0)
Aug 06 20:14:50 raspberrypi sudo[27087]: pam_unix(sudo:session): session closed for user root
Aug 06 20:14:50 raspberrypi piaware[458]: ADS-B data program 'dump1090-fa' is listening on port 30005, so far so good
Aug 06 20:14:50 raspberrypi piaware[458]: Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout
Aug 06 20:14:50 raspberrypi piaware[458]: Started faup1090 (pid 27096) to connect to dump1090-fa
Aug 06 20:15:01 raspberrypi CRON[27097]: pam_unix(cron:session): session opened for user pi by (uid=0)
Aug 06 20:15:01 raspberrypi CRON[27102]: (pi) CMD (/usr/bin/sudo -H /usr/local/bin/checkwifi.sh >>/home/pi/logs/reset_wifi.log 2>&1)
Aug 06 20:15:01 raspberrypi sudo[27103]: pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/local/bin/checkwifi.sh
Aug 06 20:15:01 raspberrypi sudo[27103]: pam_unix(sudo:session): session opened for user root by (uid=0)
Aug 06 20:15:03 raspberrypi sudo[27103]: pam_unix(sudo:session): session closed for user root
Aug 06 20:15:03 raspberrypi CRON[27097]: pam_unix(cron:session): session closed for user pi
Aug 06 20:15:10 raspberrypi piaware[458]: 3227397 msgs recv'd from dump1090-fa (0 in last 5m); 3226629 msgs sent to FlightAware
Aug 06 20:15:11 raspberrypi piaware[458]: mlat-client(9867): Input connected to localhost:30005
Aug 06 20:15:11 raspberrypi piaware[458]: mlat-client(9867): Input format changed to BEAST, 12MHz clock
Aug 06 20:10:07 raspberrypi piaware[458]: 3227397 msgs recv'd from dump1090-fa (0 in last 5m); 3226629 msgs sent to FlightAware
Chart.JPG
A few times a week my setup will fail to receive and aircraft messages. I have replaced the RTL-SDR.COM dongle, tried a different Pi, with a new SD card (same image though) and swapped in a different power supply. I am now wondering if this may be a fault with the only other module in the chain, the RTL-SDR Triple Filtered LNA.
I could obviously just remove this filter but if the issue goes, that might not prove anything if it is a load problem, or some issue with the software activation of the bias-T circuit, etc. I really would rather not buy another filter unless the advice is that it is the most likely cause. The problem will always resolve itself after an hour or two. Is it possible that the LNA/Filter could behave in this way, or might this be a software or other issue?
I did consider writing a cron job to look for " no new messages received in" in the journalctl output and turn the bias-T feed off an on, but wonder if that is worthwhile or the best way to monitor this issue?
I have included a chunk of output from journalctl during the period that nothing is being received in case it is of help.
Cheers
Aug 06 20:14:37 raspberrypi piaware[458]: no new messages received in 3887 seconds, it might just be that there haven't been any aircraft nearby but I'm going to try
Aug 06 20:14:37 raspberrypi piaware[458]: faup1090 exited with SIG SIGHUP
Aug 06 20:14:37 raspberrypi piaware[458]: attempting to restart dump1090..
Aug 06 20:14:38 raspberrypi sudo[27051]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/invoke-rc.d --query dump1090-fa restart
Aug 06 20:14:38 raspberrypi sudo[27051]: pam_unix(sudo:session): session opened for user root by (uid=0)
Aug 06 20:14:38 raspberrypi sudo[27051]: pam_unix(sudo:session): session closed for user root
Aug 06 20:14:39 raspberrypi piaware[458]: attempting to restart dump1090-fa using 'systemctl --no-block try-restart dump1090-fa.service < /dev/null'...
Aug 06 20:14:39 raspberrypi sudo[27062]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl --no-block try-restart dump1090-fa.service
Aug 06 20:14:39 raspberrypi sudo[27062]: pam_unix(sudo:session): session opened for user root by (uid=0)
Aug 06 20:14:39 raspberrypi sudo[27062]: pam_unix(sudo:session): session closed for user root
Aug 06 20:14:39 raspberrypi dump1090-fa[26315]: Thu Aug 6 20:14:39 2020 BST Caught SIGTERM, shutting down..
Aug 06 20:14:39 raspberrypi systemd[1]: Stopping dump1090 ADS-B receiver (FlightAware customization)...
Aug 06 20:14:39 raspberrypi dump1090-fa[26315]: Thu Aug 6 20:14:39 2020 BST Waiting for receive thread termination
Aug 06 20:14:39 raspberrypi piaware[458]: dump1090 restart appears to have been successful
Aug 06 20:14:41 raspberrypi dump1090-fa[26315]: Thu Aug 6 20:14:41 2020 BST Normal exit.
Aug 06 20:14:41 raspberrypi piaware[458]: mlat-client(9867): Lost connection to localhost:30005
Aug 06 20:14:41 raspberrypi piaware[458]: mlat-client(9867): Reconnecting in 30.0 seconds
Aug 06 20:14:41 raspberrypi systemd[1]: dump1090-fa.service: Succeeded.
Aug 06 20:14:41 raspberrypi systemd[1]: Stopped dump1090 ADS-B receiver (FlightAware customization).
Aug 06 20:14:41 raspberrypi piaware[458]: mlat-client(9867): Beast-format results connection with 127.0.0.1:30104: connection lost
Aug 06 20:14:41 raspberrypi systemd[1]: Starting dump1090 ADS-B receiver (FlightAware customization)...
Aug 06 20:14:41 raspberrypi dump1090-fa[27075]: Found 1 device(s):
Aug 06 20:14:41 raspberrypi dump1090-fa[27075]: 0: Realtek, RTL2838UHIDIR, SN: 00000001
Aug 06 20:14:41 raspberrypi dump1090-fa[27075]: Using device 0: Generic RTL2832U OEM
Aug 06 20:14:41 raspberrypi dump1090-fa[27075]: Found Rafael Micro R820T tuner
Aug 06 20:14:42 raspberrypi systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Aug 06 20:14:43 raspberrypi dump1090-fa[27080]: Thu Aug 6 20:14:43 2020 BST dump1090-fa 3.7.1 starting up.
Aug 06 20:14:43 raspberrypi dump1090-fa[27080]: rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001)
Aug 06 20:14:43 raspberrypi dump1090-fa[27080]: Found Rafael Micro R820T tuner
Aug 06 20:14:43 raspberrypi dump1090-fa[27080]: rtlsdr: tuner gain set to 36.4 dB
Aug 06 20:14:44 raspberrypi dump1090-fa[27080]: Allocating 4 zero-copy buffers
Aug 06 20:14:50 raspberrypi sudo[27087]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
Aug 06 20:14:50 raspberrypi sudo[27087]: pam_unix(sudo:session): session opened for user root by (uid=0)
Aug 06 20:14:50 raspberrypi sudo[27087]: pam_unix(sudo:session): session closed for user root
Aug 06 20:14:50 raspberrypi piaware[458]: ADS-B data program 'dump1090-fa' is listening on port 30005, so far so good
Aug 06 20:14:50 raspberrypi piaware[458]: Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout
Aug 06 20:14:50 raspberrypi piaware[458]: Started faup1090 (pid 27096) to connect to dump1090-fa
Aug 06 20:15:01 raspberrypi CRON[27097]: pam_unix(cron:session): session opened for user pi by (uid=0)
Aug 06 20:15:01 raspberrypi CRON[27102]: (pi) CMD (/usr/bin/sudo -H /usr/local/bin/checkwifi.sh >>/home/pi/logs/reset_wifi.log 2>&1)
Aug 06 20:15:01 raspberrypi sudo[27103]: pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/local/bin/checkwifi.sh
Aug 06 20:15:01 raspberrypi sudo[27103]: pam_unix(sudo:session): session opened for user root by (uid=0)
Aug 06 20:15:03 raspberrypi sudo[27103]: pam_unix(sudo:session): session closed for user root
Aug 06 20:15:03 raspberrypi CRON[27097]: pam_unix(cron:session): session closed for user pi
Aug 06 20:15:10 raspberrypi piaware[458]: 3227397 msgs recv'd from dump1090-fa (0 in last 5m); 3226629 msgs sent to FlightAware
Aug 06 20:15:11 raspberrypi piaware[458]: mlat-client(9867): Input connected to localhost:30005
Aug 06 20:15:11 raspberrypi piaware[458]: mlat-client(9867): Input format changed to BEAST, 12MHz clock
Aug 06 20:10:07 raspberrypi piaware[458]: 3227397 msgs recv'd from dump1090-fa (0 in last 5m); 3226629 msgs sent to FlightAware
Comment