Date   

Re: Bridge

Joshua Johnson - KC5JMJ
 

ok i see on the dashboard now when i key dmr it says tx p25 but no audio so i did get that far


Re: Bridge

Steve N4IRS
 

Watch the logs as you transmit on one side of the bridge, follow the data through the bridge.

On 12/28/20 9:24 PM, ibjosh1985@... wrote:
ok it shows the linked but no audio passing and when keying up p25 it does not show up in the dashboard


Re: Bridge

Joshua Johnson - KC5JMJ
 

ok it shows the linked but no audio passing and when keying up p25 it does not show up in the dashboard


Re: Bridge

Steve N4IRS
 

Yes,
The services read the config files at boot.

On 12/28/20 9:00 PM, ibjosh1985@... wrote:
ok so editing each dedicated analog_bridge file for the mode's so after editing do i need to reboot the server


Re: Bridge

Joshua Johnson - KC5JMJ
 

ok so editing each dedicated analog_bridge file for the mode's so after editing do i need to reboot the server


Re: Bridge

Steve N4IRS
 

Analog_Bridge

On 12/28/20 8:53 PM, ibjosh1985@... wrote:
ok so where do i edit the AMBE_AUDIO  ports at


Re: Bridge

Joshua Johnson - KC5JMJ
 

ok so where do i edit the AMBE_AUDIO  ports at


Re: Bridge

Steve N4IRS
 

Yes,
You are building a transcoder. That is 2 instances of Analog_Bridge, one for P25 and one for DMR. The cross connect is at the USRP ports. TX to RX and RX to TX.
The port diagram shows the port interaction. One piece of advice, edit as little as possible. Look at the port diagram, it explains connections.

On 12/28/20 8:25 PM, ibjosh1985@... wrote:
so basicly you are saying i need to edit the analog_bridge_dmr and analog_bridge_p25 so they have the correct ports and the mmdvm_bridge.ini is still going to be one file


Re: Bridge

Joshua Johnson - KC5JMJ
 

so basicly you are saying i need to edit the analog_bridge_dmr and analog_bridge_p25 so they have the correct ports and the mmdvm_bridge.ini is still going to be one file


Re: Bridge

Steve N4IRS
 

On 12/28/20 8:09 PM, ibjosh1985@... wrote:
i see the usrp so how would i lay out the ports in that section


Re: Bridge

Joshua Johnson - KC5JMJ
 

i see the usrp so how would i lay out the ports in that section


Re: Bridge

Steve N4IRS
 

Analog_Bridge(s)
USRP section
TX port to RX port
RX port to TX port

On 12/28/20 7:17 PM, ibjosh1985@... wrote:
ok no audio between DMR and P25


Re: Bridge

Joshua Johnson - KC5JMJ
 

ok no audio between DMR and P25


Re: Switch Between BM and TGIF

William WY7WL
 

Oh, Whoops. I'll try to figure this out now : )


Re: Switch Between BM and TGIF

Steve N4IRS
 

Bill,
Thanks fir this but we no longer have to restart MMDVM_Bridge to switch servers. it's now a simple tune command.
/opt/MMDVM_Bridge/dvswitch.sh tune password@host:port:options.

Steve N4IRS

On 12/28/20 2:46 PM, William KC3CPO wrote:
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

This 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 for macros 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.



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.


Re: Dashboard no Workie

William WY7WL
 

I found some hands on help.... This was above my skillz... 

Apparently when I updated dvswitch server some of the old dvswitch dependencies where still hanging around. So, we removed dvswitch server and dvswitch base then installed server back again. 

The dashboard was a conflict with my AllStar node... lighttpd needed disabled so Apache would pick up the dashboard. 

All working now. 

Whew. 


Re: Dashboard no Workie

Steve N4IRS
 

show me apt-get update

On 12/28/20 10:27 AM, William KC3CPO wrote:

Do you want to continue? [Y/n] y

(Reading database ... 87525 files and directories currently installed.)

Preparing to unpack .../dvswitch-menu_1.6.1-20201220-113_all.deb ...

Unpacking dvswitch-menu (1.6.1-20201220-113) ...

dpkg: error processing archive /var/cache/apt/archives/dvswitch-menu_1.6.1-20201220-113_all.deb (--unpack):

 trying to overwrite '/usr/local/dvs/init_config.sh', which is also in package dvswitch-base 1.5-20200427-21

Errors were encountered while processing:

 /var/cache/apt/archives/dvswitch-menu_1.6.1-20201220-113_all.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)



Re: Restarting DVSwitch Services

g8ptn@...
 
Edited

Hi Steve, 

Thanks again for the quick response.

All understood. The tune method is effectively what happens when switching via the DVSM App. When switching using this method the MMDVM_Bridge.ini DMR Address path does not get updated.

When switching the server from the DVSwitch “dvs” menu option, the  MMDVM_Bridge.ini DMR Address path does get updated.

Regards,
  Dave

 


Re: Dashboard no Workie

William WY7WL
 

Do you want to continue? [Y/n] y

(Reading database ... 87525 files and directories currently installed.)

Preparing to unpack .../dvswitch-menu_1.6.1-20201220-113_all.deb ...

Unpacking dvswitch-menu (1.6.1-20201220-113) ...

dpkg: error processing archive /var/cache/apt/archives/dvswitch-menu_1.6.1-20201220-113_all.deb (--unpack):

 trying to overwrite '/usr/local/dvs/init_config.sh', which is also in package dvswitch-base 1.5-20200427-21

Errors were encountered while processing:

 /var/cache/apt/archives/dvswitch-menu_1.6.1-20201220-113_all.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

1781 - 1800 of 9797