Author Topic: Stock DMRGateway Revised for Net4 and Net5  (Read 303 times)

0 Members and 0 Guests are viewing this topic.

Offline VE3RD

  • Newbie
  • *
  • Posts: 26
  • Referrals: 0
Stock DMRGateway Revised for Net4 and Net5
« on: December 24, 2019, 10:56:09 am »
Hi Folks,

I noticed in a recent pi-star update that there is now a Network 4 and Network 5 in the stock DMRGateway. I have therefore revised my /etc/dmrgateway file as follows.  Note there is no audio feedback in the stock gateway. I  am in the process of revising my DMRGateway-1 with audio feedback when you switch into a new TG.

The main connection parameters for each network remain the same. Network 1 thru Network 3  can be set via the pi-star configuration page with the exception of the new TGRewrite rule indicated below. I added a rule in each network as follows. This uses TS2 assuming a simplex hotspot. It can be revised to accommodate a duplex hotspot. Using this method all 5 networks can be alive at the same time(Don't really know why you would want to do this)

I haven't checked this, but I suspect that there is no isolation between networks. once TGIF is activated and you switch to and activate another network, then both networks will compete for access to the radio. My DMRGateway-1 does provide the isolation but is currently under revision.

Net1 (BM)
TGRewrite0=2,1000001,2,1,999999
TGRewrite0=1,1000001,1,1,999999

Net2 (DMR+/ DMR Marc)
TGRewrite0=2,2000001,2,1,999999

Net3 (DMR2YSF)
TGRewrite0=2,3000001,2,1,999999

Net4  (TGIF)
TGRewrite0=2,4000001,2,1,999999
TGRewrite0=1,4000001,1,1,999999

Net5  (FDARN)
TGRewrite0=2,5000001,2,1,999999

I removed all PassAllTG and PassAllPC and all other TGRewrite Rules
If you need Private call rules, then you will need to add
PCRewrite, and SrcRewrite rules
if you use this methode, do not forget to reprogram your radio accordingly.

CAUTION!!!!!!!!!   If you make a mistake in setting up this file, the PI-STAR "Apply Changes" button will wipe out this file and fill it in with defaults that do not include Net 4 and Net5. I have commented on this in forums.pistar.uk, so hopefully this will be addressed in a future update. I always maintain /etc/dmrgateway.bak as a recent copy of the file in case it is set back to defaults.

My Network 4 for TGIF as follows.

[DMR Network 4]
Enabled=1
Name=TGIF_Network
Address=tgif.network
Password=passw0rd
Port=62031
Local=62034                  ##  this can be any port in the same range that is not used in another network
Id=XXXXXXX04              ## replace XXXXXXX with your Digital ID and the 04 with your hostspot extended ID
TGRewrite=2,4000001,2,1,999999
Debug=0
Location=0

[DMR Network 5]
Enabled=1
Name=FDARN_Network
Address=primary.fdarn.network
Port=62031
Local=62038
TGRewrite1=2,5000001,2,1,999999
Password=passw0rd
Location=0
Debug=0



Set this up  and get it working before you add the private call rules.

If you have problems, catch me on 31665 as I don't check this forum regularly
Phil VE3RD
« Last Edit: May 31, 2020, 08:13:54 pm by VE3RD »

Share on Facebook Share on Twitter


 

Related Topics

  Subject / Started by Replies Last post
23 Replies
526 Views
Last post January 18, 2019, 04:38:41 pm
by KD8DVR
14 Replies
552 Views
Last post February 07, 2019, 03:35:12 pm
by VE3RD
1 Replies
508 Views
Last post July 10, 2019, 05:20:28 pm
by WB3IHY
3 Replies
153 Views
Last post March 09, 2019, 05:47:22 pm
by NR1X