DMRGateway Setup in Expert Mode

General support for the Pi-Star System
W8GBR
Posts: 1
Joined: Wed Nov 18, 2020 5:57 pm

DMRGateway Setup in Expert Mode

Post by W8GBR »

Good morning. I have been using DMRGateway, setup in expert mode on two of my cheapo hotspots with no problem. They are both setup for BM, TGIF and Prime.TGIF and I have no issues using any of the two networks plus the prime.tgif. However, when I use the same setup/code in expert mode on my DVMEGA that I got from Bridgecom a few months back I can't get the setup to work. On the Dashboard is will show DMR as Green under modes enabled but the DMR Net network status is always red (passwords are correct). I'm ready to take a hammer to my DVMEGA because I just can't figure it out. Its running Pi-Star 4.1.2 and updated firmware. I even sent the DVMEGA back to bridgecom for maintenance because I thought I bricked it at one point and they said it was running flawlessly. I'm at a loss. Any help would be appreciated.

Thanks!
AF6VN
Posts: 821
Joined: Fri Jul 20, 2018 1:15 am

Re: DMRGateway Setup in Expert Mode

Post by AF6VN »

"Net" status has nothing to do with the RF board on top of the R-Pi. It is the interface from the R-Pi to the server.

Did you ensure you have a different SSID extension on the DMR user ID #; if you are using the same number on multiple hotspots you might be getting rejected by the server. Have you confirmed the hotspot even has a network connection (if you SSH into the R-Pi, can you then ping, say, 8.8.8.8 [Google nameserver]).

--
AF6VN
Dennis L Bieber
k5oke
Posts: 2
Joined: Mon May 14, 2018 12:17 am

Re: DMRGateway Setup in Expert Mode

Post by k5oke »

Tonight on the TGIF net, VE3RD Phil, rapidly explained that using the dashboard is causing some problems to program the Networks on DMRGATEWAY. He commented that he had to go into the SSH and make these changes. What we need is an exact set of commands to use to accomplish these changes. Also, there is a Mnet. This reportedly, requires a 6031665 to get there. My network setup shows a person's name in Canada on my 868 when I keyup. I used the dashboard to set up this network - it don't work. I used the dashboard to do the cross from dmr2ysf. A 70xxxxx showed up. Worked OK? Why?
Please, an exact SSH example to cover the 4031665, 5031665 and 6031665. Thanks a bunch. the DMRGATEWAY is a great system but getting on it, is way too complicated. Gerald, k5oke
AF6VN
Posts: 821
Joined: Fri Jul 20, 2018 1:15 am

Re: DMRGateway Setup in Expert Mode

Post by AF6VN »

In practice ALL 7-digit (CCS7) DMR IDs are for individuals -- which may be why the name is showing up. The gateway software tends to expect some 5-digit groups when used with specific prefix digits to signify a cross-over talk group/room, but the radio wouldn't know about that usage.

