Automated Installation of latest version of piaware, dump1090-fa, piaware-web, and dump978-fa (by building packages from source code), on following OS:
(5) On RPI Model 3 & 4 (32-bit & 64-bit / armv7l & aarch64) Raspberry Pi OS Stretch, Buster, & Bullseye, DietPi OS Stretch, Buster, Bullseye, & Bookworm, Orange Pi Armbian OS Buster Bullseye, Bookworm, Jammy, Ubuntu 18, 20, and 22 for RPi, and Kali 2021 for RPi
IMPORTANT NOTE:
Raspberry Pi OS Bookworm relesed on 2023-10-10 has broken USB on RPi4, but is OK on RPi5.
If you have installed Raspberry Pi OS Bookworm (2023-10-10) on RPi4, then to fix this bug, upgrade it by following commands:
sudo apt update
sudo apt upgrade
sudo reboot
Copy-paste following command in SSH console and press Enter key. The script will install dump1090-fa.
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu-debian-amd64/master/install-dump1090-fa.sh)"
Copy-paste following command in SSH console and press Enter key. The script will install piaware.
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu-debian-amd64/master/install-piaware.sh)"
Copy-paste following command in SSH console and press Enter key. The script will install piaware-web.
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu-debian-amd64/master/install-piaware-web.sh)"
If you want to receive both ES1090 and UAT978, then two dongles are required, one for 1090 MHz and other for 978 MHz.
(4.1) Copy-paste following command in SSH console and press Enter key. The script will install dump978-fa and skyaware978:
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu-debian-amd64/master/install-dump978-fa.sh)"
If you want to receive both ES1090 and UAT978, then two dongles are required, one for 1090 MHz and other for 978 MHz. In this case you will have to serialize dongles so that correct dongle+antenna sets are used by dump1090-fa and dump978-fa.
For 1090 Mhz dongle: use serial # 00001090
For 978 Mhz dongle : use serial # 00000978
(4.1.1) Issue following command to install serialization software:
sudo apt install rtl-sdr
(4.1.2) Unplug ALL DVB-T dongles from RPi
(4.1.3) Plugin only that DVB-T dongle which you want to use for dump1090-fa. All other dongles should be unplugged.
(4.1.4) Issue following command. Say yes when asked for confirmation to chang serial number.
rtl_eeprom -s 00001090
(4.1.5) Unplug 1090 dongle
(4.1.6) Plugin only that DVB-T dongle which you want to use for dump978-fa. All other dongles should be unplugged.
(4.1.7) Issue following command. Say yes when asked for confirmation to chang serial number.
rtl_eeprom -s 00000978
(4.1.8) Unplug 978 dongle
IMPORTANT: After completing above commands, unplug and then replug both dongles.
sudo sed -i 's/^RECEIVER_SERIAL=.*/RECEIVER_SERIAL=00001090/' /etc/default/dump1090-fa
sudo sed -i 's/driver=rtlsdr[^ ]* /driver=rtlsdr,serial=00000978 /' /etc/default/dump978-fa
sudo reboot