For Pi2 / Pi3 and Raspbian STRETCH with dump1090-fa/dump1090-mutability add-on
Step-1:
Make a new directory
sudo mkdir mm2
Step-2 :
Download modesmixer2 file
sudo wget -O mm2/modesmixer2_rpi2-3_deb9_20170924.tgz "https://www.dropbox.com/s/vzuviwuy0610tu5/modesmixer2_rpi2-3_deb9_20170924.tgz?dl=1"
Step-3 :
Move to folder mm2 which contains downloaded file
cd mm2
Step-4 :
Extract downloaded file
sudo tar xvzf modesmixer2_rpi2-3_deb9_20170924.tgz
Step-5 :
Create a blank file mm2.sh
sudo nano mm2.sh
Step-7 :
Copy paste following code into the blank file, then Save (Ctrl+o), then close file (Ctrl+x).
Note: Replace xx.xxx:yy.yyyy
in last line by your actual latitude and longitude.
/home/pi/mm2/modesmixer2 \
--inConnectId 127.0.0.1:30005:ADSB \
--inConnectId 127.0.0.1:30105:MLAT \
--web 8787 \
--location xx.xxxx:yy.yyyy \
Step-8 :
Make file executeable
sudo chmod +x mm2.sh
Step-9 :
Test
./mm2.sh & disown
Step-10 :
Make modesmixer2 to auto start at boot/reboot
10(a) Open file rc.local for editing
sudo nano /etc/rc.local
10(b) Add following line just above the last, single-worded line (i.e. above exit0)
/home/pi/mm2/mm2.sh &
10( c ) Save (Ctrl+o) and close file (Ctrl+x)
Now the ModeSMixer2 will automatically start at Boot / Reboot.
STEP-11:
Go to page ip-of-pi:8787. This will show Charts. To see map, Click item Map on menu bar.
On map, you will see range plot being built, like VRS.
On map, the MLAT planes are shown green, and ADS-B planes are shown white.
[/quote]