Announcing the release of PiAware 6

Successfully installed the Piaware 6 and enabled the autogain option in the config file. However, I checked the autogain log (from wiedehopf’s automatic gain optimization which I installed previously) and it seems that it is still installed. Will it interfere with the new Piaware 6 autogain option? Should it be removed?

To upgrade an existing PiAware, visit your My ADS-B Stats Page , click the gray gear icon, and send the “Upgrade and Restart PiAware” Device Command.

I don’t see any such command when I go to that web page and click on the gray gear icon. Can I not upgrade my FlightFeeder?

I have tried to upgrade from 5.0 but am getting nowhere, except loads of error messages:

[2021-09-03 20:24 BST] run-apt-get(9945): Get:1 http://flightaware.com/mirror/raspbian/raspbian buster InRelease [15.0 kB]
[2021-09-03 20:24 BST] manual update (user-initiated via their flightaware control page) requested by adept server
[2021-09-03 20:24 BST] performing manual update, action: piaware
[2021-09-03 20:24 BST] run-apt-get(9945): Get:3 http://flightaware.com/mirror/raspberrypi/debian buster InRelease [32.6 kB]
[2021-09-03 20:24 BST] run-apt-get(9945): Get:4 http://flightaware.com/mirror/raspbian/raspbian buster/main armhf Packages [13.0 MB]
[2021-09-03 20:24 BST] run-apt-get(9945): Get:5 http://flightaware.com/mirror/raspbian/raspbian buster/contrib armhf Packages [58.7 kB]
[2021-09-03 20:24 BST] run-apt-get(9945): Get:6 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf Packages [7,726 B]
[2021-09-03 20:25 BST] run-apt-get(9945): Fetched 13.5 MB in 13s (1,050 kB/s)
[2021-09-03 20:25 BST] run-apt-get(9945): E: Problem parsing dependency 21
[2021-09-03 20:25 BST] run-apt-get(9945): E: The package lists or status file could not be parsed or opened.
[2021-09-03 20:25 BST] run-apt-get(9945): E: Error occurred while processing angband-audio (NewVersion2)
[2021-09-03 20:25 BST] update request complete
[2021-09-03 20:25 BST] run-apt-get(9945): E: Problem with MergeList /var/lib/apt/lists/flightaware.com_mirror_raspbian_raspbian_dists_buster_non-free_binary-armhf_Packages
[2021-09-03 20:26 BST] 16548686 msgs recv’d from dump1090-fa (1424 in last 5m); 14115628 msgs sent to FlightAware
[2021-09-03 20:28 BST] performing manual update, action: piaware
[2021-09-03 20:28 BST] *** running command ‘/usr/lib/piaware/helpers/run-apt-get update’ and logging output
[2021-09-03 20:28 BST] run-apt-get(10142): Hit:1 http://flightaware.com/mirror/raspbian/raspbian buster InRelease
[2021-09-03 20:28 BST] run-apt-get(10142): Hit:2 http://flightaware.com/adsb/piaware/files/packages buster InRelease
[2021-09-03 20:28 BST] run-apt-get(10142): Hit:3 http://flightaware.com/mirror/raspberrypi/debian buster InRelease
[2021-09-03 20:28 BST] run-apt-get(10142): E: Problem parsing dependency 21
[2021-09-03 20:28 BST] run-apt-get(10142): E: Problem with MergeList /var/lib/apt/lists/flightaware.com_mirror_raspbian_raspbian_dists_buster_non-free_binary-armhf_Packages
[2021-09-03 20:28 BST] run-apt-get(10142): Reading package lists…
[2021-09-03 20:28 BST] run-apt-get(10142): E: The package lists or status file could not be parsed or opened.
[2021-09-03 20:28 BST] skipping action piaware
[2021-09-03 20:28 BST] run-apt-get(10142): E: Error occurred while processing angband-audio (NewVersion2)
[2021-09-03 20:28 BST] update request complete
[2021-09-03 20:28 BST] child process 10142 exited with status EXIT 100
[2021-09-03 20:31 BST] 16550081 msgs recv’d from dump1090-fa (1395 in last 5m); 14117023 msgs sent to FlightAware
[2021-09-03 20:32 BST] *** running command ‘/usr/lib/piaware/helpers/run-apt-get update’ and logging output
[2021-09-03 20:32 BST] performing manual update, action: dump1090 restart_piaware
[2021-09-03 20:32 BST] manual update (user-initiated via their flightaware control page) requested by adept server
[2021-09-03 20:32 BST] run-apt-get(10336): Hit:2 http://flightaware.com/adsb/piaware/files/packages buster InRelease
[2021-09-03 20:32 BST] run-apt-get(10336): Hit:3 http://flightaware.com/mirror/raspberrypi/debian buster InRelease
[2021-09-03 20:32 BST] child process 10336 exited with status EXIT 100
[2021-09-03 20:32 BST] skipping action restart_piaware
[2021-09-03 20:32 BST] skipping action dump1090
[2021-09-03 20:32 BST] update request complete
[2021-09-03 20:32 BST] run-apt-get(10336): E: Error occurred while processing angband-audio (NewVersion2)
[2021-09-03 20:32 BST] run-apt-get(10336): E: Problem parsing dependency 21
[2021-09-03 20:32 BST] run-apt-get(10336): Reading package lists…
[2021-09-03 20:32 BST] run-apt-get(10336): E: The package lists or status file could not be parsed or opened.

