I recently tried updating the list of NTP servers that Gargoyle uses to a different set of servers. Oddly, in succession to my placing them in the order I desired them to be, Gargoyle upon saving my updates reversed the order!?!
What I entered (in the exact order) in the GUI:
time.nist.gov
time.apple.com
0.pool.ntp.org
What I saw in the /etc/config/system file after saving:
list server '0.pool.ntp.org'
list server 'time.apple.com'
list server 'time.nist.gov'
I then logged out of the router's GUI, cleared the browser's cache, logged back in and went to the NTP page and saw this as the order (which makes sense given the wrong /etc/config/system file's entries being in reverse order too):
0.pool.ntp.org
time.apple.com
time.nist.gov
This I think is a bug!
NTP Servers not saving properly as appointed in the GUI
Moderator: Moderators
NTP Servers not saving properly as appointed in the GUI
Very Respectfully,
Stuart, N3GWG
Computer Scientist
Stuart, N3GWG
Computer Scientist
Re: NTP Servers not saving properly as appointed in the GUI
ntpd does not care about the order of servers, so in this case, a harmless bug.
I have corrected the underlying issue regardless.
I have corrected the underlying issue regardless.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: NTP Servers not saving properly as appointed in the GUI
Well, I am glad to hear it is getting corrected (if for no other reason to avoid confusing people unnecessarily). However, I do know that ntpd does (or at least used to, the last time I checked) try to find the best server to use based on measurements it took of all servers supplied. I presume by your comments that is still the case.Lantis wrote:ntpd does not care about the order of servers, so in this case, a harmless bug.
I have corrected the underlying issue regardless.
Very Respectfully,
Stuart, N3GWG
Computer Scientist
Stuart, N3GWG
Computer Scientist
Re: NTP Servers not saving properly as appointed in the GUI
That is correct
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.