ADS-B woes

I have been running an ADS-B decoder here for many years now and feeding flightradar24. However, yesterday I got an email alert that the decoder was offline. it seemed ok locally as the status said it was connected but it was no seeing any aircraft. This was last night but there were plenty of aircraft near enough. On further checking via the flightradar24 website it seemed the maximum distance seen was just 2 miles. One aircraft took off from the local airport and the decoder did see it, but only for a short while.

So, off into the loft. I swapped the dbv dongle. No change. I took the preamp out of curcuit. No change. I installed the latest fr24feed. No change. Hmmm. Then it was time for bed...

This morning I checked the collinear using the TinyVNA and it showed it was fine. I swapped the antenna lead that came with the dongle for an adapter type. No change!

Back to the software then. I have not changed the setup for ages, in fact not since I migrated the decoder from a Pi to a Linux box. And it was always fine until now.

Shutting fr24feed and dump1090-mutability down I tested the dongle via rtl_adsb. it saw lots of data. Ok... so the hardware is fine, the software is not. I ran dump1090-mutability --interactive and it showed many aircraft, so that's ok. But on running fr24feed it somehow knobbles dump1090 and sees no aircraft again.

Next, I purged both fr24feed and dump1090-mutability and reinstalled each. Same thing, no aircraft. So I purged them again and purged lighttpd as well for good measure. And started from scratch.

apt install lighttpd
apt install dump1090-mutability - and select Yes to run at boot
lightly-enable-mod dump1090
service lighttpd force-reload
dpkg-reconfigure dump1090-mutability - and set the latitude and longitude and other options, mostly choosing the defaults

Then I installed fr24feed from the .deb again and enabled it. Editing /etc/fr24feed.ini I changed this to use the beast local port - previously it just used dvbd:

receiver="beast-tcp"
host="127.0.0.1:30005"
fr24key="..."
bs="no"
raw="no"
mlat="yes"
mlat-without-gps="yes"

Then running fr24feed made it all work again. I am waiting for the stats on the flightradar24 status page to update but it is seeing aircraft out to 150 miles. The preamp is not yet back in circuit so that will get better.

Why the software decided to fail is unknown. Note that it took a bit of searching to figure all of the above out, in particular information found at https://forum.flightradar24.com/forum/radar-forums/flightradar24-feeding-data-to-flightradar24/12105-how-to-set-up-a-feeder-using-64-bit-ubuntu-linux-on-intel-platform/page4