Re: Switch Between BM and TGIF


William WY7WL
 
Edited

This might be somewhere else updated, but I wanted to clean up these directions for anyone else..... (from post 5452)

 

Files located in /opt/MMDVM_Bridge

MMDVM_Bridge.ini

MMDVM_Bridge_BM.ini ß Brandmeister (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.
Make sure you update your password for MMDVM_Bridge_TGIF.ini.... TGIF is still passw0rd.. BM requires personal pw now... 

 

Scripts: Create these files in the /opt/Analog_Bridge

BM_chng.sh ß Changes MMDVM Bridge to Brandmeister

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 < replaced with line below 

systemctl restart mmdvm_bridge.service

 

TGIF_Chng.sh < = TGIF_chng.sh

#! /bin/bash

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

service mmdvmb restart < replaced with line below 
systemctl restart mmdvm_bridge.service

 

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

These are pointing to the wrong directory should be:
chmod 755 /opt/Analog_Bridge/BM_chng.sh

chmod 755 /opt/Analog_Bridge/TGIF_chng.sh

 

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

My file was dvsm.macro not dvsm.ini

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

I used these two lines as per Steve's advice earlier in thread 

13 =    /opt/Analog_Bridge/TGIF_chng.sh

 

14 =    /opt/Analog_Bridge/BM_chng.sh

 

So to ensure all is applied, restart Raspberry Pi.

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