Jack Yaz
Part of the Furniture
seems to work in all of my scripts where TZ is exported prior to calling on the entware appThe TZ variable has to be a path/filename for a tz file, otherwise entware apps can't determine the time.
seems to work in all of my scripts where TZ is exported prior to calling on the entware appThe TZ variable has to be a path/filename for a tz file, otherwise entware apps can't determine the time.
ntpq> peers
remote refid st t when poll reach delay offset jitter
==============================================================================
132.163.97.1 .NIST. 1 u 36 64 377 35.425 +60.003 0.002
129.6.15.30 .NIST. 1 u 51y 64 377 67.681 +49.925 0.000
63.145.169.3 .TRUE. 1 u 51y 64 372 156.975 -28.045 0.000
66.220.9.122 .CDMA. 1 u 51y 64 357 11.875 +50.753 0.000
ntpq> rv 37824
associd=37824 status=901a conf, reach, sel_reject, 1 event, sys_peer,
srcadr=time-a-wwv.nist.gov, srcport=123, dstadr=192.168.1.1,
dstport=123, leap=00, stratum=1, precision=-29, rootdelay=0.244,
rootdisp=0.488, refid=NIST,
reftime=e4617b80.00000000 Tue, Jun 1 2021 20:37:36.000,
rec=83aa7e80.aae2c105 Wed, Dec 31 1969 16:00:00.667, reach=377,
unreach=0, hmode=3, pmode=4, hpoll=7, ppoll=13, headway=0,
flash=400 peer_dist, keyid=0, offset=-187.893, delay=35.568,
dispersion=15937.500, jitter=0.000, xleave=0.098,
filtdelay= 1622605 1622604 1622604 1622604 1622604 1622604 1622604 1622604,
filtoffset= +811302 +811302 +811302 +811302 +811302 +811302 +811302 +811302,
filtdisp= 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0
admin@RT-AC88U-B1E8:/# date
Tue Jun 1 20:51:38 DST 2021
ntpq> peers
remote refid st t when poll reach delay offset jitter
==============================================================================
45.15.168.98 (b 193.204.114.233 2 u 51y 64 7 0.000 +0.000 0.000
eterna.binary.n 216.218.192.202 2 u 51y 64 7 0.000 +0.000 0.000
ntp.wdc1.us.lea 130.133.1.10 3 u 16 64 7 62.275 -1529.3 11.554
t2.time.bf1.yah 129.6.15.28 2 u 15 64 7 70.414 -1526.5 11.118
ntpq> peers
remote refid st t when poll reach delay offset jitter
==============================================================================
45.15.168.98 (b 193.204.114.233 2 u 51y 64 16 0.000 +0.000 0.000
eterna.binary.n 216.218.192.202 2 u 19 64 17 58.219 -1540.8 0.002
ntp.wdc1.us.lea 130.133.1.10 3 u 51y 64 17 1622608 +811304 8113041
t2.time.bf1.yah 129.6.15.28 2 u 51y 64 17 1622608 +811304 8113041
ntpq> peers
remote refid st t when poll reach delay offset jitter
==============================================================================
45.15.168.98 (b 129.70.132.32 3 u 51y 64 376 1622609 +811304 33593.1
eterna.binary.n 128.138.140.44 2 u 51y 64 377 1622609 +811304 32128.0
ntp.wdc1.us.lea 130.133.1.10 3 u 14 64 377 62.320 -1665.5 8113045
t2.time.bf1.yah 129.6.15.28 2 u 51y 64 377 1622609 +811304 33483.1
The firmware NTP client is disabled ntpMerlin. But if that did not happen, it could explain your situation.Does the firmware's built-in ntp client "fight" with ntpd, or does ntpmerlin disable it somehow?
# ps | grep -E 'chrony|ntp'
Would you consider to use cronyd and try it out? With chrony I can use the command "chronyc clients" to check the status.This is interesting:
Code:admin@RT-AC88U-B1E8:/tmp/mnt/entware/entware/sbin# ntpdc -l localhost.localdomain: timed out, nothing received ***Request timed out
I tried chrony and still could not get any LAN clients to sync. I did not try to debug chrony because I'm more familiar with ntp's tools and it's having the same issue, which suggests some kind of system problem.Would you consider to use cronyd and try it out? With chrony I can use the command "chronyc clients" to check the status.
admin@RT-AC88U-B1E8:/tmp/mnt/entware/entware# ntpq -c rv
associd=0 status=c028 leap_alarm, sync_unspec, 2 events, no_sys_peer,
version="ntpd 4.2.8p15@1.3728-o Sun Apr 18 13:11:49 UTC 2021 (1)",
processor="armv7l", system="Linux/2.6.36.4brcmarm", leap=11, stratum=16,
precision=-19, rootdelay=0.000, rootdisp=0.000, refid=.,
reftime=83aa7e80.b8b2420a Wed, Dec 31 1969 16:00:00.721,
clock=e4622599.3bdfa4c6 Wed, Jun 2 2021 8:43:21.233, peer=0, tc=9,
mintc=3, offset=-2.315905, frequency=+4.421, sys_jitter=0.904328,
clk_jitter=2.971, clk_wander=1.526
15:57:35.790753 IP (tos 0xb8, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 76)
x.x.x.x.ntp > time.cloudflare.com.ntp: [bad udp cksum 0xbf88 -> 0xeee5!] NTPv4, length 48
Client, Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 6 (64s), precision -19
Root Delay: 0.000000, Root dispersion: 0.000000, Reference-ID: (unspec)
Reference Timestamp: 0.000000000
Originator Timestamp: 3831663388.864090386 (2021/06/02 15:56:28)
Receive Timestamp: 2208988800.149314613 (1969/12/31 16:00:00)
Transmit Timestamp: 3831663455.790690755 (2021/06/02 15:57:35)
Originator - Receive Timestamp: -1622674588.714775772
Originator - Transmit Timestamp: +66.926600369
-7:00:00.219937 IP (tos 0x0, ttl 59, id 17102, offset 0, flags [DF], proto UDP (17), length 76)
time.cloudflare.com.ntp > x.x.x.x.ntp: [udp sum ok] NTPv4, length 48
Server, Leap indicator: (0), Stratum 3 (secondary reference), poll 6 (64s), precision -25
Root Delay: 0.030319, Root dispersion: 0.001129, Reference-ID: 10.12.2.186
Reference Timestamp: 3831663244.101998406 (2021/06/02 15:54:04)
Originator Timestamp: 3831663455.790690755 (2021/06/02 15:57:35)
Receive Timestamp: 3831663455.863878000 (2021/06/02 15:57:35)
Transmit Timestamp: 3831663455.863907319 (2021/06/02 15:57:35)
Originator - Receive Timestamp: +0.073187244
Originator - Transmit Timestamp: +0.073216564
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!