ntpMerlin ntpMerlin - NTP Daemon for AsusWRT Merlin

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

QuikSilver

Very Senior Member
For those who switched over to Chrony....have you made any changes to the config?
 

JGrana

Very Senior Member
Quick question. Where does the pid file for chrony reside? I did the uf update (nice addons!) but ntpd was shown as the Timeserver. I clicked on chrony - but it didn't restart. It was running.

From what I have seen in the past, it thinks it is already running (it wasn't).

I started it manually.

Maybe on an S77chronyd restart, force remove the pid file?
 

Jack Yaz

Part of the Furniture
Quick question. Where does the pid file for chrony reside? I did the uf update (nice addons!) but ntpd was shown as the Timeserver. I clicked on chrony - but it didn't restart. It was running.

From what I have seen in the past, it thinks it is already running (it wasn't).

I started it manually.

Maybe on an S77chronyd restart, force remove the pid file?
That suggests your config file was set to ntpd, i guess maybe where you manually pioneered chrony? I can't say I've seen any issues with the pid file in testing
 

JGrana

Very Senior Member
That was it... Yes, I had compiled and installed chronyd before Entware made it available...
My original chrony.conf was in /opt/share/ntpmerlin.d.
In the past, the most likely startup failure was a pid file hanging around. I checked the logs after you mentioned config file and:
chronyd[14362]: Fatal error : Could not open configuration file /jffs/addons/ntpmerlin.d/chrony.conf : No such file or directory

So, moved my config file to /jffs/addons/ntpmerlin.d and a restart worked.
Thanks (I should have checked the log...)
 

Jack Yaz

Part of the Furniture
That was it... Yes, I had compiled and installed chronyd before Entware made it available...
My original chrony.conf was in /opt/share/ntpmerlin.d.
In the past, the most likely startup failure was a pid file hanging around. I checked the logs after you mentioned config file and:
chronyd[14362]: Fatal error : Could not open configuration file /jffs/addons/ntpmerlin.d/chrony.conf : No such file or directory

So, moved my config file to /jffs/addons/ntpmerlin.d and a restart worked.
Thanks (I should have checked the log...)
no worries!

in other news, have you dabbled with nts to upstream? https://fedoramagazine.org/secure-ntp-with-nts/
I think we'll need chrony v4 though :(
 

JGrana

Very Senior Member
no worries!

in other news, have you dabbled with nts to upstream? https://fedoramagazine.org/secure-ntp-with-nts/
I think we'll need chrony v4 though :(
Yes, I saw the 4.0 branch. I have compiled it on my AX88u. Running quite well. I can't seem to get NTS enabled. It requires the gnutls library. The configure script reports no gnutls - so NTS is disabled. I did install the two gnutls packages available on entware. Still won't compile with NTS enabled.
I did compile it with NTS support on Raspbian. Haven't tested NTS (Cloudflare claims to support NTS).
We will have to ask the Entware devs to make sure NTS is enabled when we ask for 4.0
 

Jack Yaz

Part of the Furniture
Yes, I saw the 4.0 branch. I have compiled it on my AX88u. Running quite well. I can't seem to get NTS enabled. It requires the gnutls library. The configure script reports no gnutls - so NTS is disabled. I did install the two gnutls packages available on entware. Still won't compile with NTS enabled.
I did compile it with NTS support on Raspbian. Haven't tested NTS (Cloudflare claims to support NTS).
We will have to ask the Entware devs to make sure NTS is enabled when we ask for 4.0
OK, since it isn't as simple as I'd hoped I won't hold up releasing v3 any longer. Incoming!
 

Jack Yaz

Part of the Furniture
v3.0.0 is now available
Changelog:
Code:
NEW: ntpMerlin can be configured using the WebUI
NEW: Choice of chrony or ntpd as timeserver used by ntpMerlin
IMPROVED: WebUI now uses a dropdown to select a time period for charts
IMPROVED: Update modmon using the WebUI
 

JGrana

Very Senior Member
I'm stuck yet with the missing nobody user. Can't solve it.
For the time being, you could try to replace the "-u nobody" with "-u admin" in /opt/etc/init.d/S77chronyd...
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

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