Author Topic: New DMR Gateway - June 2020  (Read 31 times)

0 Members and 0 Guests are viewing this topic.

Offline VE3RD

  • Newbie
  • *
  • Posts: 26
  • Referrals: 0
New DMR Gateway - June 2020
« on: June 28, 2020, 11:55:25 am »
DMRGateway-3 by VE3RD
New with This Version
1) Network 6 Added
2) Hard coded 7 Digit TG Translation tied to Network Number
ie 4031665 will translate to 31665 on Network 4 and 6031665 will put you on Network 6 tg 31665
with TGRewrite Rules as follows
[DMR Network 4]
TGRewrite0=2,4000001,2,1,999999

[DMR Network 6]
TGRewrite0=2,6000001,2,1,999999

Known Issue
If you click on [Apply Changes] in the Pi-Star Dashboard Configuration screen, your /etc/dmrgateway file will be replaced with a default file, missing Networks 4, 5 and 6.  Therefore keep a backup copy of /etc/dmrgateway that you can restore should this unfortunate occurrence happen. Pi-Star makes certain assumptions, and if sees something that does not match what it expects to see, it restores default files.

Download and Install
// Lines starting with // are instructions and/or comments only, not to be typed.
Step 1 - Set the Master DMR Server to DMRGateway in the Pi-Star Dashboard Configuration Screen,
Step 2 - Press [Apply Changes]
Step 3 - Proceed with the DMRGateway Download and Install

// log into pi-star via ssh
// type as follows

rpi-rw
sudo su
git clone http://github.com/ve3rd/DMRGateway-3
cd ./DMRGateway-3
make clean
make

// If this is your first gateway install, backup the original as follows
cp /usr/local/bin/DMRGateway /usr/local/bin/DMRGateway.orig

dmrgateway.service stop
cp DMRGateway /usr/local/bin/

// There are many ways to setup the /etc/dmrgateway file. The following samples for network 4 and 5 are suggestions only.
// Configure /etc/dmrgateway and then do a pi-star reboot

[DMR Network 4]
Enabled=1
Name=TGIF_Network
Address=tgif.network
Port=62031
Local=62037
Id=???????44
TGRewrite0=2,4000001,2,1,999999
TGRewrite1=2,1,2,1,999999
SrcRewrite0=2,1,2,4000001,999999
PCRewrite0=2,4000001,2,1,999999
PassAllPC1=2
PassAllTG1=2
Password=passw0rd
Location=0
Debug=1

[DMR Network 5]
Enabled=1
Name=Prime_TGIF_Network
Address=prime.tgif.network
Port=62031
Local=62035
Id=???????45
TGRewrite0=2,5000001,2,1,999999
Password=xxxxxxxxxxxxxxxxxxxxxxxx   {<- Your Security Code goes here}
Location=0
Debug=1

« Last Edit: June 29, 2020, 11:20:09 am by VE3RD »

Share on Facebook Share on Twitter


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
194 Views
Last post December 19, 2018, 07:56:50 pm
by N3MEL
2 Replies
122 Views
Last post December 23, 2018, 01:28:16 pm
by KD8DVR
6 Replies
107 Views
Last post July 14, 2019, 11:22:27 pm
by WB3IHY
16 Replies
641 Views
Last post August 05, 2019, 08:57:57 am
by Kd0ess
0 Replies
10 Views
Last post May 06, 2020, 07:33:18 am
by ke5cdk