diff --git a/dmr_install b/dmr_install new file mode 100755 index 0000000..61f4223 --- /dev/null +++ b/dmr_install @@ -0,0 +1,56 @@ +#! /bin/sh + +################################################# +# # +# Create directory structure for DMRlink # +# # +################################################# + +# Minor updates to DIAL +rm /etc/asterisk/firsttime +cd /etc/asterisk/ +wget https://github.com/N4IRS/AllStar/raw/master/configs/dnsmgr.conf +wget https://github.com/N4IRS/AllStar/raw/master/configs/modules.conf + +# Checkout DMRlink and put it in /opt +cd /srv +git clone https://github.com/N4IRS/DMRlink +cd /srv/DMRlink/ +./mk_dmrlink + +# setup boot for DV3000 +cd /srv +systemctl stop getty@ttyAMA0.service +systemctl disable getty@ttyAMA0.service +apt-get install -y sudo + +# Setup WiringPi +git clone git://git.drogon.net/wiringPi +cd wiringPi/ +./build +cd .. + +# Setup AMBEserverGPIO +git clone https://github.com/dl5di/OpenDV.git +mv OpenDV/DummyRepeater/DV3000 DV3000 +rm -rf OpenDV +cd DV3000/ +make clean +make +make install +make init-install +python AMBEtest3.py +cd /etc/init.d +update-rc.d AMBEserverGPIO start 50 2 3 4 5 + +# Setup DMRGateway +cd /srv +git clone https://github.com/N4IRS/DMRGateway.git +cd DMRGateway/ +# ./install.sh +cp config.txt /boot +cp cmdline.txt /boot + +# reboot + + diff --git a/get_ids.sh b/get_ids.sh index 20c1b9d..e8984cd 100644 --- a/get_ids.sh +++ b/get_ids.sh @@ -1,3 +1,11 @@ +#! /bin/sh + +################################################# +# # +# Create directory structure for DMRlink # +# # +################################################# + # To provide more readable output from DMRlink with current subscriber and repeater IDs, we download the CSV files from DMR-MARC # If you are going to use this in a cron task, don't run it more then once a day. # It might be good to find alternale a source as a backup.