Date   

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)


Re: Dashboard no Workie

Steve N4IRS
 

apt --fix-broken install

On 12/28/20 10:22 AM, William KC3CPO wrote:
hummm... well that install is fighting me... (I'm a pretty basic cmd line user) 

root@ASLDVSwitch:/etc# apt install nodejs

Reading package lists... Done

Building dependency tree       

Reading state information... Done

You might want to run 'apt --fix-broken install' to correct these.

The following packages have unmet dependencies:

 dvswitch-server : Depends: dvswitch-menu but it is not going to be installed

 node-ws : Depends: nodejs-abi-46

 nodejs : Conflicts: nodejs-dev

 nodejs-dev : Depends: nodejs (= 4.8.2~dfsg-1) but 10.23.0-1nodesource1 is to be installed

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)



Re: Dashboard no Workie

William WY7WL
 

hummm... well that install is fighting me... (I'm a pretty basic cmd line user) 

root@ASLDVSwitch:/etc# apt install nodejs

Reading package lists... Done

Building dependency tree       

Reading state information... Done

You might want to run 'apt --fix-broken install' to correct these.

The following packages have unmet dependencies:

 dvswitch-server : Depends: dvswitch-menu but it is not going to be installed

 node-ws : Depends: nodejs-abi-46

 nodejs : Conflicts: nodejs-dev

 nodejs-dev : Depends: nodejs (= 4.8.2~dfsg-1) but 10.23.0-1nodesource1 is to be installed

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)


Re: Dashboard no Workie

Steve N4IRS
 

On 12/28/20 10:01 AM, William KC3CPO wrote:
debian 9 stretch


Re: Dashboard no Workie

William WY7WL
 

debian 9 stretch


Re: Dashboard no Workie

Steve N4IRS
 

What version of Debian?

On 12/28/20 9:59 AM, William KC3CPO wrote:

root@ASLDVSwitch:/opt/Web_Proxy# /usr/bin/nodejs proxy.js 88 2222

/opt/Web_Proxy/proxy.js:12

const { exit } = require('process');

      ^

 

SyntaxError: Unexpected token {

    at exports.runInThisContext (vm.js:53:16)

    at Module._compile (module.js:373:25)

    at Object.Module._extensions..js (module.js:416:10)

    at Module.load (module.js:343:32)

    at Function.Module._load (module.js:300:12)

    at Function.Module.runMain (module.js:441:10)

    at startup (node.js:140:18)

    at node.js:1043:3



Re: Dashboard no Workie

William WY7WL
 

root@ASLDVSwitch:/opt/Web_Proxy# /usr/bin/nodejs proxy.js 88 2222

/opt/Web_Proxy/proxy.js:12

const { exit } = require('process');

      ^

 

SyntaxError: Unexpected token {

    at exports.runInThisContext (vm.js:53:16)

    at Module._compile (module.js:373:25)

    at Object.Module._extensions..js (module.js:416:10)

    at Module.load (module.js:343:32)

    at Function.Module._load (module.js:300:12)

    at Function.Module.runMain (module.js:441:10)

    at startup (node.js:140:18)

    at node.js:1043:3

1921 - 1940 of 9931