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

29 Commits
 
 
 
 

Repository files navigation

md2

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


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)"

After script finishes, it displays following message


INSTALLATION COMPLETED
=======================
PLEASE DO FOLLOWING:
=======================
(1) In your browser, go to web interface at http:https://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

 
 
 

Languages