Skip to content
/ ad2 Public
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

Milirey/ad2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

ad2

AcarSDeco2 installation script for MacOS


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

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/milirey/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
     http:https://MacBook-ip:8686

(2) To view/edit configuration, open config file by following command:
     sudo nano /usr/local/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:
          launchctl start service.ad2

To see status launchctl status service.ad2
To restart    launchctl start service.ad2
To stop       launchctl stop service.ad2

CONFIGURATION

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

Default contents of config file
Default setting 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/local/ad2
./acarsdeco2 --help

UNINSTALL

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

launchctl stop service.ad2 
launchctl disable service.ad2 
sudo rm ~/library/launchagents/service.ad2.plist 
sudo rm -rf /usr/local/ad2 

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%