Skip to content
forked from abcd567a/ad2

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

Notifications You must be signed in to change notification settings

cyberkingkong/ad2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

ad2

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


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

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


After script completes installation, it displays following message

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

(2) To view/edit configuration, open config file by following command:
     sudo nano /usr/share/ad2/ad2.conf

    (a) Default value of gain is auto
        To use another value of gain, add following NEW LINE
        (replace xx by desired value of gain)
          --gain xx
    (b) Default value of frequency correction is 0
        To use a different value, add following NEW LINE
        (replace xx by desired frequency correction in PPM)
          --freq-correction xx

    Save (Ctrl+o) and Close (Ctrl+x) the file
    then restart ad2 by following command:
          sudo systemctl restart ad2

To see status sudo systemctl status ad2
To restart    sudo systemctl restart ad2
To stop       sudo systemctl stop ad2

CONFIGURATION

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

Default contents of config file
Default setting are are bare minimum.
You can add extra arguments, one per line starting with --


--freq 131550000
--freq 131725000
--http-port 8686


To see all config parameters

cd /usr/share/ad2
./acarsdeco2 --help

UNINSTALL

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

sudo systemctl stop ad2 
sudo systemctl disable ad2 
sudo rm /lib/systemd/system/ad2.service 
sudo rm -rf /usr/share/ad2 

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%