PiAware for RPi OS Bookworm

Worked perfect. Thanks! BTW, mentioning that abcd567’s excellent instructions are also at abcd567a/piaware-ubuntu-debian-amd64 (github.com)

1 Like

Glad to know you succeeded.
Which hardware you used, Pi 3, or Pi 4, or Pi 5?

 

This was on a Pi4/8GB. TBH I didn’t bring up the receiver on this system. Yet. Still testing, etc.

I am running my 4 receivers with ver 9.0~dev on Bookworm for over one month without any trouble.

(1) RPi 4, 1GB ram + 64-bit DietPi Bookworm
SITE 5252

(2) OrangePiPC, 1GB ram + 32-bit Armbian Bookworm
SITE 6396

(3) RPi 4, 4GB ram + 64-bit Raspberry Pi OS Bookworm
SITE 76000

(4) H96Max TV Box, CPU RockChip 3318, 4GB ram, 32GB eMMC + 64-bit Armbian Bookworm
SITE 114692

 

1 Like

sweet! To move my existing config to a brand-new from source IMG do I only need /etc/piaware.conf and the dump1090 config from the currently running system?

1 Like

@blsKirkFA
Yes, you are right. Move settings from following files of existing running system to corresponding files of new system:

/etc/piaware.conf
/etc/default/dump1090-fa

(1) The most important setting to be transferred from existing system to new system is feeder-id. I do it by following commands:

sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 
## Replace xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx by actual feeder-id

sudo systemctl restart piaware  

(2) OPTIONAL:

sudo piaware-config allow-manual-updates yes  
sudo piaware-config allow-auto-updates yes  
sudo systemctl restart piaware  

(3) If you have installed dump978-fa (UAT) also, then transfer the dump1090-fa and dump978-fa dongle’s serial numbers from existing running system’s files /etc/default/dump1090-fa and /etc/default/dump978-fa to the corresponding files of new system.

(4) If you have changed gain settings in current system, then transfer these also from existing systems file /etc/default/dump1090-fa to new system’s corresponding file.

 

1 Like

Today successfully installed in one of my Rpi 3+ V1.3. Thanks abcd567 for your help. I am very excited :smiley::smiley::smiley:

1 Like

I am trying to install on bookworm 32 bit on RPI4.

Am I missing something?

Updating
Hit:1 Index of /debian bookworm InRelease
Hit:2 Index of /raspbian bookworm InRelease
Ign:3 http://www.flightaware.com/adsb/piaware/files/packages bookworm InRelease
Err:4 http://www.flightaware.com/adsb/piaware/files/packages bookworm Release
404 Not Found [IP: 104.18.39.201 80]
Reading package lists… Done
W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: The repository ‘http://flightaware.com/adsb/piaware/files/packages bookworm Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
[ERROR] Error in line 8 when executing: sudo apt update

What method you are using to install piaware and dump1090-fa?

You have added flightaware repository to your Bookworm OS.

Issue following command to remove flightaware repository from Bookworm OS, as Flightaware repository do NOT (yet) have packages for Bookworm, and that is why error messages are appearing.

sudo dpkg --purge flightaware-apt-repository  

sudo apt update    

 

I was using the instructions in your post 17 in this thread on bookworm 32bit lite
As a test I switched to 64bit lite and this seems to work (install still running).

Problem was NOT 32-bit or 64-bit.
The error messages during update by install script were caused because you have added flightaware repository by following commands:

wget https://www.flightaware.com/adsb/piaware/files/packages/pool/piaware/f/flightaware-apt-repository/flightaware-apt-repository_1.1_all.deb

sudo dpkg -i flightaware-apt-repository_1.1_all.deb

 

You should have first removed flightaware repository by following command, then run the install script in post 17

sudo dpkg --purge flightaware-apt-repository  

Install done and the system is up and running with my Airspy.

1 Like

:+1: Congratulations

@obj @eric1tran

UPDATE Nov 08, 2023: Just now reimaged a spare microSD card with RaspberryPi OS Bookworm (2023-10-10), and found that now there is no need to do kernell upgrade by command sudo rpi-update. It seems RPi OS Developers have released some patch to fix broken USB on Pi4, and this patch can be applied by following commands: :slightly_smiling_face:

sudo apt update  
sudo apt upgrade    
sudo reboot  

Above noted re-imaging+upgrading was done on following receiver (now running OK)
https://www.flightaware.com/adsb/stats/user/abcd567#stats-76000

 

BEFORE sudo apt upgrade:

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.0-rpi4-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.54-1+rpt2 (2023-10-05) aarch64 GNU/Linux

 

AFTER sudo apt upgrade:

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.0-rpi6-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux

 

Click on Screenshot to See Larger Size

 

Correct, the new kernel package made it into the apt repo. It’s not in the base image yet though, so you do need to do that package update after installing.

2 Likes

Points for discussion: Piaware on Raspberry Pi OS Bookworm (2023-10-10)

(1) Due to broken USB on Pi4 in RPi OS Bookworm (2023-10-10), most likely Flightaware will not release their packages for Bookworm till Raspberry Pi Foundation releases new image with updated kernel which does not have broken USB on Pi4.

(2) For those who are reluctant to do “sudo rpi-update” considering it unsafe, should know that this fix is no more required. The new kernel package has made it into the apt repo and can be installed by following commands:

sudo apt update  
sudo apt upgrade  
sudo reboot  

.
(3) Although building and installing piaware & dump1090-fa packages from source-code lacks Flightaware support, but this will be only interim situation. When Flightaware releases their packages, the user-built packages can be replaced by Flightaware supplied packages from repository.

The user-built packages can very easily be completely removed (i.e. uninstalled + delete all associated files & folders, and configurations) by following commands:

sudo dpkg --purge piaware  
sudo dpkg --purge dump1090-fa
sudo reboot  

Once user-built packages are purged as above, the Flightaware supplied packages can be installed from repository as per the method given at Flightaware site.

 

 

3 Likes

Based on previous releases, new OS images aren’t released often so is it safe to say we won’t be seeing a new Flightaware package for a few months?

I’m sticking to Bullseye on both my receivers for now.

New packages should be out (formally) in a few hours – there will be an announcement post.

(Depending on what cloudflare’s cache decides to do, you might even see them now)

3 Likes

I’m on a Bullseye SD card image (no Bookworm here) and was offered up v9.0 Piaware yesterday via a standard apt update/upgrade. Guess it was released a bit ahead of an official annoucement.