Piaware 6 (or latest) with Adaptive Gain Control
The scripts below have been tested to successfully built & install piaware, dump1090-fa, dump978-fa, and piaware-web on following:
(1) PC x86_64: Ubuntu 20 amd 64, Debian 10 amd64, Debian 11 amd64, Kali 2021 amd64
(2) RPi Models 2, 3 & 4: Raspbian Buster (32-bit and 64-bit)
(3) OrangePI PC: Armbian Buster
(4) Raspberry Pi Desktop for PC ( Debian Buster with Raspberry Pi Desktop)
(5) PC x86_64: Arch Linux amd64 (Click Here)
CAUTION: Do NOT use these scripts on Piaware SD Card image. It will break your installation.
IMPORTANT NOTE:
The scripts first run command to update. It may display following notice. Please say yes (press y key). It may ask this more than once, and every time say yes. If you say no, the update will not take place and installation may fail
N: Repository 'https://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.9' to '10.10'
E: Repository 'https://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N]
A Useful Tip
The bash-scripts below save the source-code folder and build .deb
packages in the directory from where bash-scripts are run. After running all these bash-scripts, you will see a large number of folders and built packages in that directory (usually in /home/pi/
or /home/username/
).
This can be avoided and all source-code folders & built packages can be saved in a dedicated directory by first creating a dedicated directory, then moving into that directory, then running the bash-scripts from there:
sudo mkdir Flightaware
#instead of Flightaware, you may choose
#any other name you like
Now every time you want to run any of bash-scripts, first enter the directory Flightaware
(or whatever name you have chosen to create it),
cd Flightaware
Now copy-paste the bash-script in terminal and press Enter key to run the bash-script. All source-code folders and built packages will be saved inside folder “Flightaware”.
Next time when you want to run the bash-scripts again (to rebuilt or to upgrade to a newer version), first move into folder “Flightaware”, and then run the bash-scripts from there.
(1) PIAWARE (latest version)
Copy-paste following script in terminal:
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/piaware.sh)"
(2) DUMP1090-FA (latest version)
Copy-paste following script in terminal:
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/dump1090-fa.sh)"
(3) piaware-web
Copy-paste following script in terminal:
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/install-piaware-web.sh)"
Items (4) (5) & (6) below are for USA only:
(4) DUMP978-FA (latest version)
Copy-paste following script in terminal:
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu20-amd64/master/dump978-fa.sh)"
(5) Serialize 2 dongles (8 digit numbers): 00001090 & 00000978
How-to Serialize Dongles for ES1090 + UAT978
(6) Configure dump1090-fa and dump978-fa to use respective serialized dongles:
Copy-paste following 4 commands in terminal:
SCROLL RIGHT TO SEE & COPY COMMANDS IN FULL
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 piaware-config uat-receiver-type sdr
sudo systemctl restart piaware