@PeterR please can you post the error here
Thanks, I'll get that fixed for the next versionInstalling on a RT-AC66u, error-
cp: can't stat '/www/require/modules/menuTree.js': No such file or directory
sed: /tmp/menuTree.js: No such file or directory
cp: can't stat '/tmp/menuTree.js': No such file or directory
mount: mounting /jffs/scripts/custom_menuTree.js on /www/require/modules/menuTree.js failed: No such file or directory
On install it had pool.ntp.org and it seemed to prefer China, which I have blocked along with other known bad sources, per firehol.As a matter of course, when setting up an NTP client, I always pick pool.
If I have a good NTP client, it will figure out that this or that server is good or bad and switch to another.
A handy explanation of what and how is here:
http://www.ntp.org/ntpfaq/NTP-s-algo.htm#Q-ALGO-BASIC-SYNC
I change those to north-america.pool.ntp.org and was getting still wide fluctuations in jitter. I then narrowed it down to us.pool.ntp.org and after about a week it settled to what I posted above. The shorter the distance to the server pool, the better, obviously.
Can you provide me with a copy of /www/state.js please? I modify that file with another script, and need to ensure nothing conflictsInstalling on a RT-AC66u, error-
cp: can't stat '/www/require/modules/menuTree.js': No such file or directory
sed: /tmp/menuTree.js: No such file or directory
cp: can't stat '/tmp/menuTree.js': No such file or directory
mount: mounting /jffs/scripts/custom_menuTree.js on /www/require/modules/menuTree.js failed: No such file or directory
Can you provide me with a copy of /www/state.js please? I modify that file with another script, and need to ensure nothing conflicts
server 0.us.pool.ntp.org iburst minpoll 1 maxpoll 3
server 1.us.pool.ntp.org iburst minpoll 1 maxpoll 3
server 2.us.pool.ntp.org iburst minpoll 1 maxpoll 3
server 3.us.pool.ntp.org iburst minpoll 1 maxpoll 3
Please explain to everyone why you think a poll of less than six to a public NTP server is acceptable.Tried and it appears that minpoll 1 is invalid?
Apr 13 09:27:58 S77ntpd: Waiting for NTP to sync before starting...
Apr 13 13:27:58 ntpd[19278]: ntpd 4.2.8p12@1.3728-o Fri Mar 22 21:45:59 UTC 2019 (1): Starting
Apr 13 13:27:58 ntpd[19278]: Command line: ntpd -c /jffs/configs/ntp.conf -g
Apr 13 13:27:58 ntpd[19283]: proto: precision = 2.567 usec (-18)
Apr 13 13:27:58 ntpd[19283]: minpoll: provided value (1) is out of range [3-255])
Apr 13 13:27:58 ntpd[19283]: switching logging to file /opt/var/spool/ntp/ntp.log
Apr 13 09:27:59 ntpMerlin: Lock file found (age: 67 seconds) - stopping to prevent duplicate runs
I set to minpoll 3 maxpoll 6
Is this correct?
Please explain to everyone why you think a poll of less than six to a public NTP server is acceptable.
I was strictly looking at the range provided by Gattica ( server 0.us.pool.ntp.org iburst minpoll 1 maxpoll 3 )
If the range was invalid (1) and the minimum is 3, I was just adjusting the range parameters by a factor of 3 (3 -6) instead of (1 -3).
According to this https://access.redhat.com/solutions/39194 provided by hervon, it appears that no parameters should be set.
Is there a polite parameter to set? Or should minpoll, maxpoll not be used?
So, @EmeraldDeer was being a bit cryptic ... using a minpoll of less than 6 against public servers at the very least is considered extremely rude, and also is likely to get you kicked off of the public servers, and can actually decrease your overall clock accuracy. Please don't change minpoll below 6.https://access.redhat.com/solutions/39194
minpoll <value>
maxpoll <value>
- These options specify the minimum and maximum poll intervals for NTP messages, in seconds as a power of two.
- The maximum poll interval defaults to 10 (1,024 s), but can be increased by the maxpoll option to an upper limit of 17 (36.4 h).
- The minimum poll interval defaults to 6 (64 s), but can be decreased by the minpoll option to a lower limit of 3 (8 s).
Polite Parameters for public NTP serversI was strictly looking at the range provided by Gattaca ( server 0.us.pool.ntp.org iburst minpoll 1 maxpoll 3 )
If the range was invalid (1) and the minimum is 3, I was just adjusting the range parameters by a factor of 3 (3 -6) instead of (1 -3).
According to this https://access.redhat.com/solutions/39194 provided by hervon, it appears that no parameters should be set.
Is there a polite parameter to set? [3-255] Or should minpoll, maxpoll not be used?
So, @EmeraldDeer was being a bit cryptic ... using a minpoll of less than 6 against public servers at the very least is considered extremely rude, and also is likely to get you kicked off of the public servers, and can actually decrease your overall clock accuracy. Please don't change minpoll below 6.
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
W | ntpMerlin ntpMerlin and timeserverd ntp_ready tests | Asuswrt-Merlin AddOns | 1 | |
D | NTPmerlin config log not found | Asuswrt-Merlin AddOns | 2 | |
A | ntpMerlin Problems with ntpMerlin | Asuswrt-Merlin AddOns | 9 |
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!