Bug Report - Static P25 Groups/Hang Time settings

General support for the Pi-Star System
Post Reply
N6MIK
Posts: 59
Joined: Wed Apr 18, 2018 12:53 am

Bug Report - Static P25 Groups/Hang Time settings

Post by N6MIK »

Greetings,

Unexpected changes occur in the [Network] section of /etc/p25gateway any time "Apply Settings" or a restart services is performed, regardless of if P25 related. This breaks the P25 static connections. This is repeatable on a fresh install of 4.1.5, updated, and then upgraded to 4.1.6.

As manually configured in Quick Edit: P25 GW. Pi-Star connects to all reflectors and works fine here.

[Network]
Port=42010
HostsFile1=/usr/local/etc/P25Hosts.txt
HostsFile2=/usr/local/etc/P25HostsLocal.txt
ReloadTime=60
ParrotAddress=127.0.0.1
ParrotPort=42011
Debug=0
P252DMRAddress=127.0.0.1
P252DMRPort=42012
Static=10100,10200,10300,10400
RFHangTime=30
NetHangTime=30


Any time I do something that causes the services to restart, p25gateway is modified. The Static= line is removed, and the hang times are reset to zero:

[Network]
Port=42010
HostsFile1=/usr/local/etc/P25Hosts.txt
HostsFile2=/usr/local/etc/P25HostsLocal.txt
ReloadTime=60
ParrotAddress=127.0.0.1
ParrotPort=42011
Debug=0
P252DMRAddress=127.0.0.1
P252DMRPort=42012
RFHangTime=0
NetHangTime=0
N6MIK
Posts: 59
Joined: Wed Apr 18, 2018 12:53 am

Re: Bug Report - Static P25 Groups/Hang Time settings

Post by N6MIK »

A quick follow-up: I can manually revert the changes by editing /etc/p25gateway from a terminal and applying those changes. However, any change after that (including changing the "Country" text in the main config) will break it.
M1DNS
Pi-Star Team
Posts: 1388
Joined: Thu Apr 05, 2018 5:30 am

Re: Bug Report - Static P25 Groups/Hang Time settings

Post by M1DNS »

Manual edits of files often won't hold. remember pistar use case. It is a managed solution for beginers, those that lack linux abiblity.

Pistars expert pages give you a little more play, but i think what you might want is a vanilla vers of MMDVM where you have full control to custom a setup to your liking.


Sent via smoke signals from my SM-G935F M1DNS (Admin)

Andrew M1DNS.
Pi-star Admin Team.
N6MIK
Posts: 59
Joined: Wed Apr 18, 2018 12:53 am

Re: Bug Report - Static P25 Groups/Hang Time settings

Post by N6MIK »

Thanks Andrew. I don't believe this has anything to do with manual edits as it is 100% repeatable with a fresh install using the web UI and supported features. (Granted, manual edits can 'undo' the bug temporarily).
Post Reply