Hello all.
I have 2 identical Linksys 1200acs.
- LEDE 17.01.4 < NTP works fine w/ same settings
- OpenWRT 18.04.04
Even after 24 hours, NTP peer checks on the OpenWRT never slow down and stay at every ~30 seconds. So if 4 NTP servers listed, conntrack shows 8 connections. Same behavior with just 1 server.
My LEDE router with same NTP settings slows to almost no checks after an hour or less, like NTP is supposed to
1 second watch on firewall. Note the times in seconds.
WAN port is internal right now. Testing. So this is not a gateway.
Every 1.0s: cat /proc/net/nf_conntrack | grep dport=123
ipv4 2 udp 17 **58** src=192.168.128.104 dst=216.239.35.0 sport=32996 dport=123 packets=1 bytes=76 src=216.239.35.0 dst=192
.168.128.104 sport=123 dport=32996 packets=1 bytes=76 mark=0 zone=0 use=2
ipv4 2 udp 17 **25** src=192.168.128.104 dst=216.239.35.0 sport=39618 dport=123 packets=1 bytes=76 src=216.239.35.0 dst=192
.168.128.104 sport=123 dport=39618 packets=1 bytes=76 mark=0 zone=0 use=2
Never slows down and ntptime is always off
root@OpenWrt:~# ntptime -status
ntp_gettime() returns code 5 (**ERROR**)
time e10fa747.a48ad000 Tue, Aug 27 2019 7:57:43.642, (.642743),
maximum error 16000000 us, estimated error 16000000 us
ntp_adjtime() returns code 0 (OK)
modes 0x10 (STATUS),
offset -31444.000 us, frequency -500.000 ppm, interval 1 s,
maximum error 16000000 us, estimated error 16000000 us,
status 0x0 (),
time constant 4, precision 1.000 us, tolerance 500 ppm,
NTP system settings were stock. All changed in GUI.
I did a pin-reset and tried again and got the same results. NTP always lags and never syncs.
To rule out the NTP severs, I used FQDN (ex: time1.google.com) and in a Debian VM, I used the same servers and it synced and slowed down after about 20 minutes. So it's just the OpenWRT router.
ntpq/ntpc times out on localhost. I read that's common and has to do with binding to IPv6 by default (which don't use)
Any help or advice would be welcome. Thank you.