Run sudo apt update and say yes when it asks you to confirm the Suite change.
Then retry the piaware upgrade.
(This is not a problem specific to PiAware; it’s a problem caused by an upstream change in Raspbian/Debian that affects all buster installs that didn’t get an update done between April-August. We put a workaround in place for PiAware sdcard installs, but we can’t do the same for installs from other images)
This is mine on my second receiver (indoor with 5dBi Antenna):
Sep 10 05:09:30 Raspi3 dump1090-fa[18826]: adaptive: changing gain from 58.6dB (step 29) to 49.6dB (step 28) because: probing dynamic range gain lower bound
Sep 10 05:09:30 Raspi3 dump1090-fa[18826]: rtlsdr: tuner gain set to 49.6 dB (gain step 28)
Sep 10 05:09:40 Raspi3 dump1090-fa[18826]: adaptive: available dynamic range (37.1dB) >= required dynamic range (30.0dB), stopping downwards scan here
Sep 10 06:09:40 Raspi3 dump1090-fa[18826]: adaptive: start periodic scan for acceptable dynamic range at increased gain
Sep 10 06:09:40 Raspi3 dump1090-fa[18826]: adaptive: changing gain from 49.6dB (step 28) to 58.6dB (step 29) because: periodic re-probing of dynamic range ga
Sep 10 06:09:40 Raspi3 dump1090-fa[18826]: rtlsdr: tuner gain set to about 58.6 dB (gain step 29) (tuner AGC enabled)
Sep 10 06:09:50 Raspi3 dump1090-fa[18826]: adaptive: available dynamic range (26.6dB) < required dynamic range (30.0dB), switching to downward scan
Sep 10 06:09:50 Raspi3 dump1090-fa[18826]: adaptive: changing gain from 58.6dB (step 29) to 49.6dB (step 28) because: probing dynamic range gain lower bound
Sep 10 06:09:50 Raspi3 dump1090-fa[18826]: rtlsdr: tuner gain set to 49.6 dB (gain step 28)
Sep 10 06:10:00 Raspi3 dump1090-fa[18826]: adaptive: available dynamic range (37.1dB) >= required dynamic range (30.0dB), stopping downwards scan here
Dynamic range will probe once on startup and then re-probe once an hour, or immediately if the noise floor increases substantially. While probing it changes gain around once every 10 seconds.
My RF knowledge is fairly limited, and the adaptive gain feature got me curious. What is the reason an AGC isn’t used in the piaware systems (or are they in the blue/orange sticks)? Could an AGC provide better performance (in terms of number of signals received) than the software autogain?
The hardware AGC is designed to work with a constant signal source, as would be the case with a radio station or TV station where there is a single transmitter and constant signal strength.
ADS-B is quite different in that it is the reception of many very short signals from disparate transmitters all at different ranges with different signal strengths. The hardware AGC can’t cope with that, so a software solution is needed.
sudo apt update
sudo apt upgrade
Run the update again from the flightfeeder page.
It’s looking to an old directory in the depository.
The commands will update your installation and point to the current directory
Thanks, no luck yet. Update request complete, but also " [2021-09-11 15:50 CEST] skipping action piaware " in the log. Maybe clean install,would do you think?
2021-09-11 15:50 CEST] performing manual update, action: piaware
[2021-09-11 15:50 CEST] *** running command ‘/usr/lib/piaware/helpers/run-apt-get update’ and logging output
[2021-09-11 15:50 CEST] run-apt-get(27167): Hit:1 Index of /debian buster InRelease
[2021-09-11 15:50 CEST] run-apt-get(27167): Get:3 Index of /raspbian buster InRelease [15.0 kB]
[2021-09-11 15:50 CEST] run-apt-get(27167): Hit:4 http://flightaware.com/adsb/piaware/files/packages buster InRelease
[2021-09-11 15:50 CEST] run-apt-get(27167): Reading package lists…
[2021-09-11 15:50 CEST] update request complete
[2021-09-11 15:50 CEST] child process 27167 exited with status EXIT 100
[2021-09-11 15:50 CEST] skipping action piaware
[2021-09-11 15:51 CEST] 1677827 msgs recv’d from dump1090-fa (1017 in last 5m); 1677545 msgs sent to FlightAware
[2021-09-11 16:05 CEST] mlat-client(5147): Receiver: 384.3 msg/s received 66.3 msg/s processed (17%)
[2021-09-11 16:05 CEST] mlat-client(5147): Receiver status: connected
[2021-09-11 16:05 CEST] mlat-client(5147): Server: 0.2 kB/s from server 0.0kB/s TCP to server 0.7kB/s UDP to server
[2021-09-11 16:06 CEST] 1681006 msgs recv’d from dump1090-fa (1104 in last 5m); 1680724 msgs sent to FlightAware
I just installed PiAware 6.0 (as packages) on Raspian last weekend. I believe I had everything stable and stuck it up the loft on Thursday. I’d a day and half with it working well until I updated the packages (apt upgrade) to 6.1. After a reboot (I’d noticed the web interface was still showing 6.0), I’m not getting any messages.
Did I miss something by doing the apt upgrade?
I’m wondering if “no supported tuner found” is a clue (and why it’s not found when it was working fine!). It won’t have been physically disturbed. It’s a FlightAware Pro USB … I’ll pull it apart and replug it when I get home.
Using device 0: Generic RTL2832U
No supported tuner found
Enabled direct sampling mode, input 1
Supported gain values (1): 0.0
Sampling at 2048000 S/s.
No E4000 tuner found, aborting.
Hi Guus,
Are you using the Piaware SD card image or the packages on top of Raspbian
If you use the Piaware image I would recommend to create a new image on a SD card and import your settings over by one of teh steps below
4 - Configure Station ID
Alternative-1:
Get a brand new station number & feeder id
Log-in to your Flightaware account, go to this page and follow instructions to claim a new station https://flightaware.com/adsb/piaware/claim
Alternative-2:
Configure an Existing Station
(a) - Find existing station’s feeder-id (Unique Identifier)
Log-in to your Flightaware account, go to “My ADSB” / stats page flightaware.com/adsb/stats/user/ ,
and look for 32-digit Unique Identifier: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
If you use the package installation you can so some addtional steps.
Checkout this excellent post bij abcd567 in performing a manual update/upgrade.
execute step 1,2 and 3.
These will reinstall the packages without overwriting your existing settings.
In step 2 allow the update your dump1090-fa config file in order to get the new functionality in the config.
After reboot you can edit the config file to enable adaptive gain by setting the parameter dynamic active range from no to yes
After the modification you need to restart dump1090-fa to activate the dynamic gain
sudo systemctl restart dump1090-fa is the command to do this.
The you can proceed with step 3 if you want to have Piawareweb installed/updated as well.
Please run sudo apt updatefrom a shell (ssh, or keyboard/monitor directly connected) and confirm the suite change when prompted. Then re-run the piaware upgrade. This is a problem with the base OS packages, not with piaware; you need to fix the base packages before the piaware upgrade will work.
Just to circle back on my issues. I checked all the connections and tried physically rebooting by removing the power cable, and the device was no longer visible on my network at all, but it appears to be booting fine (LED flashes). I’ve put the sd card into a different Pi (and old Pi2) with a wired connection and it works fine and the rtlsdr stick is detected.
So either my Pi Zero W has an issue with the wireless, or something in the update has broken the wireless setup on it. I don’t have a mini HDMI connector so I can see what the display is outputting. Are there any logs I can look at if I boot and pull the card?
There weren’t any changes to piaware sdcard wifi handling between 5.0 and 6.0.
Given your previous problems where the dongle wouldn’t even enumerate on the USB bus (but the dongle hardware is apparently OK) it could be a power or hardware issue with the Zero W itself.
Thanks, got a replacement and it’s working fine (a dodgy receiver might explain some of the unreliable behaviour which I’d assumed was just a placement issue when setting it up and playing with it)