Procedure Partly Automated
Applies to following posts:
- Rev-1, Piaware SD card image
- Rev-1, Raspbian image + dump1090-fa
- Rev-1, Raspbian image+dump1090-mutability
The Automated Part:
The scripts executes steps 1, 2, & 3 of above posts
sudo apt install git
git clone https://github.com/abcd567a/set-gain.git
In the cloned folder set-gain
, there are 3 files as listed below:
Use the file which applies to your install.
For Piaware SD card image
cd set-gain
./piaware-img.sh
For Raspbian image with dump1090-fa package install
cd set-gain
./raspbian+dump-fa.sh
For Raspbian image with dump1090-mutability package install
cd set-gain
./raspbian+dump-mut.sh
The Manual Part (After running the script as above)
(1) Execute entire STEP-4 of above posts (i.e. edit the file index.html
or gmap.html
).
(2) Execute Step 2.3 of above posts, i.e issue command sudo crontab -e
and in file opened, add the line
@reboot /bin/bash /usr/local/sbin/gain/setgain.sh
(3) Finally, Reboot Pi to implement modifications