So I decided to update and upgrade my RasberryPi running FlightAware Pro Stick USB stick. It looks like the upgrade blew away something that effected the ability of the receiver to detect ADS-B over 5 miles. Before the upgrade I would get data as far as 50+ miles.
As well as I do not see a backup for the old piaware.conf
pi@dragonrx:~ $ ls -ltr /etc/piaware.conf*
-rw-r----- 1 root piaware 388 May 23 2021 /etc/piaware.conf
pi@dragonrx:~ $
Here is the corrent PiAware.conf
# This file configures piaware and related software.
# You can edit it directly or use piaware-config from the command line
# to view and change settings.
#
# If /boot/piaware-config.txt also exists, then settings present in
# that file will override settings in this file.
allow-auto-updates yes # updated by fa_piaware_config
allow-manual-updates yes # updated by fa_piaware_config
And here is the current dump1090-fa config
# dump1090-fa configuration
# This is sourced by /usr/share/dump1090-fa/start-dump1090-fa as a
# shellscript fragment.
# dump1090-fa won't automatically start unless ENABLED=yes
ENABLED=yes
# SDR device type. Use "none" for a net-only configuration
RECEIVER=rtlsdr
# serial number or device index of device to use (only needed if there is more than one SDR connected)
RECEIVER_SERIAL=
# Initial receiver gain, in dB. If adaptive gain is enabled (see below) the actual gain
# may change over time
RECEIVER_GAIN=60
# Adjust gain to try to achieve optimal dynamic range / noise floor?
ADAPTIVE_DYNAMIC_RANGE=yes
# Target dynamic range in dB (leave blank to autoselect based on SDR type)
ADAPTIVE_DYNAMIC_RANGE_TARGET=
# Reduce gain when loud message bursts from nearby aircraft are seen?
ADAPTIVE_BURST=no
# Gain range to allow when changing gain, in dB (empty = no limit)
ADAPTIVE_MIN_GAIN=
ADAPTIVE_MAX_GAIN=
# Turn on options to reduce load on slower CPUs, at the expense of slightly worse decoder performance.
# Setting "auto" will enable these options only if the CPU appears to be a slow CPU (currently this
# means armv6 only, e.g. Pi Zero)
SLOW_CPU=auto
# Local wisdom file used to select DSP implementations; uses built-in ranking if the file is missing
WISDOM=/etc/dump1090-fa/wisdom.local
# Correct CRC errors where possible
ERROR_CORRECTION=yes
# Receiver location, used for some types of position decoding. Provide the location as
# signed decimal degrees. If not given here, dump1090 will also try to read a receiver
# location from /var/cache/piaware/location.env (written automatically by PiAware, if installed)
RECEIVER_LAT=
RECEIVER_LON=
# Maximum range, in NM. Positions more distant than this are ignored. No limit if not set.
MAX_RANGE=360
# Network ports to listen on for connections
NET_RAW_INPUT_PORTS=
NET_RAW_OUTPUT_PORTS=30002
NET_SBS_OUTPUT_PORTS=30003
NET_BEAST_INPUT_PORTS=30004,30104
NET_BEAST_OUTPUT_PORTS=30005
# Accuracy of location written to JSON output
JSON_LOCATION_ACCURACY=1
# Additional options can be added here:
EXTRA_OPTIONS=""
# If OVERRIDE_OPTIONS is set, only those options are used; all other options
# in this config file are ignored.
OVERRIDE_OPTIONS=""
# This is a marker to make it easier for scripts to identify a v6-style config file
CONFIG_STYLE=6
(1) Previous version being 3.8, your OS version sure is one or two steps behind current version (Bullseye).
What is output of following command?
lsb_release -sc
(2) Upgrade from 3.8 to 7.1 is too big a jump, and likely to have problems.
Cleanest, easiest, and long-term solution is to burn a SPARE microSD card with Piaware SD card image ver 7.1, then slip-out old microSD card from Pi, and slip-in the newly written spare one and power up.
That didn’t answer my question. How did you upgrade? Reburned your SD card with the 7.1 image or just changed repositories from Buster to Bullseye then updated?
If you started with the PiAware 3.8 image which was probably Debian Jessie and updated such that it’s now reporting that you have Buster it sounds like the system may be hosed. Best thing is what abc567 said: burn the PiAware 7.1 image to a spare SD card, make a note of your PiAware unique identifier, power off your feeder, swap SD cards, power it back up and configure PiAware for your latitude, longitude, antenna height and unique identifier. That will take care of any surrent operating system or software issues that might be going on.
If you still have poor range after that, check all your coax connections to make sure none have come loose.
Although effort can be made to debug the problem, but even after fixing it, it will never be as clean and long-term solution as reimaging a SPARE microSD card with
Well I think I narrowed it down to it not being an OS/Piaware issue. So I have two NOOELEC 1090 and I had tried switching them out, both gave the same results, hense my suspicion it might be a software issue. However, I decided to try the 978Mhz antennas, just to see, even though they are tuned to the wrong frequency.
Once I did the boards lit up, and now dump1090-fa is tracking 20+ planes. So I guess both of the 1090 antennas went bad, so as a test I dug out a HackRF and threw the Nooelec 1090’s on it, and sure enough barely any signals. Odd, but at the moment using the wrong tuned antennas, I am getting close to what I was getting prior.
I’m still going to upgrade using the SD card method, but just damn odd two lose to antenna at the same time.
Oh well lesson learned, fully test the hardware first.
That sort of thing happens more often than you’d think: a piece of hardware decides to fail just when people are doing an OS update so they naturally think the update is what broke their system rather than suspecting a hardware issue. Glad you got it figured out anyway.