BrandMeister, I believe, allows one to use their ID as a GROUP call (instead of private) and will create a temporary talk group with that ID (so others that know one's ID could also connect to the "group" linkage).

--
AF6VN
Dennis L Bieber
KG6RUT
Posts: 105
Joined: Thu Dec 24, 2020 7:28 pm

Re: DMRGateway Setup in Expert Mode

Post by KG6RUT »

When I built my pistar, BM defaulted to Network1; DMR+ defaulted to Network2; DMR2YSF defaulted to Network3. My understanding is we can configure up to 6 networks simultaneously.....when I wanted to implement TGIF, everything I found had it set for Network4 and yes, you need to configure these other networks via the Expert menu and edit/paste it in. As for the "7", that is the default prefix added on to DMR2YSF again you can see that in Expert. Here is the Network section from mine....also notice that for TGIF I have mine changed to Prime....
As for how the rewrite rules work, see here: https://github.com/g4klx/DMRGateway/wiki/Rewrite-Rules

[DMR Network 1]
Enabled=1
Address=74.91.118.251
Port=62031
TGRewrite0=2,9,2,9,1
PCRewrite0=2,94000,2,4000,1001
TypeRewrite0=2,9990,2,9990
SrcRewrite0=2,4000,2,9,1001
PassAllPC0=1
PassAllTG0=1
PassAllPC1=2
PassAllTG1=2
Password="password"
Debug=0
Id=your id here
Name=BM_United_States_3103

[DMR Network 2]
Enabled=1
Address=168.235.109.210
Port=55555
TGRewrite0=2,89990,2,9990,1
PCRewrite0=2,84000,2,4000,1001
Password="PASSWORD"
Debug=0
Id=your id here
Name=DMR+_IPSC2-QUADNET

[DMR Network 4]
Enabled=1
#Name=TGIF_Network
Name=TGIF_Prime_Network
PCRewrite1=1,4009990,1,9990,1
PCRewrite2=2,4009990,2,9990,1
TypeRewrite1=1,4009990,1,9990
TypeRewrite2=2,4009990,2,9990
TGRewrite1=1,4000001,1,1,999999
TGRewrite2=2,4000001,2,1,999999
SrcRewrite1=1,9990,1,4009990,1
SrcRewrite2=2,9990,2,4009990,1
SrcRewrite3=1,1,1,4000001,999999
SrcRewrite4=2,1,2,4000001,999999
#Address=tgif.network
Address=prime.tgif.network
#Password=passw0rd
Password=password
Port=62031
Location=0
Debug=0
Id=your id here

[DMR Network 3]
Enabled=0
Name=DMR2YSF_Cross-over
Id=your id here
Address=127.0.0.1
Port=62033
Local=62034
TGRewrite0=2,7000001,2,1,999998
SrcRewrite0=2,1,2,7000001,999998
PCRewrite0=2,7000001,2,1,999998
Password=PASSWORD
Location=0
Debug=0
k5oke
Posts: 2
Joined: Mon May 14, 2018 12:17 am

Re: DMRGateway Setup in Expert Mode

Post by k5oke »

Many thanks Craig, On mine the 40xxxxx is for the legacy tgif and the 50xxxxx for the prime. Works fine. I think I found my writup for the networks on the tgif forem? But I think I read in that area that 60xxxxx was set up for the Mnet. The 70xxxxx for dmr2ysf works well as well as going back to BM. The DMRGATEWAY is fun and has a lot of features, mainly, one hotspot for several networks. Saves $$ on hotspots! Thanks again. I'll print off your listing and play with it! Also, the github info! Great Thanks, that's what I was really lacking!!! 73 Gerald k5oke
KG6RUT
Posts: 105
Joined: Thu Dec 24, 2020 7:28 pm

Re: DMRGateway Setup in Expert Mode

Post by KG6RUT »

k5oke wrote: Wed Jan 20, 2021 2:38 am Many thanks Craig, On mine the 40xxxxx is for the legacy tgif and the 50xxxxx for the prime. Works fine. I think I found my writup for the networks on the tgif forem? But I think I read in that area that 60xxxxx was set up for the Mnet. The 70xxxxx for dmr2ysf works well as well as going back to BM. The DMRGATEWAY is fun and has a lot of features, mainly, one hotspot for several networks. Saves $$ on hotspots! Thanks again. I'll print off your listing and play with it! Also, the github info! Great Thanks, that's what I was really lacking!!! 73 Gerald k5oke
Hope it helps! As you can see in mine, I remarked out tgif for prime so thats why its 40...havent seen 60 yet. With all networks connected at the same time and a static TG or two and it can get quite noisy damn quick!

Enjoy
VE3RD
Posts: 130
Joined: Thu Oct 11, 2018 7:21 pm

Re: DMRGateway Setup in Expert Mode

Post by VE3RD »

I am seeing references to a DMR Network 6 in the DMRGateway. The stock DMRGateway does not have a Network 6 (Unless recently added).

I created a DMRGateway-3 version that added Network 6 with several interesting features.
TG 9000 will put the DMRGateway into factory mode allowing it to respond to any network on a first come first serve basis
TG 9001-9006 will lock the hotspot into the designated Network. It WILL NOT RERSPOND to activity on any other network.
.
TG9007 will put the hotspot into 7 digit control mode that is hard coded as follows.
Net1: TGRewrite=2,1000001,2,1,999999
Net2: TGRewrite=2,2000001,2,1,999999
Net3: TGRewrite=2,3000001,2,1,999999
Net4: TGRewrite=2,4000001,2,1,999999
Net5: TGRewrite=2,5000001,2,1,999999
Net6: TGRewrite=2,6000001,2,1,999999
Basically a radio channel programmed as 4031665 will use Network 4, connection to the designated server on TG 31665
This is explained at https://tgifnetwork.createaforum.com/ne ... june-2020/
W9DWH
Posts: 13
Joined: Sat Jan 09, 2021 7:42 pm

Re: DMRGateway Setup in Expert Mode

Post by W9DWH »

VE3RD wrote: Wed Jan 27, 2021 9:52 pm I am seeing references to a DMR Network 6 in the DMRGateway. The stock DMRGateway does not have a Network 6 (Unless recently added).

I created a DMRGateway-3 version that added Network 6 with several interesting features.
TG 9000 will put the DMRGateway into factory mode allowing it to respond to any network on a first come first serve basis
TG 9001-9006 will lock the hotspot into the designated Network. It WILL NOT RERSPOND to activity on any other network.
.
TG9007 will put the hotspot into 7 digit control mode that is hard coded as follows.
Net1: TGRewrite=2,1000001,2,1,999999
Net2: TGRewrite=2,2000001,2,1,999999
Net3: TGRewrite=2,3000001,2,1,999999
Net4: TGRewrite=2,4000001,2,1,999999
Net5: TGRewrite=2,5000001,2,1,999999
Net6: TGRewrite=2,6000001,2,1,999999
Basically a radio channel programmed as 4031665 will use Network 4, connection to the designated server on TG 31665
This is explained at https://tgifnetwork.createaforum.com/ne ... june-2020/
I have my DMR gateway up and running with Brandmeister, DMR2YSF, TGIF and QRM. However this as clear as mud to me. Can you provide some examples,or more of an explanation, as to how this works please? I followed the links given but it didn't help any.
KG6RUT
Posts: 105
Joined: Thu Dec 24, 2020 7:28 pm

Re: DMRGateway Setup in Expert Mode

Post by KG6RUT »

Post Reply