ntpMerlin Chrony 4.0

  • 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.

JGrana

Senior Member
NTS is the major new feature/function. It also added many new features/enhancements:


I agree that it appears to be doing a better job at real time management.

Now, to find NTS servers and setup Asuswrt-Merlin chrony to use NTS. I tried (I have been running a self compiled 4.0). I'm not a security guru and it was a bit over my head.

Now that it is in the wild, I'm hoping some clever users will come up with the steps to setup and enable NTS server attachments on Asuswrt-Merlin.

BTW, if you install chrony (via spdmerlin) you also install chronyc - a command line tool (spdmerlin uses this to collect the stats that are graphed).

To explore, you can run chronyc in interactive mode. Just enter chronyc.
You will be at the chronyc command prompt:

chronyc>

Enter the command help to get started

chronyc> help
 

Jack Yaz

Part of the Furniture
NTS is the major new feature/function. It also added many new features/enhancements:


I agree that it appears to be doing a better job at real time management.

Now, to find NTS servers and setup Asuswrt-Merlin chrony to use NTS. I tried (I have been running a self compiled 4.0). I'm not a security guru and it was a bit over my head.

Now that it is in the wild, I'm hoping some clever users will come up with the steps to setup and enable NTS server attachments on Asuswrt-Merlin.

BTW, if you install chrony (via spdmerlin) you also install chronyc - a command line tool (spdmerlin uses this to collect the stats that are graphed).

To explore, you can run chronyc in interactive mode. Just enter chronyc.
You will be at the chronyc command prompt:

chronyc>

Enter the command help to get started

chronyc> help
i can brush off the NTS default conf file I had, at last
 

JGrana

Senior Member

Slawek P

Regular Contributor
Hiya, what happened here? It is too good to be truth. Things appear normal but look at graphs - that is impossible. OK at least I have never seen it on my router
Code:
Stratum         : 8
Ref time (UTC)  : Sat Dec 05 08:27:05 2020
System time     : 0.000000038 seconds slow of NTP time
Last offset     : +0.000000000 seconds
RMS offset      : 0.000000000 seconds
Frequency       : 6.130 ppm slow
Residual freq   : +0.000 ppm
Skew            : 0.000 ppm
Root delay      : 0.000000000 seconds
Root dispersion : 0.000000000 seconds
Update interval : 0.0 seconds
Leap status     : Normal
chrony.png
 
Last edited:

Slawek P

Regular Contributor
Graphs are still working btw when I REALLY zoom in I can see some fluctuation - it just units that have changed dramatically. Unbelievable. @Jack Yaz - we need nanoseconds now not milliseconds
 
Last edited:

JGrana

Senior Member
View attachment 28226
looks like entware may have built it without nts support?
I was afraid of that... When I compiled chrony on my AX88U, it did not include NTS as well. Compiled on a Rpi4 running Raspbian, NTS was included.

There is a configure script in the chrony build directory that checks for GnuTLS. If not present, no NTS. Entware does have libgnutls but it's headers etc must not have been in the compile path. Just a guess.

I thought I had mentioned this to the Entware devs. I will log another issue on github.
 

Jack Yaz

Part of the Furniture
i replied to your existing issue :)
I was afraid of that... When I compiled chrony on my AX88U, it did not include NTS as well. Compiled on a Rpi4 running Raspbian, NTS was included.

There is a configure script in the chrony build directory that checks for GnuTLS. If not present, no NTS. Entware does have libgnutls but it's headers etc must not have been in the compile path. Just a guess.

I thought I had mentioned this to the Entware devs. I will log another issue on github.
 

thecheapseats

Regular Contributor
Hiya, what happened here? It is too good to be truth. Things appear normal but look at graphs - that is impossible. OK at least I have never seen it on my router
hmmm... I'll turn off my local gps time source and see...
 

Slawek P

Regular Contributor
hmmm... I'll turn off my local gps time source and see...
Too early to celebrate - usually if something sounds too good to be truth it is not.
Despite accepting now nts parameter I also can see in logs Missing NTS support. Switching back non nts brings the noise back.
So I guess it was not running as expected -i.e. not communicating with ntp severs at all
 

Slawek P

Regular Contributor
Graphs are still working btw when I REALLY zoom in I can see some fluctuation - it just units that have changed dramatically. Unbelievable. @Jack Yaz - we need nanoseconds now not milliseconds
Well sounds we will have to settle on μs for now :)
 

JGrana

Senior Member
Well sounds we will have to settle on μs for now :)
Maybe. Unless you are running a local chrony NTP server with attached GPS:

Reference ID : C0A801CD (RaspiServer)
Stratum : 2
Ref time (UTC) : Sat Dec 05 13:46:31 2020
System time : 0.000000265 seconds slow of NTP time
Last offset : -0.000000470 seconds
RMS offset : 0.000004017 seconds
Frequency : 1.330 ppm slow
Residual freq : -0.000 ppm
Skew : 0.054 ppm
Root delay : 0.001356251 seconds
Root dispersion : 0.000105098 seconds
Update interval : 16.0 seconds
Leap status : Normal

;-)
 

thecheapseats

Regular Contributor
Maybe. Unless you are running a local chrony NTP server with attached GPS<snip>
yes it easy to get spoiled... amazes me the resolution I get... and no need to get permission from the low stratum server operators at the 'usual' institutions...
 

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