Dual Receiver on Piaware SD Card image (Jessie)/RPi Model2
-
First step was to serialize the Dongles. Assigned serial number
00000000
to one Dongle (for dump1090-fa), and00001001
to other Dongle (for ModeSDeco2).
Put Stickers with their assigned Serial Numbers on both Dongles.How to Change Serial Number of Dongle - ADSB 1090 + UAT 978 Dongles Plugged Into Same Pi
.
-
Downloaded
modesdeco2_rpi2-3_20170127.tgz
from ModeSDecoder2 site on Windows computer, then uploaded to DropBox -
Plugged both Dongles in Pi and rebooted Pi
-
Started installation process
sudo mkdir msd2
#Downloaded file from DropBox to newly created directory msd2
sudo wget -O msd2/modesdeco2_rpi2-3_20170127.tgz "https://www.dropbox.com/s/dwhvl5n8pud2urq/modesdeco2_rpi2-3_20170127.tgz?dl=1"
#moved into directory where downloaded file is saved
cd msd2
#Unzipped downloaded file
sudo tar xvzf modesdeco2_rpi2-3_20170127.tgz
#Created a blank file
sudo nano msd2.sh
Copy-pasted following text into blank file msd2.sh
(replace XX.XXXX:YY.YYYY by your actual Latitude & Longitude)
/home/pi/msd2/modesdeco2 \
--device-serial 1001 \
--gain 49.6 \
--freq-correction 62 \
--location XX.XXXX:YY.YYYY \
--web 8088 \
--metric \
Saved File.
Made file msd2.sh executable
sudo chmod +x msd2.sh
To Automatically start ModeSDeco2 at boot/reboot:
Open file rc.local for editing
sudo nano /etc/rc.local
Add following line just above the last, single-worded line (i.e. above exit0)
/home/pi/msd2/msd2.sh &
Save (Ctrl+o) and close file (Ctrl+x)
Rebooted RPi
sudo reboot
Both the dump1090-fa and ModeSDeco2 started, each one using its designated Dongle. ModeSDeco2 will automatically start at Boot / Reboot.
Dump1090-fa Map
.