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 -p -c rv

and if folks are concerned about x86 - here's ARM - really cheap china board - NanoPi Neo2

But at the end of the day - it still has a good idea of what time it is - and a sub-20 dollar ARM board..

Code:
sfx@nano2:~$ ntpq -p -c rv
    remote                                   refid      st t when poll reach   delay   offset   jitter
==============================================================
*time1.google.com                        .GOOG.           1 u   10 1024  377  38.0992   3.5965   2.3773
+time2.google.com                        .GOOG.           1 u  656 1024  377  66.8205  -5.5078   1.9433
+time3.google.com                        .GOOG.           1 u  998 1024  377  38.5860   3.6274   2.0173
+time4.google.com                        .GOOG.           1 u  736 1024  377  66.6289  -4.9088   1.7786

status=0018 leap_none, sync_unspec, 1 event, no_sys_peer,
version="ntpd ntpsec-1.1.0+419 2018-03-14T12:03:57-0700", processor="aarch64", system="Linux/4.19.57-sunxi64", leap=00, stratum=2, precision=-20, rootdelay=38.099, rootdisp=40.481, refid=216.239.35.0,
reftime=e0d65d48.bf90248f 2019-07-15T02:02:48.748Z, clock=e0d66158.24b51351 2019-07-15T02:20:08.143Z, peer=4417, tc=10, mintc=0, offset=0.877552, frequency=-20.299576, sys_jitter=9.258729,
clk_jitter=0.838679, clk_wander=0.182524, tai=37, leapsec="2017-01-01T00:00Z", expire="2019-12-28T00:00Z"
 
anyways - router/AP's have to have a tolerance for stability - and this is for both ethernet and wifi to work properly...

busybox/sysntpd is good enough - 30 ppm there...

I'm having to sort 50 ppb at the moment...
 
anyways - router/AP's have to have a tolerance for stability - and this is for both ethernet and wifi to work properly...

busybox/sysntpd is good enough - 30 ppm there...

I'm having to sort 50 ppb at the moment...
Busybox ntpd cannot be queried by ntpq, unless I'm missing something?
 
1f7efed1d8.png


How do I get to that display? I have ntpmerlin installed and can't find where that display should be on my Asus RT-AC68U. TIA
 
Before using this script (many thanks, Jack Yaz) I was using the old NTP daemon installation by @kvic. Installation of the new script gave me a second tab named NTP Daemon. Seeing that the new script works perfectly I tried to uninstall the old version and did everything from the removal instructions apart from the last item
Code:
rm -rf  opt var www
because I did not know if this would break something. Now the old NTP Daemon tab is still under Tools but gives a 404 error. How do I get rid of the tab? Do I really have to remove the whole directory?

P.S. I was unable to submit this posting with the slashes in the path...
 
Last edited:
Before using this script (many thanks, Jack Yaz) I was using the old NTP daemon installation by @kvic. Installation of the new script gave me a second tab named NTP Daemon. Seeing that the new script works perfectly I tried to uninstall the old version and did everything from the removal instructions apart from the last item
Code:
rm -rf  opt var www
because I did not know if this would break something. Now the old NTP Daemon tab is still under Tools but gives a 404 error. How do I get rid of the tab? Do I really have to remove the whole directory?

P.S. I was unable to submit this posting with the slashes in the path...

Did you try all of these uninstall commands below per https://github.com/kvic-z/goodies-asuswrt/wiki/Install-NTP-Daemon-for-Asuswrt-Merlin?

Code:
[Uninstall

unstall rddtool and wget through Entware
remove the lines you added to /jffs/scripts/post-mount and /jffs/scripts/services-start

rm /jffs/bin/ntpd
rm /jffs/bin/ntpq
rm /jffs/bin/ntpstats.sh
rm /jffs/etc/ntp.conf
rm /jffs/configs/fstab
rm /opt/etc/init.d/S77ntpd-custom
rm /opt/var/spool/ntp/Tools_NtpdStats.asp
rm /opt/var/spool/ntp/stats.rrd
rm -rf /opt/var/www
reboot/CODE]


Sent from my iPhone using Tapatalk
 
Before using this script (many thanks, Jack Yaz) I was using the old NTP daemon installation by @kvic. Installation of the new script gave me a second tab named NTP Daemon. Seeing that the new script works perfectly I tried to uninstall the old version and did everything from the removal instructions apart from the last item
Code:
rm -rf  opt var www
because I did not know if this would break something. Now the old NTP Daemon tab is still under Tools but gives a 404 error. How do I get rid of the tab? Do I really have to remove the whole directory?

P.S. I was unable to submit this posting with the slashes in the path...

Then you may have to reinstall Jack Yaz’s ntpMerlin.


Sent from my iPhone using Tapatalk
 
The last step (removing the www directory) was my concern - will it be populated again after a reboot?
 
I just re-read the removal instructions and then again the installation procedure - and realized that it tells me to remove the copy of www which I had created by myself during the installation :rolleyes:

GUI is cleaned - thanks for your patience!
 
im just wondering if there is any reliable alternative ntp servers other than au.pool.ntp.org?
for Australia specifically I would really appreciate the help.
 
You could just use

pool.ntp.org

but I would be using this in the NTP Merlin config file

server 0.au.pool.ntp.org
server 1.au.pool.ntp.org
server 2.au.pool.ntp.org
server 3.au.pool.ntp.org


https://www.pool.ntp.org/zone/au
 
You could just use

pool.ntp.org

but I would be using this in the NTP Merlin config file

server 0.au.pool.ntp.org
server 1.au.pool.ntp.org
server 2.au.pool.ntp.org
server 3.au.pool.ntp.org


https://www.pool.ntp.org/zone/au
Been having issues with it I was wondering if there is any other alternative servers, that are also accurate, if not I'll just go back to them.
 
odd behavior, my system log and other services on the router are reporting an hour behind, but all my devices on the network are sync the correct time. what could be the cause for syslog-ui-scribe, ntpdaemon charts, connmon, and uidivstats to all report the time an hour behind?
 
odd behavior, my system log and other services on the router are reporting an hour behind, but all my devices on the network are sync the correct time. what could be the cause for syslog-ui-scribe, ntpdaemon charts, connmon, and uidivstats to all report the time an hour behind?
An incorrectly set timezone on your router would be my first guess. NTP doesn't know anything about timezones. It only deals with UTC, each computer determines the "local" time by adding the local UTC offset to the time served by NTP. I'm near Los Angeles, and it's Daylight Saving Time now, so my offset is UTC -7; if it's 15:00 UTC, it's 15:00 - 7 = 08:00 here.
 

Similar 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!
Top