Last update: August 13, 2019
If you dont want to run Windows/Mac computer to generate coverage map, you can still generate VRS-like coverage plot, as well as Charts right in RPi by running modeSMixer2 on your RPi.
You have two options:
(1) Automated install (2) Manual Install
(1) AUTOMATED INSTALL: Very Easy
Automated Install Script at Github updated on Feb 23, 2021
ModeSMixer2 installation script for RPi 2/3/4, Raspbian Stretch/Buster
Copy-paste following command in SSH console and press Enter key. The script will install and configure modesmixer2.
For detailed instructions & guide, please visit this page:
https://github.com/abcd567a/mm2/blob/master/README.md
(2) MANUAL INSTALL:Good for learning.
STEP-1:
In Pi, create a new folder mm2, and move to new folder
STEP-2:
Go to following page:
At top you will find ModeSDeco2 ❌. Ignore it, you dont need it.
Scroll down till you see ModeSMixer2 ✔. This is what you need.
Scroll down a little further till you see ARM sign
ARM.jpg
On Windows/Mac Desktop/Laptop, download one of the following which matches your OS:
For Raspberry Pi 2/3 Jessie
modesmixer2_rpi2-3_deb8_20190223.tgz
OR
For Raspberry Pi 2/3 Stretch & Buster
modesmixer2_rpi2-3_deb9_20190223.tgz
Note: If you have full version of Raspbian with GUI/Browser, you can directly download ModeSMixer2 file to Pi using Pi's Browser. You will need to connect a monitor, keyboard and mouse to Pi to do this. You will then not need Step-3 and Step-4, and after download, should go to Step-5 directly.
STEP-3:
On Windows / Mac computer, download and install file transfer App Filezilla.
STEP-4:
Using Filezilla, upload from Windows/Mac computer, to Pi's folder mm2, the downloaded file
modesmixer2_rpi2-3_deb8_20190223.tgz
OR
modesmixer2_rpi2-3_deb9_20190223.tgz
ALTERNATIVE TO STEPS 1 to 4.
For Stretch and Buster
Download the modesmixer2 file from Google drive to RPi directly in folder /home/pi/mm2/.
STEP-5:
Unzip the downloaded file
STEP-6:
Inside folder mm2, create a new file `mm2.sh`
Copy-paste following text to blank file
In above code, replace xx.xxxx by your latitude, and yy.yyyy by your longitude
Alternatively, instead of above text, copy-paste following text to file mm2.sh.
This text is broken into parts for ease of viewing/editing. It works OK even in this split form.
STEP-7:
Make file mm2.sh executeable
STEP-8:
To MANUALLY start modeSMixer2:
Exit terminal.
The script will keep running even after closing the terminal due to & disown in the above command.
You can stop it by reboot, or by command:
STEP-9:
To Automatically Start ModeSMixer2 at BOOT / REBOOT
Open file rc.local for editing
Add following line just above the last, single-worded line (i.e. above exit0)
/home/pi/mm2/mm2.sh &
Save (Ctrl+o) and close file (Ctrl+x)
Now the ModeSMixer2 will automatically start at Boot / Reboot.
STEP-10:
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.
.
.
MAP WITH VRS-LIKE COVERAGE PLOT
.
.
CHARTS
If you dont want to run Windows/Mac computer to generate coverage map, you can still generate VRS-like coverage plot, as well as Charts right in RPi by running modeSMixer2 on your RPi.
You have two options:
(1) Automated install (2) Manual Install
(1) AUTOMATED INSTALL: Very Easy
Automated Install Script at Github updated on Feb 23, 2021
ModeSMixer2 installation script for RPi 2/3/4, Raspbian Stretch/Buster
Copy-paste following command in SSH console and press Enter key. The script will install and configure modesmixer2.
Code:
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/mm2/master/install-mm2.sh)"
https://github.com/abcd567a/mm2/blob/master/README.md
(2) MANUAL INSTALL:Good for learning.
STEP-1:
In Pi, create a new folder mm2, and move to new folder
Code:
sudo mkdir mm2 #Move to new folder cd mm2
STEP-2:
Go to following page:
At top you will find ModeSDeco2 ❌. Ignore it, you dont need it.
Scroll down till you see ModeSMixer2 ✔. This is what you need.
Scroll down a little further till you see ARM sign
ARM.jpg
On Windows/Mac Desktop/Laptop, download one of the following which matches your OS:
For Raspberry Pi 2/3 Jessie
modesmixer2_rpi2-3_deb8_20190223.tgz
OR
For Raspberry Pi 2/3 Stretch & Buster
modesmixer2_rpi2-3_deb9_20190223.tgz
Note: If you have full version of Raspbian with GUI/Browser, you can directly download ModeSMixer2 file to Pi using Pi's Browser. You will need to connect a monitor, keyboard and mouse to Pi to do this. You will then not need Step-3 and Step-4, and after download, should go to Step-5 directly.
STEP-3:
On Windows / Mac computer, download and install file transfer App Filezilla.
STEP-4:
Using Filezilla, upload from Windows/Mac computer, to Pi's folder mm2, the downloaded file
modesmixer2_rpi2-3_deb8_20190223.tgz
OR
modesmixer2_rpi2-3_deb9_20190223.tgz
ALTERNATIVE TO STEPS 1 to 4.
For Stretch and Buster
Download the modesmixer2 file from Google drive to RPi directly in folder /home/pi/mm2/.
Code:
sudo wget -O /home/pi/mm2/modesmixer2_rpi2-3_deb9_20190223.tgz "https://drive.google.com/uc?export=download&id=18DjTxitzZj9RsVPxt7lmnptfL5eZqHxJ"
Unzip the downloaded file
Code:
#Move to folder mm2 cd mm2 #Give one of the following 2 commands according to the file you have downloaded #For JESSIE sudo tar xvzf modesmixer2_rpi2-3_deb8_20190223.tgz #FOR STRETCH/BUSTER sudo tar xvzf modesmixer2_rpi2-3_deb9_20190223.tgz
Inside folder mm2, create a new file `mm2.sh`
Code:
#Move to folder mm2 cd mm2 #Create new blank file mm2.sh sudo nano mm2.sh
Code:
#!/bin/sh cd /home/pi/mm2 ./modesmixer2 --inConnectId 127.0.0.1:30005:ADS-B --inConnectId 127.0.0.1:30106:MLAT --web 8787 --location xx.xxxx:yy.yyyy
Alternatively, instead of above text, copy-paste following text to file mm2.sh.
This text is broken into parts for ease of viewing/editing. It works OK even in this split form.
Code:
/home/pi/mm2/modesmixer2 \ --inConnectId 127.0.0.1:30005:ADS-B \ --inConnectId 127.0.0.1:30105:MLAT \ --web 8787 \ --location xx.xxxx:yy.yyyy \
Make file mm2.sh executeable
Code:
cd mm2 sudo chmod +x mm2.sh
To MANUALLY start modeSMixer2:
Code:
cd mm2 ./mm2.sh & disown
The script will keep running even after closing the terminal due to & disown in the above command.
You can stop it by reboot, or by command:
Code:
sudo killall modesmixer2
STEP-9:
To Automatically Start ModeSMixer2 at BOOT / REBOOT
Open file rc.local for editing
Code:
sudo nano /etc/rc.local
/home/pi/mm2/mm2.sh &
Save (Ctrl+o) and close file (Ctrl+x)
Now the ModeSMixer2 will automatically start at Boot / Reboot.
STEP-10:
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.
.
.
MAP WITH VRS-LIKE COVERAGE PLOT
.
.
CHARTS
Comment