Date   

#dmrlink #dmrlink #best_practices #dmrlink #best_practices

ai6bx
 

I am back at trying to set up a simple dmrlink master to network a group of MotoTrbo repeaters. I had this going some time ago and then stepped away. The server has blown up so I am installing dmrlink and IPSC_Bridge back on a new machine. I have created the dmrlink.cfg file with a single master and single peer to start my testing and am getting the following errors in my dmrlink.log files. Any ideas what I have wrong?

Thank you.

INFO 2021-02-23 21:24:54,010 ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded
INFO 2021-02-23 21:24:57,506 DMRlink 'IPSC_Bridge.py' (c) 2015 N0MJS & the K0USY Group - SYSTEM STARTING...
INFO 2021-02-23 21:24:57,506 Version 20170620
INFO 2021-02-23 21:24:57,506 ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded
INFO 2021-02-23 21:24:57,506 ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded
INFO 2021-02-23 21:25:01,011 DMRlink 'IPSC_Bridge.py' (c) 2015 N0MJS & the K0USY Group - SYSTEM STARTING...
INFO 2021-02-23 21:25:01,011 Version 20170620
INFO 2021-02-23 21:25:01,011 ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded
INFO 2021-02-23 21:25:01,011 ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded
INFO 2021-02-23 21:25:04,505 DMRlink 'IPSC_Bridge.py' (c) 2015 N0MJS & the K0USY Group - SYSTEM STARTING...
INFO 2021-02-23 21:25:04,505 Version 20170620
INFO 2021-02-23 21:25:04,505 ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded
INFO 2021-02-23 21:25:04,505 ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded
INFO 2021-02-23 21:25:07,993 DMRlink 'IPSC_Bridge.py' (c) 2015 N0MJS & the K0USY Group - SYSTEM STARTING...
INFO 2021-02-23 21:25:07,993 Version 20170620
INFO 2021-02-23 21:25:07,993 ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded
INFO 2021-02-23 21:25:07,993 ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded
INFO 2021-02-23 21:25:11,504 DMRlink 'IPSC_Bridge.py' (c) 2015 N0MJS & the K0USY Group - SYSTEM STARTING...
INFO 2021-02-23 21:25:11,505 Version 20170620
INFO 2021-02-23 21:25:11,505 ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded
INFO 2021-02-23 21:25:11,505 ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded
INFO 2021-02-23 21:25:15,001 DMRlink 'IPSC_Bridge.py' (c) 2015 N0MJS & the K0USY Group - SYSTEM STARTING...
INFO 2021-02-23 21:25:15,002 Version 20170620
INFO 2021-02-23 21:25:15,002 ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded
INFO 2021-02-23 21:25:15,002 ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded


Re: Switch Between BM and TGIF

Steve N4IRS
 

As root:
/opt/MMDVM_Bridge/dvswitch.sh mode DMR
/opt/MMDVM_Bridge/dvswitch.sh tune passw0rd@...:62031

Show me the MMDVM_Bridge log

There is no stanza involved.

On 2/23/21 9:25 PM, William WY7WL wrote:
What I have in the dvswitch.sh under the tune to a specific tg/reflector/server stanza is definitely wrong. 

I'm changing a TG and not the server. 

So what exactly should that look like? Maybe a screen grab of that stanza or something would help me? I don't have any experience with scripts.  


Re: Switch Between BM and TGIF

William WY7WL
 

What I have in the dvswitch.sh under the tune to a specific tg/reflector/server stanza is definitely wrong. 

I'm changing a TG and not the server. 

So what exactly should that look like? Maybe a screen grab of that stanza or something would help me? I don't have any experience with scripts.  


Re: Switch Between BM and TGIF

Steve N4IRS
 

OK,
You are running the current version.
As root:
/opt/MMDVM_Bridge/dvswitch.sh mode DMR
/opt/MMDVM_Bridge/dvswitch.sh tune passw0rd@...:62031

Post the 5 lines above the tune and 5 lines below.


On 2/23/2021 2:15 PM, William WY7WL wrote:

dvswitch.sh version 1.6.0

Analog_Bridge version 1.6.0

MMDVM_Bridge version 20201129_V1.6.2 git #89f8998

P25Gateway version 20200824

NXDNGateway version 20200824

YSFGateway version 20200908



Re: Switch Between BM and TGIF

William WY7WL
 

dvswitch.sh version 1.6.0

Analog_Bridge version 1.6.0

MMDVM_Bridge version 20201129_V1.6.2 git #89f8998

P25Gateway version 20200824

NXDNGateway version 20200824

YSFGateway version 20200908


Re: Switch Between BM and TGIF

Steve N4IRS
 

Show the outut of:
/opt/MMDVM_Bridge/dvswitch.sh version all

On 2/23/2021 1:49 PM, William WY7WL wrote:
this doesn't look right to me... 

M: 2021-02-23 18:47:16.645 DMR, Remote CMD: txTg=passw0rd@...



Re: Switch Between BM and TGIF

Steve N4IRS
 

