TGIF.Network

DMR Gateway => DMR Gateway (beta) => Topic started by: Kd0ess on July 18, 2019, 05:22:38 pm

Title: Dmr gateway?
Post by: Kd0ess on July 18, 2019, 05:22:38 pm
not sure how to fix this, unless it doesn't matter. during compilation and installation, i get install line 37 missing. running pistar 4.10rc3.
Title: Re: Dmr gateway?
Post by: WB3IHY on July 18, 2019, 07:16:52 pm
I've gotten this error every time I've installed (or had to reinstall due to a Pi-Star update/upgrade) the modified gateway.

 Each time, it's made no difference (that I could find) in the operational functionality of the gateway.
Title: Re: Dmr gateway?
Post by: Kd0ess on July 18, 2019, 08:40:29 pm
 So how do I  get it to work?  Particularly the voice announcements when I Chi up on the, for example, 90,000 talkgroup? Do I have to start the gateway first?
Title: Re: Dmr gateway?
Post by: WB3IHY on July 19, 2019, 07:54:46 am
Make sure that DMRGateway is selected under DMR Configuration in Pi-Star and that everything for DMR+ Master, XLX Master, etc is set appropriately.

Also, You MAY have to "tweak" some of the settings in DMR GW using the expert editor to get it to work the first time.  When I first tried this many months ago, I discovered that a few required settings had not been added automatically.  If you want, I can share the relevant portions of my DMRGateway config file (minus the "sensitive parts," obviously) so you can compare it to yours and cut/paste as needed.

As to usage: First you use 90000-90005 to select which network you'll be using.  Then you go from there.

For example: I want to use TGIF. TG 31665. I key up on 90004 and wait for the voice announcement to say, "Link to DMR 90004." Now, for me, I assigned 531665 in place of 31665 in my codeplug to get around the legacy/now obsolete "automatic switch to Brandmeister" that they built into the modified gateway.  So, I key up 531665 and...voila...I'm there.

Title: Re: Dmr gateway?
Post by: Kd0ess on July 19, 2019, 09:41:47 am
 So whenever I update, well I have to re-do any of these things, and Please share what I do need to change, Iíd appreciate it. Thanks  also, how would I use fusion on DMR gateway?
Title: Re: Dmr gateway?
Post by: WB3IHY on July 19, 2019, 10:52:01 am
Here are the relevant sections of my DMRGateway config (with non-generic passwords and my ID replaced with comments).  You should be able to replace the equivalent sections in yours with mine, replace the comments with data from yours, and be good to go.  Don't forget to backup your original configuration just in case something goes sideways.

Once you get the modified Gateway functional, we can move on to tackle DMR2YSF :)

[General]
RFTimeout=20
NetTimeout=20
RptAddress=127.0.0.1
RptPort=62032
LocalAddress=127.0.0.1
LocalPort=62031
RuleTrace=0
StartNet=4
Daemon=1
Debug=0

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

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

[XLX Network]
Id=(Replace with your DMR ID)
Startup=450
Enabled=1
File=/usr/local/etc/XLXHosts.txt
Port=62030
Password=passw0rd
ReloadTime=60
Slot=2
TG=6
Base=64000
Relink=0
Debug=0
UserControl=1

[DMR Network 1]
Enabled=1
Name=BM_Mexico_3341
Address=72.1.241.232
Port=62031
Local=62037
TGRewrite=2,9,2,9,1
PCRewrite=2,94000,2,4000,1001
TypeRewrite=1,9990,1,9990
SrcRewrite=2,4000,2,9,1001
PassAllPC=2
Password=(Replace with your BM Password)
Location=1
Debug=0
Id=(Replace with your DMR ID)

[DMR Network 2]
Enabled=1
Name=DMR+_IPSC2-NewYork
Address=192.241.175.221
Port=55555
TGRewrite=2,9990,2,9990,1
PCRewrite=2,84000,2,4000,1001
PassAllTG=2
Password="PASSWORD"
Location=0
Debug=0
Id=(Replace with your DMR ID)
Options="StartRef=4000;RelinkTime=60;UserLink=1;TS1_1=9;"