Any help would be appreciated.

Graham

This is a PiAware release, so no. We are working on a corresponding FlightFeeder release. It should be ready in a month or so.

Thanks for the clarification!

Hello Graham.

Try step 1 2 and 3 in this excellent post by abcd567.
This will reinstall straight from the sourcecode and fix the dependencies that seem to be missing at the moment.

CAUTION: Do NOT use these scripts on Piaware SD Card image. It will break your installation.

well I did that and after 5 mins of stuff scrolling by now I cannot putty/ssh to my pi

did it end with the statement reboot computer ?
If so power it off and on again and try again.
When done can you ping the Pi !?

It did 3 times I think in red :slight_smile: So I went to the gui and restared
Power cycle and I am back in thouhg on the json page I do not see adaptive
will keep fingering

This way too complicated for a point and click windows user. Seems like I had to do something years ago to enable ssh. There should be 2 images one for enabled and one not or point it out from the start.
And then i have to hunt for username and password pi/flightaware for putty
cut and paste
ctrl O
Thanks for your quick reply !!
Grey

Hey Grey, good to hear it’s fixed.

You have to enable the adaptive gain manually.
Edit the config file by typing the follwoing command
sudo nano /etc/default/dump1090-fa

change the parameter adaptive dynamic range from no to yes
save the file via Ctrl+x and hitting enter
restart dump1090-fa by using the following command
sudo systemctl restart dump1090-fa

then you will see the adaptive gain in the json page at the bottom
Adaptive gain is disabled for existing installations and enabled for new installations by default

Oh and with the latest version of Rapsbian you can enable ssh prior to boot when imaging an new card :slight_smile:

yea, but I get this will be overwritten thing. It tried to find config.txt from putty but no luck

# Generated automatically by /usr/lib/piaware-support/generate-receiver-config
# This file will be overwritten on reboot.
ENABLED=yes
CONFIG_STYLE=6
RECEIVER=rtlsdr
RECEIVER_SERIAL=0
RECEIVER_GAIN=60
ADAPTIVE_DYNAMIC_RANGE=yes
ADAPTIVE_DYNAMIC_RANGE_TARGET=
ADAPTIVE_BURST=no
ADAPTIVE_MIN_GAIN=
ADAPTIVE_MAX_GAIN=
SLOW_CPU=auto
WISDOM=
ERROR_CORRECTION=yes
RECEIVER_LAT=
RECEIVER_LON=
                               [ Wrote 28 lines ]
^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Text^T To Spell

Seems you are using an Piaware image and not a package install :innocent:

then edit the following file

