Re: Switch Between BM and TGIF


Eddie
 

Wow fantastic work gentlemen, will look for everyone on TGIF soon.

Vy 73-Eddie, KQ6K 

On Tue, Nov 26, 2019 at 9:16 PM Ke4tlc <ke4tlc@...> wrote:

 

Thanks for the efforts of Jeff Lehman N8ACL, Dion Brown KE4TLC, and Jim Lathan W4JLP

 

Files located in /opt/MMDVM_Bridge

MMDVM_Bridge.ini

MMDVM_Bridge_BM.ini ß Brand Meister (copy of original MMDVM_Bridge.ini)

MMDVM_Bridge_TGIF.ini ß TGIF (copy of original MMDVM_Bridge.ini and change under section [DMR Network] Address=84.232.5.113 to Address=tgif.network, save file and close.

 

Scripts: Create these file in the /opt/Analog_Bridge

BM_chng.sh ß Changes MMDVM Bridge to Brand Meister

TGIF_chng.shß Changes MMDVM Bridge to TGIF

 

BM_chng.sh

#! /bin/bash

cp /opt/MMDVM_Bridge/MMDVM_Bridge_BM.ini  /opt/MMDVM_Bridge/MMDVM_Bridge.ini

service mmdvmb restart

 

TGIF_Chng.sh

#! /bin/bash

cp /opt/MMDVM_Bridge/MMDVM_Bridge_TGIF.ini  /opt/MMDVM_Bridge/MMDVM_Bridge.ini

service mmdvmb restart

 

Change Mod of BM_chng.sh and TGIF_chng.sh

                chmod 755 /opt/MMDVM_Bridge/BM_chng.sh

chmod 755 /opt/MMDVM_Bridge/TGIF_chng.sh

 

Edit /opt/Analog_Bridge/dvsm.ini and add the following macros, see example below:

Note: If you cannot access a keyboard on your device screen, use keypad numbers, i.e. *72.

AB=/opt/Analog_Bridge/BM_chng.sh dmr.ini

AC=/opt/Analog_Bridge/TGIF_chng.sh dmr.ini

 

So to ensure all is applied, restart Raspberry Pi.

Join main@DVSwitch.groups.io to automatically receive all group messages.