[DMR Network 4]
Enabled=1
Name=TGIF_Network
id=(Replace with your DMR ID)
Address=tgif.network
Port=62031
Local=62035
TGRewrite=2,500001,2,1,99999
Password=passw0rd
Location=1
Debug=0

[DMR Network 3]
Enabled=1
Name=DMR2YSF_Cross-over
Id=(Replace with your DMR ID)
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
Title: Re: Dmr gateway?
Post by: Kd0ess on July 19, 2019, 10:56:22 am
 Can I just go into the expert editor on the web dashboard and paste what you put in into an edit field? And how do I back up my original file? Where is it, and what is it called?  Thanks for everything!
Title: Re: Dmr gateway?
Post by: Kd0ess on July 19, 2019, 11:06:26 am
 I looked at your reply, went into the dashboard webpage, went to expert editor, and clicked on dmrgw, but I didnít see anything about ĒvoiceĒ in the configuration file, let alone anything about/var/pistar. Did it not installed correctly then I wonder? Or did I click on the wrong thing?
Title: Re: Dmr gateway?
Post by: WB3IHY on July 19, 2019, 11:15:33 am
Can I just go into the expert editor on the web dashboard and paste what you put in into an edit field? And how do I back up my original file? Where is it, and what is it called?  Thanks for everything!

Backups are easy: Configuration, Backup/Restore, Download Configuration.  The DMRGateway configuration file is part of that backup.

And, yes, you can do all the editing from the expert editor.  Just be sure to back everything up first! :)
Title: Re: Dmr gateway?
Post by: WB3IHY on July 19, 2019, 11:18:06 am
I looked at your reply, went into the dashboard webpage, went to expert editor, and clicked on dmrgw, but I didnít see anything about ĒvoiceĒ in the configuration file, let alone anything about/var/pistar. Did it not installed correctly then I wonder? Or did I click on the wrong thing?

You're in the right place.  And, yes, that's likely part of the installation that didn't quite go as planned.

Incidentally, the Gateway install goes much easier on version 4+ of Pi-Star.  Installation on Version 3.X did work, but it took much more tweaking (like this) to get it to work.
Title: Re: Dmr gateway?
Post by: Kd0ess on July 19, 2019, 11:18:36 am
 OK so I back up all the time so that should be fine. :-)
Title: Re: Dmr gateway?
Post by: Kd0ess on July 19, 2019, 11:19:46 am
 But Iím on 4.10RC3.
Title: Re: Dmr gateway?
Post by: WB3IHY on July 19, 2019, 11:28:44 am
But Iím on 4.10RC3.

So am I.  But I originally installed on 3.X.  So my configuration file was almost mostly "ready" for when I upgraded to 4.  Since this is your first ride on the Gateway, you've got to put in the initial "legwork."

To answer one of your previous questions: No, you won't have to do all this after EVERY update.  Some of them, yes, if Andy does any fiddling with the Gateway and pushes it down the line.

But once you get the config file right, that should persist between updates.  You should just have to re-patch the gateway when Andy fiddles, which hasn't been often.  A pain, true, but not a big one.
Title: Re: Dmr gateway?
Post by: Kd0ess on July 19, 2019, 11:30:47 am
 So what do I do, given that my configuration file started with my location credentials and what not? Do I just paste in what you sent, and if so, starting from which point?
Title: Re: Dmr gateway?
Post by: WB3IHY on July 19, 2019, 11:34:18 am
So what do I do, given that my configuration file started with my location credentials and what not? Do I just paste in what you sent, and if so, starting from which point?

You should be able to replace everything BELOW THE END of  your [INFO] section with the contents I supplied.  Then, go through and put in your DMR ID where I indicated, BM password with yours where I indicated, etc.
Title: Re: Dmr gateway?
Post by: Kd0ess on August 05, 2019, 08:29:41 am
 I donít know what I did, whether it was an update or what, but the DMR gateway seems broken. Whenever I key  up on the radio on anything, it doesnít show that I keyed up on the  Dashboard or livelogs. 
Title: Re: Dmr gateway?
Post by: Kd0ess on August 05, 2019, 08:57:57 am
 Well now whenever I do An update I get the following:  MMDVMHost: error while loading shared libraries: ArduiPi_OLED.so.1: cannot open shared object  file no such file or directory
/usr/local/sbin/pistar-update: line 145: [: >: unary operator expected