Sudo nano piaware-config.txt

cap Sudo does not work :slight_smile:
I have tried many variations of sudo nano piaware-config.tx /etc /etc/default and I keep getting new file
yes this is the simplest option/install I have for a pi

Perhaps I need to quit trying to adapt and open etcher

1 Like

I think my device might have the headless image on it. Do I need to reinstall the LCD one for that LCD screen to work or does upgrading to 6.0 on the status page work? Mine is the SD card version.

You’ll need to reinstall the LCD image if you have the supported LCD screen. You can reclaim your existing site on it.

Ver 6.0 - Comments at start of file /etc/default/dump1090-fa

The SD card image comment says that the config file will be over-written on reboot, that means any user made changes will be lost at reboot.

However there is no such restriction in the package install.

SD card image

# Generated automatically by /usr/lib/piaware-support/generate-receiver-config 
# This file will be overwritten on reboot. 
ENABLED=yes
... ... ...
... ... ...

 

Package install

# 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
... ... ...
... ... ...

So you are saying if we follow these instruction we cannot enable the highly promoted adaptive gain?

The “burst” adaptive gain mode seems to be temporary? It says it will be overwritten on reboot.
GNU nano 2.7.4 File: /etc/default/dump1090-fa

Generated automatically by /usr/lib/piaware-support/generate-receiver-config

This file will be overwritten on reboot.

ENABLED=yes
CONFIG_STYLE=6
RECEIVER=rtlsdr
RECEIVER_SERIAL=0
RECEIVER_GAIN=60
ADAPTIVE_DYNAMIC_RANGE=yes
ADAPTIVE_DYNAMIC_RANGE_TARGET=
ADAPTIVE_BURST=yes
ADAPTIVE_MIN_GAIN=
ADAPTIVE_MAX_GAIN=
SLOW_CPU=auto
WISDOM=
[ Read 26 lines ]
^G Get Help ^O Write Out ^W

Can you please pin-point on the page you have linked, the exact steps / parameters / commands to setup Adaptive gain?

1 Like

My Pi3 is not seeing any Aircraft. So, yes it 's broken. See Log.

[2021-09-04 12:32 AEST] restarting piaware. hopefully i’ll be right back…
[2021-09-04 12:32 AEST] run-apt-get(22866): piaware-release is already the newest version.
[2021-09-04 12:32 AEST] update request complete
[2021-09-04 12:32 AEST] upgrade of piaware-release seemed to go OK
[2021-09-04 12:32 AEST] multilateration data no longer required, disabling mlat client
[2021-09-04 12:32 AEST] piaware (process 5641) is exiting…
[2021-09-04 12:32 AEST] attempting to restart piaware using ‘systemctl --no-block try-restart piaware.service < /dev/null’…
[2021-09-04 12:32 AEST] logged in to FlightAware as user Alaware
[2021-09-04 12:32 AEST] my feeder ID is xxxxxxxxxx
[2021-09-04 12:32 AEST] multilateration data requested
[2021-09-04 12:32 AEST] site statistics URL: https://flightaware.com/adsb/stats/user/Alaware#stats-72619
[2021-09-04 12:32 AEST] 0 msgs recv’d from dump1090; 0 msgs sent to FlightAware
[2021-09-04 12:33 AEST] no ADS-B data program is serving on port 30005, not starting multilateration client yet
[2021-09-04 12:34 AEST] no ADS-B data program seen listening on port 30005 for 123 seconds, next check in 60s
[2021-09-04 12:34 AEST] no ADS-B data program is serving on port 30005, not starting multilateration client yet
[2021-09-04 12:35 AEST] no ADS-B data program seen listening on port 30005 for 183 seconds, next check in 60s
[2021-09-04 12:36 AEST] no ADS-B data program seen listening on port 30005 for 243 seconds, next check in 60s
[2021-09-04 12:36 AEST] no ADS-B data program is serving on port 30005, not starting multilateration client yet

I’m headless but have SSH and I’m not good with linax so all of your help is required.
Thanks in advance.