setting up dmrlink IPSC_Bridge #support #dmrlink


ai6bx
 

I posted the following in a different forum and was referenced here for a better chance at a response. 

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
 


Jon K1IMD
 

AI6BX,
I am far from an expert on the subject but I think we're missing a few bits of information.  It appears that you are looking to set up a private network using Motorola Mototrbo repeaters.  First and foremost if that is the case then any one of the repeater in the network can serve as a Master and all the others Peer to it.  The only requirement is that the Master have a static routable public IP address.  That said if that is not possible then you can use dmrlink to serve as a Master but again needs to be on a static routable public IP.

The above is based on the  assumptions the all are Motorola repeaters... now if some/one of your repeaters in the network are not Motorola Mototrbo repeaters and say are mmdvm repeaters then you need to invoke bridges to the IPSC network and where IPSC_bridge and HB_Bridge come into play.

In dmrlink turn off the query of radioid for the ID's it is pretty pointless in your setup and in fact most setups except that is uses up extra bandwidth.

73
Jon
K1IMD


On 2/24/2021 9:19 AM, ai6bx via groups.io wrote:
I posted the following in a different forum and was referenced here for a better chance at a response. 

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
 


Randy AA6RH
 

We're missing some valuable info here. I'll set out a list:

  • Which script are you invoking? Let us know how you're kicking this off.
  • Attach any config files. Make copies and redact whatever you must, but copypasta and screenshots won't do.
  • Under [LOGGER] in the configuration file, consider changing INFO to DEBUG and capturing the output to share here.
  • A general plan of what the DMRlink master is meant to accomplish (is it just reflecting all talk groups to all peers? Are there routing/bridging/other rules in play? I get the feeling based on your post that this isn't (yet) the case, but your intentions will help with debug.

I don't personally have a network of IPSC/MOTOTRBO repeaters to test against, so a lot of this troubleshooting is going to be done on paper, at least on my end.
 
--
Randy Hall AA6RH (not K7AGE, quit asking) 😁


area51now@...
 

I maybe all wet on this but going off my memory I had a problem months ago with my server and it had to to with .json file,  see below link maybe this will help

https://dvswitch.groups.io/g/HBlink/message/1080?p=,,,20,0,0,0::Created,,cort+json,20,2,0,68644539

Bob


ai6bx
 

Thank you for your responses! I am invoking the dmrlink.py script and have also tried the IPSC_Bridge.py script with the same results. I have attached my current cfg file as well as a chunk of my current log file once changed logging from INFO to DEBUG.

I am wanting to use dmrlink to manage a group of repeaters currently running on a private mesh network and will untlimately bind a a public IP address to the system as well making it possible for external MotoTrbo machines to connect. Down the road, I will likely expand with an HBlink for hotspots when members travel.

Thank you in advance.

Keith - AI6BX


Randy AA6RH
 

I'm going to start with obvious questions:

  • Can you verify that you're running this with Python 2.7 and not Python 3? Not that I think it would even get past compiling the code, I just want to be sure.
--
Randy Hall AA6RH (not K7AGE, quit asking) 😁


Randy AA6RH
 

Also, do me a favor and go ahead and uncomment the [ALIASES] section of your config. Just to humor me. Then re-run it.

--R
--
Randy Hall AA6RH (not K7AGE, quit asking) 😁


ai6bx
 

Yes, it is on Python 2.7.


ai6bx
 

Will do, it will be later today and will post what happens. I commented that section out after seeing the error and someone else mentioning this may be part of the problem. Ironically I do not think the message changed.


ai6bx
 

Uncommented the ALIAS stanzas and this is what the log writes now.


area51now@...
 

You have a real interesting issue, maybe try to un install and re install DMRlink.


Randy AA6RH
 

Okay. That was even more interesting.

I take it this is a completely private network, not using RadioID.net and the CCS7 number system. Is that true (i.e. why else would you not download the ID's from RadioID.net). More of a curiosity than anything, this may be a red herring in the troubleshooting. Thanks for doing it anyway.

Are you actually using this for bridging from IPSC to analog or HB? For completeness, I'd like to see the IPSC_Bridge.cfg as well.


(kinda feel like I'm spinning my wheels, but I can't troubleshoot this on paper without everything in front of me). First time troubleshooting DMRlink, you'll have to forgive my lack of direct knowledge here.

--R
--
Randy Hall AA6RH (not K7AGE, quit asking) 😁


Randy AA6RH
 

I'm also going to suggest that you disable the service as a daemon for the moment and try executing it from a terminal window instead. The console is very likely going to print out some kind of error message that will be helpful in pinpointing where things are going wrong.

You can try running this from the directory where DMRlink is installed/located

$ python IPSC_Bridge.py -c DMRlink.cfg -b IPSC_Bridge.cfg -ll DEBUG 2>&1 > IPSC_Bridge-troubleshooting.out

Attach the result of that command to this thread; perhaps that will shake something loose.

--R
--
Randy Hall AA6RH (not K7AGE, quit asking) 😁