I know I'm not alone in this but I still haven't found a definitive solution. I tried @Jack Yaz 'aggressive ntpwatchdog at boot' script found elsewhere, but to no avail. I searched the forum but ntp is too short and and other search criteria return non-relevant topics. So here is the issue: every other reboot, NTP fails to sync, regardless which version of Asuswrt-Merlin I use, so this is not specific to the 386.x builds, I've had it before in past versions as well. I can't schedule a reboot at night, knowing that half of the time I'll be woken early with my son complaining that 'the internet is broken again'.
As soon as reboot is finished the ASUS DDNS logo shows an additional icon overlay and I know what time it is (but the router apparently doesn't). I open the logfile and wait patiently to see if the situation will correct itselfs, but it (almost never) doesn't, so DNS resolving doesn't work (NextDNS CLI relies on correctly synced time as well), add-ons don't get loaded, SkyNet starts yelling at me:
- Please Fix Immediately!
and the only thing I can do is to restart again, after which the problem is solved and everyone lives happily ever after until the next reboot. I must be mistaken, but I feel like it's exactly every other reboot, and I don't see any logical cause behind it. Looking at the logfiles WAN is always up before NTPD is started, so I have no clue why this happens every other reboot.
My WAN settings are as follows:
The entire log from start syslogd until required reboot can be found here: https://privatebin.net/?12cc4f161f1697e3#Df5RS243hhbdzsHsQG2gNntan58GxmBh9XmsDVNjzbJN
Is there a solution to this that I've missed? Or any pointers on how to troubleshoot this? The RT-AC86U reboots fast but it annoys me that I always have to do it twice before I can continue... Excuse my impatience.
Edit: forget to mention I tried both ntpd and chronyd, but that doesn't make a difference.
Thanks in advance.
Marco
As soon as reboot is finished the ASUS DDNS logo shows an additional icon overlay and I know what time it is (but the router apparently doesn't). I open the logfile and wait patiently to see if the situation will correct itselfs, but it (almost never) doesn't, so DNS resolving doesn't work (NextDNS CLI relies on correctly synced time as well), add-ons don't get loaded, SkyNet starts yelling at me:
Code:
May 5 07:10:58 Skynet: [*] NTP Failed To Start After 5 Minutes
and the only thing I can do is to restart again, after which the problem is solved and everyone lives happily ever after until the next reboot. I must be mistaken, but I feel like it's exactly every other reboot, and I don't see any logical cause behind it. Looking at the logfiles WAN is always up before NTPD is started, so I have no clue why this happens every other reboot.
My WAN settings are as follows:
The entire log from start syslogd until required reboot can be found here: https://privatebin.net/?12cc4f161f1697e3#Df5RS243hhbdzsHsQG2gNntan58GxmBh9XmsDVNjzbJN
Is there a solution to this that I've missed? Or any pointers on how to troubleshoot this? The RT-AC86U reboots fast but it annoys me that I always have to do it twice before I can continue... Excuse my impatience.
Edit: forget to mention I tried both ntpd and chronyd, but that doesn't make a difference.
Thanks in advance.
Marco
Last edited: