"DMR Net" Red when DMRGateway Enabled

General support for the Pi-Star System
Post Reply
KE5ZZN
Posts: 7
Joined: Thu May 20, 2021 8:54 pm

"DMR Net" Red when DMRGateway Enabled

Post by KE5ZZN »

Hello,

I am fairly new to Pi-Star and I have not been able to find this exact issue in the forum yet. I apologize if it has already been addressed somewhere.

If I run only in DMR mode with the DMR Master set to a BM endpoint, it works perfectly. I run into problems when I enable DMRGateway in an attempt to use either XLX or DMR2YSF. When I do, DMR Net goes red.

I am running an up-to-date version of Pi-Star with no modifications. I did check to make sure Type=Gateway is set in /etc/mmdvmhost as referenced in this thread:
viewtopic.php?f=3&t=3663&start=20

My versions:

Code: Select all

pi-star@pi-star(ro):pi-star$ MMDVMHost -v
MMDVMHost version 20210605_Pi-Star_v4 git #9106fd6
pi-star@pi-star(ro):pi-star$ DMRGateway -v
DMRGateway version 20210426_Pi-Star_v4 git #03bcdbc
/etc/mmdvmhost:

Code: Select all

[DMR Network]
Type=Gateway
Enable=1
Address=127.0.0.1
Port=62031
Jitter=360
Password="none"
Slot1=0
Slot2=1
Debug=0
ModeHang=20
Local=62032
My config:
pistar-dmrconfig.PNG
pistar-dmrconfig.PNG (26.35 KiB) Viewed 4624 times

From syslog:

Code: Select all

Jun  6 11:40:01 pi-star CRON[28318]: (root) CMD (/usr/local/sbin/pistar-upnp.service start > /dev/null 2>&1 &)
Jun  6 11:40:43 pi-star systemd[1]: dmrgateway.service: Start operation timed out. Terminating.
Jun  6 11:40:43 pi-star systemd[1]: dmrgateway.service: Control process exited, code=killed, status=15/TERM
Jun  6 11:40:43 pi-star systemd[1]: dmrgateway.service: Failed with result 'timeout'.
Jun  6 11:40:43 pi-star systemd[1]: Failed to start DMRGateway Radio Servce.
Jun  6 11:40:43 pi-star pistar-watchdog.service[27333]: Warning: Stopping dmrgateway.service, but it can still be activated by:
Jun  6 11:40:43 pi-star pistar-watchdog.service[27333]:   dmrgateway.timer
Jun  6 11:40:44 pi-star systemd[1]: pistar-upnp.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jun  6 11:40:44 pi-star systemd[1]: pistar-upnp.service: Failed with result 'exit-code'.
Jun  6 11:40:45 pi-star systemd[1]: Starting DMRGateway Radio Servce...
Jun  6 11:42:15 pi-star systemd[1]: dmrgateway.service: Start operation timed out. Terminating.
Jun  6 11:42:16 pi-star systemd[1]: dmrgateway.service: Control process exited, code=killed, status=15/TERM
Jun  6 11:42:16 pi-star systemd[1]: dmrgateway.service: Failed with result 'timeout'.
Jun  6 11:42:16 pi-star systemd[1]: Failed to start DMRGateway Radio Servce.
Jun  6 11:42:16 pi-star pistar-watchdog.service[27333]: Job for dmrgateway.service failed because a timeout was exceeded.
Jun  6 11:42:16 pi-star pistar-watchdog.service[27333]: See "systemctl status dmrgateway.service" and "journalctl -xe" for details.
Any suggestions on where to look next?

Thanks!
Jake - KE5ZZN
KE5ZZN
Posts: 7
Joined: Thu May 20, 2021 8:54 pm

Re: "DMR Net" Red when DMRGateway Enabled

Post by KE5ZZN »

Thanks for the reply. I just realized that I chose a bad screenshot for the first post.

It does the same thing with the BrandMeister Network enabled as well. I've tried just about every combination in an attempt to find a better log. It has not been my experience that enabling XLX lights up the D-Star box.

pi-star_status.PNG
pi-star_status.PNG (4.07 KiB) Viewed 4582 times
pistar-dmrconfig2.PNG
pistar-dmrconfig2.PNG (26.48 KiB) Viewed 4582 times
KE5ZZN
Posts: 7
Joined: Thu May 20, 2021 8:54 pm

Re: "DMR Net" Red when DMRGateway Enabled

Post by KE5ZZN »

I have tried re-typing the password with only Brandmeister enabled for DMRGateway with the same result. I also disabled all other networks. I do not see a DRMGateway specific log. Should it be in /var/log/pi-star ?
KE5ZZN
Posts: 7
Joined: Thu May 20, 2021 8:54 pm

Re: "DMR Net" Red when DMRGateway Enabled

Post by KE5ZZN »

Might be on to something here. I don't have a [Log] section in the DMR GW expert editor. What is the default value(s) for that section? This is a vanilla install and I have not changed anything outside of the UI interface.
User avatar
MW0MWZ
Site Admin
Posts: 1505
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: "DMR Net" Red when DMRGateway Enabled

Post by MW0MWZ »

Top end of the config (before the XLX section) should look like this:

Code: Select all

[General]
RptAddress=127.0.0.1
RptPort=62032
LocalAddress=127.0.0.1
LocalPort=62031
RuleTrace=0
Daemon=1
Debug=0
RFTimeout=90
NetTimeout=120

[Log]
DisplayLevel=0
FileLevel=1
FilePath=/var/log/pi-star
FileRoot=DMRGateway

[Voice]
Enabled=1
Language=en_GB
Directory=/usr/local/etc/DMR_Audio

[Info]
Enabled=0
RXFrequency=438000000
TXFrequency=438000000
Power=1
Latitude=50.0
Longitude=-3.0
Height=0
Location="Town, L0C4T0R"
Description="Country"
URL=https://www.qrz.com/db/MW0MWZ
You can use the expert editor to put that back in, and then visit the config page and apply to make all the values correct for your setup.

Hope that helps :)
Andy

73 de MW0MWZ
http://pistar.uk
KE5ZZN
Posts: 7
Joined: Thu May 20, 2021 8:54 pm

Re: "DMR Net" Red when DMRGateway Enabled

Post by KE5ZZN »

At the risk of speaking too soon, I think adding the stanzas has resolved my problem. My DMR GW config was missing Log and Voice, and the General stanza only had the RFTimeout and NetTimeout values.

Now, because I like to break things - I'll try the update as well :)
KE5ZZN
Posts: 7
Joined: Thu May 20, 2021 8:54 pm

Re: "DMR Net" Red when DMRGateway Enabled

Post by KE5ZZN »

It looks like I have survived the updates as well and DMR Gateway is still running strong on the new versions.

Code: Select all

MMDVMHost version 20210607_PS4 git #9106fd6
DMRGateway version 20210607_PS4 git #03bcdbc
Thank you both for the help!
Post Reply