M: 2021-02-23 19:03:19.278 DMR, Remote CMD: txTg=passw0rd@...:62031
M: 2021-02-23 19:03:19.278 DMR, Closing DMR Network
M: 2021-02-23 19:03:19.328 DMR, Opening DMR Network
M: 2021-02-23 19:03:19.343 DMR, Remote CMD: info
M: 2021-02-23 19:03:29.337 DMR, Logged into the master successfully: tgif.network:62031


On 2/23/2021 1:49 PM, William WY7WL wrote:
this doesn't look right to me... 

M: 2021-02-23 18:47:16.645 DMR, Remote CMD: txTg=passw0rd@...



Re: Switch Between BM and TGIF

William WY7WL
 

this doesn't look right to me... 

M: 2021-02-23 18:47:16.645 DMR, Remote CMD: txTg=passw0rd@...


Re: Switch Between BM and TGIF

Steve N4IRS
 

Nothing before that?

On 2/23/2021 1:42 PM, William WY7WL wrote:

I: 2021-02-23 18:42:04.301 txTg=: 0

I: 2021-02-23 18:42:04.338 txTg=: 0

I: 2021-02-23 18:42:04.427 txTg=: 0

I: 2021-02-23 18:42:04.495 txTg=: 0

I: 2021-02-23 18:42:04.582 txTg=: 0

I: 2021-02-23 18:42:04.653 txTg=: 0




Re: Switch Between BM and TGIF

Steve N4IRS
 

from the command
/opt/MMDVM_Bridge/dvswitch.sh tune passw0rd@...:62031

Show me the MMDVM_Bridge log when you issue the command.

On 2/23/2021 12:34 PM, William WY7WL wrote:
It works in the dvs menu, change networks. That’s didn’t work until I added the tune command in dvswitch.sh maybe I’m all mixed up somehow. Yes it’s in the mmdvm bridge. 


Re: Switch Between BM and TGIF

William WY7WL
 

It works in the dvs menu, change networks. That’s didn’t work until I added the tune command in dvswitch.sh maybe I’m all mixed up somehow. Yes it’s in the mmdvm bridge. 


Re: Switch Between BM and TGIF

Steve N4IRS
 

Is your dvswitch.sh in /opt/MMDVM_Bridge

You said you had it working from the command line what did you type from the command line?

On 2/23/2021 12:10 PM, William WY7WL wrote:
I did that so you could see everything.... no space in the actual line 


Re: Switch Between BM and TGIF

William WY7WL
 

I did that so you could see everything.... no space in the actual line 


Re: Switch Between BM and TGIF

Steve N4IRS
 

No space between passw0rd and @
No space between @ and tgif.network


On 2/23/2021 12:07 PM, William WY7WL wrote:

13 =   /opt/MMDVM_Bridge/dvswitch.sh tune passw0rd @ tgif.network:62031



Re: Switch Between BM and TGIF

William WY7WL
 

13 =   /opt/MMDVM_Bridge/dvswitch.sh tune passw0rd @ tgif.network:62031


Re: Switch Between BM and TGIF

Steve N4IRS
 

Show your macro line

On 2/23/2021 12:06 PM, William WY7WL wrote:
Log shows a runaway TG=0?


Re: Switch Between BM and TGIF

William WY7WL
 

Log shows a runaway TG=0?


Re: Switch Between BM and TGIF

Steve N4IRS
 

When you issue a tune command via dvswitch.sh

it's /opt/dvswitch.sh tune passw0rd@...:62031

So your macro would be:

13 = /opt/MMDVM_Bridge/dvswitch.sh tune passw0rd@...:62031



On 2/23/2021 11:49 AM, William WY7WL wrote:

#################################################################

# Tune to a specific TG/Reflector/Server, etc

# Argument 1 is the TG to tune to.  The argument is mode specific.

#################################################################

function tune() {

    if [ $# -eq 0 ]; then

        getABInfoValue last_tune

    else

        remoteControlCommand "txTg=$1"

tune passw0rd@...

    fi

}



Re: Switch Between BM and TGIF

William WY7WL
 
Edited

#################################################################

# Tune to a specific TG/Reflector/Server, etc

# Argument 1 is the TG to tune to.  The argument is mode specific.

#################################################################

function tune() {

    if [ $# -eq 0 ]; then

        getABInfoValue last_tune

    else

        remoteControlCommand "txTg=$1"

tune passw0rd @tgif.network (no space there)

    fi

}


Re: Switch Between BM and TGIF

Steve N4IRS
 

What does your dvswitch.sh command look like?

On 2/23/2021 11:45 AM, William WY7WL wrote:
Whats the line going to look like? I've tried DMR, tune, Tune.... 

I: 2021-02-23 16:43:42.729 USRP packet type: USRP_TYPE_TEXT (WY7WL) -> 3164636

I: 2021-02-23 16:43:48.274 Tune macro: *13 will invoke "/opt/MMDVM_Bridge/dvswitch.sh mode Tune"

I: 2021-02-23 16:43:48.307 Macro result was 65024


441 - 460 of 9079