What's new

ntpMerlin ntpMerlin - NTP Daemon for AsusWRT Merlin

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

ntpq -4 -c rv | grep stratum

this is as close as i can find. note this is reporting your personal stratum status, if you are using ntp.pool.org this value could be continuously changing over time depending on what servers it syncs with.
 
What value does knowing which stratum server you are syncing with add? (i'm unsure, personally!)
self gratification for some. it is more important to know the stratum you have become on each sync with pool.ntp.org with each time sync this value could change depending on how the servers you sync with changes. if this value becomes some crazy off the wall number, that could indicate that your clock is not sync properly with those servers.
 
Last edited:
@Jack Yaz is there supposed to be two prerouting rules in the vserver section of port forwarding, if you enable NTP intercept?
 
What ports does yours display if I remember correctly mine was 123, but for some absurd reason my VoIP ata stop working, but yesterday when checking the common script apparently my Entware wasn't working so I had to re Install it.
Also thank you, I appreciate it.

@Jack Yaz out of curiosity does the script check if Entware is loaded on boot because I was using your common tool and the graphs bugged out and when I went to re Install it said Entware wasn't present but the NTP graphs were still working ish I just find it strange.
 
123
 
What ports does yours display if I remember correctly mine was 123, but for some absurd reason my VoIP ata stop working, but yesterday when checking the common script apparently my Entware wasn't working so I had to re Install it.
Also thank you, I appreciate it.

@Jack Yaz out of curiosity does the script check if Entware is loaded on boot because I was using your common tool and the graphs bugged out and when I went to re Install it said Entware wasn't present but the NTP graphs were still working ish I just find it strange.
connmon still uses the old approach and has a heavier dependency on entware. ntpmerlin only needs entware for ntpd now
 
connmon still uses the old approach and has a heavier dependency on entware. ntpmerlin only needs entware for ntpd now
Ahh I understand that thanks because I was wondering if that bugged out on me causing NTP to break which breaks time synchronisation and reboot schedule.
 
connmon still uses the old approach and has a heavier dependency on entware. ntpmerlin only needs entware for ntpd now
I have found a new issue
Code:
Jul  7 13:57:34  ntpd[10678]: ntpd 4.2.8p13@1.3847-o Fri May 24 19:54:06 UTC 2019 (1): Starting
Jul  7 13:57:34 ntpd[10678]: Command line: ntpd -pn
Jul  7 13:57:34  ntpd[10680]: proto: precision = 1.373 usec (-19)
Jul  7 13:57:34  ntpd[10680]: getconfig: Couldn't open </etc/ntp.conf>: No such file or directory
Jul  7 13:57:34  ntpd[10680]: unable to bind to wildcard address :: - another process may be running - EXITING

what could be using said Wildcard address ?
 
I have found a new issue
Code:
Jul  7 13:57:34  ntpd[10678]: ntpd 4.2.8p13@1.3847-o Fri May 24 19:54:06 UTC 2019 (1): Starting
Jul  7 13:57:34 ntpd[10678]: Command line: ntpd -pn
Jul  7 13:57:34  ntpd[10680]: proto: precision = 1.373 usec (-19)
Jul  7 13:57:34  ntpd[10680]: getconfig: Couldn't open </etc/ntp.conf>: No such file or directory
Jul  7 13:57:34  ntpd[10680]: unable to bind to wildcard address :: - another process may be running - EXITING

what could be using said Wildcard address ?
firmware's ntpd? but that should be disabled by ntpmerlin - check in System settings (i think)
 
since option6:ntp-server is now somewhat supported by dnsmasq, could you add an option for it in your next release @Jack Yaz

it may look something like
dhcp-option=lan,option6:56,[::]

dhcp-option=lan,option6:56,$(nvram get ipv6_rtr_addr) <<--don't know about this one since yours is defined in different DNSMASQ format than the routers built in options are.
 
Just want to add - busybox actually does a good job at NTP syncing...

Out of my openwrt efforts... this is busybox/sysntpd

Code:
3096 root      1200 S<   /usr/sbin/ntpd -n -N -l -S /usr/sbin/ntpd-hotplug -p time1.google.com -p time2.google.com -p time3.google.com -p time4.google.com

Close enough for most purposes...
 
Is there an ntpq command that pulls just the strata?

ntpq -p -c rv

Code:
    remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*_gateway        71.79.79.71      2 u   50  128  377    0.505   -0.533   0.206
-192.168.1.20    216.239.35.8     2 u  105  128  377    2.463   -3.519   0.395
+192.168.1.1     216.239.35.0     2 u    1  128  377    1.884    1.143   0.215
+192.168.1.15    216.239.35.0     2 u   66  128  377    1.999   -1.557   0.450
associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync,
version="ntpd 4.2.8p10@1.3728-o (1)", processor="x86_64",
system="Linux/4.15.0-54-generic", leap=00, stratum=3, precision=-23,
rootdelay=39.125, rootdisp=22.357, refid=192.168.0.1,
reftime=e0d65d07.1fc6957f  Sun, Jul 14 2019 19:01:43.124,
clock=e0d65d39.2bf8e7ae  Sun, Jul 14 2019 19:02:33.171, peer=3932, tc=7,
mintc=3, offset=-0.187356, frequency=-37.413, sys_jitter=1.799138,
clk_jitter=0.989, clk_wander=0.110, tai=37, leapsec=201701010000,
expire=201912280000
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Members online

Top