Skip to content
/ md2 Public

ModeSDecoder2 installation script for RPi 2/3/4 and Raspbian Stretch/Buster

Notifications You must be signed in to change notification settings

abcd567a/md2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

md2

To download
(1) dump1090-win (by Malcolm Robb) for running on Windows PC
(2) ModeSDeco2 for varios OS and architures,
click link below:
https://github.com/abcd567a/md2/releases/tag/v1

ModeSDeco2 installation scripts

(1) FOR RPi 2/3/4 and Raspberry Pi OS Stretch/Buster/Bullseye/Bookworm
Copy-paste following command in SSH console and press Enter key. The script will install and configure modesdecoder2.

sudo bash -c "$(wget -O - https://github.com/abcd567a/md2/raw/master/install-md2.sh)"

(2) FOR
UBUNTU 18, 20, 22, & 24 on x86_64 / amd64 PC
DEBIAN 9, 10, 11, 12, and 13 on x86_64 / amd64 PC

Copy-paste following command in SSH console and press Enter key. The script will install and configure modesdecoder2.

sudo bash -c "$(wget -O - https://github.com/abcd567a/md2/raw/master/install-md2-ubuntu-debian.sh)"

After script finishes, it displays following message


INSTALLATION COMPLETED
=======================
PLEASE DO FOLLOWING:
=======================
(1) In your browser, go to web interface at http://ip-of-pi:8585

(2) Open file md2.conf for editing by following command:

sudo nano /usr/share/md2/md2.conf

Add following line:

--location xx.xxxx:yy.yyyy

(Replace xx.xxxx and yy.yyyy
by your actual latitude and longitude)

After entering location, Save (Ctrl+o) and Close (Ctrl+x) file md2.conf
then restart md2 by following command:

sudo systemctl restart md2


To see status sudo systemctl status md2
To restart    sudo systemctl restart md2
To stop       sudo systemctl stop md2

CONFIGURATION

The configuration file can be edited by following command;
sudo nano /usr/share/md2/md2.conf

Default contents of config file
This can be changed by editing config file
You can add extra arguments, one per line starting with --

--beast 30005
--msg 30003
--web 8585


To see all config parameters

cd /usr/share/md2
./modesdeco2 --help

UNINSTALL

To completely remove configuration and all files, give following 5 commands:

sudo systemctl stop md2 
sudo systemctl disable md2 
sudo rm /lib/systemd/system/md2.service 
sudo rm -rf /usr/share/md2 
sudo rm /usr/bin/modesdeco2  
sudo userdel md2  

About

ModeSDecoder2 installation script for RPi 2/3/4 and Raspbian Stretch/Buster

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages