[FS#260] ntp server doesn't work - no reply to clients

LEDE Bugs lede-bugs at lists.infradead.org
Tue Nov 1 15:34:36 PDT 2016


The following task has a new comment added:

FS#260 - ntp server doesn't work - no reply to clients
User who did this - juanriccio (juanriccio)

----------
Issue confirmed with Lede r2065. Rather than disabling the wan, I edited /etc/config/system to add a couple bogus ntp servers:

config timeserver 'ntp'
        option enable_server '1'
        list server 'fake1.time.invalid'
        list server 'fake1.time.invalid'

and restarted the daemon:

/etc/init.d/sysntpd restart

After this, the clients got no response from the Lede ntp server. The server started working again as soon as I restored the proper servers in /etc/config/system and restarted sysntpd again.

Is this behavior intended? It seems a bit too radical to silence the ntp server while external stp service isn't available. If a client tries to sync time while there is a wan outage, it will get no answer from the router - and maybe reset itself to internal timekeeping or manual time setup (it actually happened to me).
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=260#comment736



More information about the lede-bugs mailing list