What's new

ntpMerlin ntpMerlin v3.x

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

Hi All,
Tried to install this addon, but things went horribly wrong. I installed Entware that seems successful (although there does not seem to be an uninstall command in AMTM -- but that is a different story.). I then installed ntpmerlin and got the following in the syslog

Code:
Feb 22 08:09:04 ntpMerlin: Installing required version of sqlite3 from Entware
Feb 22 08:09:10 ntpMerlin: New version of timeserverd downloaded
Feb 22 08:09:10 timeserverd: Waiting for NTP to sync before starting...
Feb 22 08:09:10 admin: Started timeserverd from .
Feb 22 08:09:15 timeserverd: ntpd dead, restarting...
Feb 22 08:09:20 timeserverd: ntpd restarted
Feb 22 08:09:25 timeserverd: ntpd dead, restarting...
Feb 22 08:09:30 timeserverd: ntpd restarted
Feb 22 08:09:35 timeserverd: ntpd dead, restarting...
Feb 22 08:09:41 timeserverd: ntpd restarted
Feb 22 08:09:41 timeserverd: Waiting for NTP to sync before starting...
Feb 22 08:09:41 admin: Started timeserverd from .
Feb 22 08:09:46 timeserverd: ntpd dead, restarting...
Feb 22 08:09:51 timeserverd: ntpd restarted
Feb 22 08:09:56 timeserverd: ntpd dead, restarting...
Feb 22 08:10:00 ntpMerlin: Lock file found (age: 125 seconds) - stopping to prevent duplicate runs
Feb 22 08:10:01 timeserverd: ntpd restarted
Feb 22 08:10:06 timeserverd: ntpd dead, restarting...
Feb 22 08:10:11 timeserverd: ntpd restarted
Feb 22 08:10:16 timeserverd: ntpd dead, restarting...
Feb 22 08:10:21 timeserverd: ntpd restarted
Feb 22 08:10:26 timeserverd: ntpd dead, restarting...
Feb 22 08:10:31 timeserverd: ntpd restarted
Feb 22 08:10:36 timeserverd: ntpd dead, restarting...
Feb 22 08:10:41 timeserverd: ntpd restarted

This goes on forever. Reboot is no help. I finally uninstalled ntpMerlin. Not sure how I messed it up, but if anyone has some insight, I'd be appreciative
 
Hi All,
Tried to install this addon, but things went horribly wrong. I installed Entware that seems successful (although there does not seem to be an uninstall command in AMTM -- but that is a different story.). I then installed ntpmerlin and got the following in the syslog

Code:
Feb 22 08:09:04 ntpMerlin: Installing required version of sqlite3 from Entware
Feb 22 08:09:10 ntpMerlin: New version of timeserverd downloaded
Feb 22 08:09:10 timeserverd: Waiting for NTP to sync before starting...
Feb 22 08:09:10 admin: Started timeserverd from .
Feb 22 08:09:15 timeserverd: ntpd dead, restarting...
Feb 22 08:09:20 timeserverd: ntpd restarted
Feb 22 08:09:25 timeserverd: ntpd dead, restarting...
Feb 22 08:09:30 timeserverd: ntpd restarted
Feb 22 08:09:35 timeserverd: ntpd dead, restarting...
Feb 22 08:09:41 timeserverd: ntpd restarted
Feb 22 08:09:41 timeserverd: Waiting for NTP to sync before starting...
Feb 22 08:09:41 admin: Started timeserverd from .
Feb 22 08:09:46 timeserverd: ntpd dead, restarting...
Feb 22 08:09:51 timeserverd: ntpd restarted
Feb 22 08:09:56 timeserverd: ntpd dead, restarting...
Feb 22 08:10:00 ntpMerlin: Lock file found (age: 125 seconds) - stopping to prevent duplicate runs
Feb 22 08:10:01 timeserverd: ntpd restarted
Feb 22 08:10:06 timeserverd: ntpd dead, restarting...
Feb 22 08:10:11 timeserverd: ntpd restarted
Feb 22 08:10:16 timeserverd: ntpd dead, restarting...
Feb 22 08:10:21 timeserverd: ntpd restarted
Feb 22 08:10:26 timeserverd: ntpd dead, restarting...
Feb 22 08:10:31 timeserverd: ntpd restarted
Feb 22 08:10:36 timeserverd: ntpd dead, restarting...
Feb 22 08:10:41 timeserverd: ntpd restarted

This goes on forever. Reboot is no help. I finally uninstalled ntpMerlin. Not sure how I messed it up, but if anyone has some insight, I'd be appreciative
I've just done a fresh install and while there are some blemishes (fixing as we speak), I can't reproduce this error.
What do you get for
Code:
which ntpd
ntpd -c /jffs/addons/ntpmerlin.d/ntp.conf
 
I've just done a fresh install and while there are some blemishes (fixing as we speak), I can't reproduce this error.
What do you get for
Code:
which ntpd
ntpd -c /jffs/addons/ntpmerlin.d/ntp.conf
Hi,
I was able to reproduce. *if* I have "enable local NTP Server" and "intercept ntp client request" set to true before installing, I get the above issue. I set both of these values to false, rebooted, then installed fresh. This seems to have worked. I get the Addons screen and a nice GUI now. And the syslog has settled down :)

Code:
Feb 22 09:42:19 dropbear[24303]: Child connection from 10.2.0.128:35272
Feb 22 09:42:26 dropbear[24303]: Password auth succeeded for 'admin' from 10.2.0.128:35272
Feb 22 09:45:01 ntpMerlin: Welcome to ntpMerlin v3.2.2, a script by JackYaz
Feb 22 09:45:02 ntpMerlin: Checking your router meets the requirements for ntpMerlin
Feb 22 09:45:02 ntpMerlin: Installing required packages from Entware
Feb 22 09:45:10 ntpMerlin: /jffs/addons/ntpmerlin.d/ntp.conf does not exist, downloading now.
Feb 22 09:45:11 ntpMerlin: New version of ntpdstats_www.asp downloaded
Feb 22 09:45:11 ntpMerlin: Mounted ntpMerlin WebUI page as user2.asp
Feb 22 09:45:13 ntpMerlin: New version of shared-jy.tar.gz downloaded
Feb 22 09:45:15 ntpMerlin: New version of timeserverd downloaded
Feb 22 09:45:18 timeserverd: Waiting for NTP to sync before starting...
Feb 22 09:45:18 admin: Started timeserverd from .
Feb 22 09:45:18 timeserverd: Waiting for NTP to sync before starting...
Feb 22 09:45:18 admin: Started timeserverd from .
Feb 22 09:45:18 ntpd[27201]: ntpd 4.2.8p15@1.3728-o Sun Nov 29 18:27:57 UTC 2020 (1): Starting
Feb 22 09:45:18 ntpd[27201]: Command line: ntpd -c /jffs/addons/ntpmerlin.d/ntp.conf -g
Feb 22 09:45:18 ntpd[27201]: ----------------------------------------------------
Feb 22 09:45:18 ntpd[27201]: ntp-4 is maintained by Network Time Foundation,
Feb 22 09:45:18 ntpd[27201]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
Feb 22 09:45:18 ntpd[27201]: corporation.  Support and training for ntp-4 are
Feb 22 09:45:18 ntpd[27201]: available at https://www.nwtime.org/support
Feb 22 09:45:18 ntpd[27201]: ----------------------------------------------------
Feb 22 09:45:18 ntpd[27217]: proto: precision = 0.280 usec (-22)
Feb 22 09:45:18 ntpd[27217]: basedate set to 2020-11-17
Feb 22 09:45:18 ntpd[27217]: gps base set to 2020-11-22 (week 2133)
Feb 22 09:45:18 ntpd[27217]: switching logging to file /opt/var/spool/ntp/ntp.log
Feb 22 09:46:20 rc_service: httpd 1409:notify_rc start_ntpmerlinconfig
Feb 22 09:46:20 custom_script: Running /jffs/scripts/service-event (args: start ntpmerlinconfig)
Feb 22 09:46:20 custom_script: Running /jffs/scripts/service-event-end (args: start ntpmerlinconfig)
Feb 22 09:46:20 ntpMerlin: Updated settings from WebUI found, merging into /jffs/addons/ntpmerlin.d/config
Feb 22 09:46:20 timeserverd: Waiting for NTP to sync before starting...
Feb 22 09:46:20 ntpd[28604]: ntpd 4.2.8p15@1.3728-o Sun Nov 29 18:27:57 UTC 2020 (1): Starting
Feb 22 09:46:20 ntpd[28604]: Command line: ntpd -c /opt/share/ntpmerlin.d/ntp.conf -g
Feb 22 09:46:20 ntpd[28604]: ----------------------------------------------------
Feb 22 09:46:20 ntpd[28604]: ntp-4 is maintained by Network Time Foundation,
Feb 22 09:46:20 ntpd[28604]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
Feb 22 09:46:20 ntpd[28604]: corporation.  Support and training for ntp-4 are
Feb 22 09:46:20 ntpd[28604]: available at https://www.nwtime.org/support
Feb 22 09:46:20 ntpd[28604]: ----------------------------------------------------
Feb 22 09:46:20 ntpd[28607]: proto: precision = 0.280 usec (-22)
Feb 22 09:46:20 ntpd[28607]: basedate set to 2020-11-17
Feb 22 09:46:20 ntpd[28607]: gps base set to 2020-11-22 (week 2133)
Feb 22 09:46:20 ntpd[28607]: switching logging to file /opt/var/spool/ntp/ntp.log
Feb 22 09:46:20 admin: Started timeserverd from .
Feb 22 09:46:20 ntpMerlin: Merge of updated settings from WebUI completed successfully

Unfortunately, I didn't run your ntpd suggestions before I got a good install, so I can't provide you with the results of those commands while the system was in the messed up state.
here is what they return now
Code:
admin@RT-AX88U-BD20:/# which ntpd
/opt/sbin/ntpd
admin@RT-AX88U-BD20:/# ntpd -c /jffs/addons/ntpmerlin.d/ntp.conf
ntpd: invalid option -- 'c'
 
Hi,
I was able to reproduce. *if* I have "enable local NTP Server" and "intercept ntp client request" set to true before installing, I get the above issue. I set both of these values to false, rebooted, then installed fresh. This seems to have worked. I get the Addons screen and a nice GUI now. And the syslog has settled down :)

Code:
Feb 22 09:42:19 dropbear[24303]: Child connection from 10.2.0.128:35272
Feb 22 09:42:26 dropbear[24303]: Password auth succeeded for 'admin' from 10.2.0.128:35272
Feb 22 09:45:01 ntpMerlin: Welcome to ntpMerlin v3.2.2, a script by JackYaz
Feb 22 09:45:02 ntpMerlin: Checking your router meets the requirements for ntpMerlin
Feb 22 09:45:02 ntpMerlin: Installing required packages from Entware
Feb 22 09:45:10 ntpMerlin: /jffs/addons/ntpmerlin.d/ntp.conf does not exist, downloading now.
Feb 22 09:45:11 ntpMerlin: New version of ntpdstats_www.asp downloaded
Feb 22 09:45:11 ntpMerlin: Mounted ntpMerlin WebUI page as user2.asp
Feb 22 09:45:13 ntpMerlin: New version of shared-jy.tar.gz downloaded
Feb 22 09:45:15 ntpMerlin: New version of timeserverd downloaded
Feb 22 09:45:18 timeserverd: Waiting for NTP to sync before starting...
Feb 22 09:45:18 admin: Started timeserverd from .
Feb 22 09:45:18 timeserverd: Waiting for NTP to sync before starting...
Feb 22 09:45:18 admin: Started timeserverd from .
Feb 22 09:45:18 ntpd[27201]: ntpd 4.2.8p15@1.3728-o Sun Nov 29 18:27:57 UTC 2020 (1): Starting
Feb 22 09:45:18 ntpd[27201]: Command line: ntpd -c /jffs/addons/ntpmerlin.d/ntp.conf -g
Feb 22 09:45:18 ntpd[27201]: ----------------------------------------------------
Feb 22 09:45:18 ntpd[27201]: ntp-4 is maintained by Network Time Foundation,
Feb 22 09:45:18 ntpd[27201]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
Feb 22 09:45:18 ntpd[27201]: corporation.  Support and training for ntp-4 are
Feb 22 09:45:18 ntpd[27201]: available at https://www.nwtime.org/support
Feb 22 09:45:18 ntpd[27201]: ----------------------------------------------------
Feb 22 09:45:18 ntpd[27217]: proto: precision = 0.280 usec (-22)
Feb 22 09:45:18 ntpd[27217]: basedate set to 2020-11-17
Feb 22 09:45:18 ntpd[27217]: gps base set to 2020-11-22 (week 2133)
Feb 22 09:45:18 ntpd[27217]: switching logging to file /opt/var/spool/ntp/ntp.log
Feb 22 09:46:20 rc_service: httpd 1409:notify_rc start_ntpmerlinconfig
Feb 22 09:46:20 custom_script: Running /jffs/scripts/service-event (args: start ntpmerlinconfig)
Feb 22 09:46:20 custom_script: Running /jffs/scripts/service-event-end (args: start ntpmerlinconfig)
Feb 22 09:46:20 ntpMerlin: Updated settings from WebUI found, merging into /jffs/addons/ntpmerlin.d/config
Feb 22 09:46:20 timeserverd: Waiting for NTP to sync before starting...
Feb 22 09:46:20 ntpd[28604]: ntpd 4.2.8p15@1.3728-o Sun Nov 29 18:27:57 UTC 2020 (1): Starting
Feb 22 09:46:20 ntpd[28604]: Command line: ntpd -c /opt/share/ntpmerlin.d/ntp.conf -g
Feb 22 09:46:20 ntpd[28604]: ----------------------------------------------------
Feb 22 09:46:20 ntpd[28604]: ntp-4 is maintained by Network Time Foundation,
Feb 22 09:46:20 ntpd[28604]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
Feb 22 09:46:20 ntpd[28604]: corporation.  Support and training for ntp-4 are
Feb 22 09:46:20 ntpd[28604]: available at https://www.nwtime.org/support
Feb 22 09:46:20 ntpd[28604]: ----------------------------------------------------
Feb 22 09:46:20 ntpd[28607]: proto: precision = 0.280 usec (-22)
Feb 22 09:46:20 ntpd[28607]: basedate set to 2020-11-17
Feb 22 09:46:20 ntpd[28607]: gps base set to 2020-11-22 (week 2133)
Feb 22 09:46:20 ntpd[28607]: switching logging to file /opt/var/spool/ntp/ntp.log
Feb 22 09:46:20 admin: Started timeserverd from .
Feb 22 09:46:20 ntpMerlin: Merge of updated settings from WebUI completed successfully

Unfortunately, I didn't run your ntpd suggestions before I got a good install, so I can't provide you with the results of those commands while the system was in the messed up state.
here is what they return now
Code:
admin@RT-AX88U-BD20:/# which ntpd
/opt/sbin/ntpd
admin@RT-AX88U-BD20:/# ntpd -c /jffs/addons/ntpmerlin.d/ntp.conf
ntpd: invalid option -- 'c'
ah, did SSH kick you out mid install by any chance? that's probably this issue I need to fix: https://www.snbforums.com/threads/installer-closes-ssh-terminal.70463/#post-665235

weird that -c is reported as an invalid option...
 
ah, did SSH kick you out mid install by any chance? that's probably this issue I need to fix: https://www.snbforums.com/threads/installer-closes-ssh-terminal.70463/#post-665235

weird that -c is reported as an invalid option...
Yes, SSH would kick me out if those two options were selected in the GUI before attempting to install.
Now the ntpd commands return
Code:
admin@RT-AX88U-BD20:/tmp/home/root# which ntpd
/opt/sbin/ntpd
admin@RT-AX88U-BD20:/tmp/home/root# ntpd -c /jffs/addons/ntpmerlin.d/ntp.conf
admin@RT-AX88U-BD20:/tmp/home/root#
 
@Jack Yaz
Hello. I have an ooma telo device on my network. It would obtain an IP address, but never connect to the ooma network after I installed ntpMerlin. If I would switch off redirecting ntp requests to ntpMerlin, it would then connect to the ooma network. I then re-enabled handling the ntp requests with ntpMerlin, but switched to using chrony. Bingo! The ooma unit sync'd up to the ooma network although it seems to go through an interesting "dark period" after it get's an IP address (all lights go off and the unit *looks* like it is rebooting again -- although it still pings -- then come back to life and shows connected to the ooma network)
Before I switched to chrony, I would see a lot of connections from the ooma telo to my router using port 53 with a status of "unreplied"
I don't know if any of this means anything from your development point of view, but maybe if someone is having the same issues with their ooma telo unit, they can try using the chrony time server.
 
@Jack Yaz
Hello. I have an ooma telo device on my network. It would obtain an IP address, but never connect to the ooma network after I installed ntpMerlin. If I would switch off redirecting ntp requests to ntpMerlin, it would then connect to the ooma network. I then re-enabled handling the ntp requests with ntpMerlin, but switched to using chrony. Bingo! The ooma unit sync'd up to the ooma network although it seems to go through an interesting "dark period" after it get's an IP address (all lights go off and the unit *looks* like it is rebooting again -- although it still pings -- then come back to life and shows connected to the ooma network)
Before I switched to chrony, I would see a lot of connections from the ooma telo to my router using port 53 with a status of "unreplied"
I don't know if any of this means anything from your development point of view, but maybe if someone is having the same issues with their ooma telo unit, they can try using the chrony time server.
Port 53 is for DNS and shouldn't have any link to intercepting NTP
 
Having some odd behavior and any insight is appreciated. Fresh install of 386.1_2 on my RT-88U. Installed ntpMerlin 3.22 and all seems to be well.. or so I thought. My Windows 2012R2 Servers have been giving me Time errors in the event log, although the server is set to the router for it's time and I've confirmed it. Looking at the ntpMerlin log I see several "no peer for too long, server running free now", so I thought perhaps an uninstall/reinstall would help. No errors on the install that I could see, however I did notice "kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized" in the log. So to me it appears ntpMerlin is up and running but not synchronizing time. I'm currently at a loss.. I did have this working on the same router running 384.18 so this has just been a problem since a clean install of 386.1_2.
 
Having some odd behavior and any insight is appreciated. Fresh install of 386.1_2 on my RT-88U. Installed ntpMerlin 3.22 and all seems to be well.. or so I thought. My Windows 2012R2 Servers have been giving me Time errors in the event log, although the server is set to the router for it's time and I've confirmed it. Looking at the ntpMerlin log I see several "no peer for too long, server running free now", so I thought perhaps an uninstall/reinstall would help. No errors on the install that I could see, however I did notice "kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized" in the log. So to me it appears ntpMerlin is up and running but not synchronizing time. I'm currently at a loss.. I did have this working on the same router running 384.18 so this has just been a problem since a clean install of 386.1_2.
what servers have you set in ntp.conf ?
 
The default
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst
Finally uninstalled and went back to the stock NTP server with no issues.. Not sure what's wrong but I may try to install again should there be anything new to try to make it work.
 
Finally uninstalled and went back to the stock NTP server with no issues.. Not sure what's wrong but I may try to install again should there be anything new to try to make it work.

Any messages in the syslog to point out what troubles NTP was having? I had issues as well until I looked in the syslog and figured out I had one small simple error in the conf file which I missed.
 
Any messages in the syslog to point out what troubles NTP was having? I had issues as well until I looked in the syslog and figured out I had one small simple error in the conf file which I missed.
Just the errors I noted in my previous post and they were in the NTP log, there was nothing in the syslog.
 
Is there a post or file that explains what these columns mean? I.e.
MS: ^? ^+ ^*
Poll?
Reach?
LastRX?

etc

Code:
chronyc sources
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
^? usnyc3-ntp-002.aaplimg.c>     1   6     1    44  +1031us[+1090us] +/- 7697us
^? usnyc3-ntp-001.aaplimg.c>     1   6     1    44  +1239us[+1298us] +/- 6756us
^? usqas2-ntp-001.aaplimg.c>     1   6     1    45  +1708us[+1767us] +/-   10ms
^? usqas2-ntp-002.aaplimg.c>     1   6     1    45  +1785us[+1844us] +/-   11ms
^? time1.google.com              1   6     1    46   +978us[+1038us] +/-   18ms
^? time3.google.com              1   6     1    45  +1710us[+1769us] +/-   14ms
^? time2.google.com              1   6     1    45  +1127us[+1186us] +/-   18ms
^? time3.google.com              1   6     1    45   +935us[ +995us] +/-   15ms
^+ ntp.backplanedns.org          2   6    17    37  +2092us[+2092us] +/-   74ms
^+ 144.34.193.110.16clouds.>     2   6    17    39  -1699us[-3979us] +/-   67ms
^- 50-76-34-188-ip-static.h>     1   6    17    38  +6415us[+6415us] +/-   46ms
^* t2.time.gq1.yahoo.com         2   6    17    38  -2136us[-4415us] +/-   53ms
 
chronyc -v is your friend!
Code:
# chronyc sources -v

  .-- Source mode  '^' = server, '=' = peer, '#' = local clock.
/ .- Source state '*' = current best, '+' = combined, '-' = not combined,
| /             'x' = may be in error, '~' = too variable, '?' = unusable.
||                                                 .- xxxx [ yyyy ] +/- zzzz
||      Reachability register (octal) -.           |  xxxx = adjusted offset,
||      Log2(Polling interval) --.      |          |  yyyy = measured offset,
||                                \     |          |  zzzz = estimated error.
||                                 |    |           \
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^+ time.cloudflare.com           3  10   377   28m   -226us[ -236us] +/-   22ms
^+ time.cloudflare.com           3  10   377   237   -253us[ -253us] +/-   22ms
^+ usdal2-ntp-001.aaplimg.c>     1   9   377   619  -4853us[-4853us] +/-   24ms
^- usscz2-ntp-001.aaplimg.c>     1  10   377    59  -4818us[-4818us] +/-   29ms
^* uschi5-ntp-002.aaplimg.c>     1  10   377   709   -674us[ -717us] +/- 9142us
^- usscz2-ntp-002.aaplimg.c>     1   9   377    21  -4858us[-4858us] +/-   30ms
 
chronyc -v is your friend!
Code:
# chronyc sources -v

  .-- Source mode  '^' = server, '=' = peer, '#' = local clock.
/ .- Source state '*' = current best, '+' = combined, '-' = not combined,
| /             'x' = may be in error, '~' = too variable, '?' = unusable.
||                                                 .- xxxx [ yyyy ] +/- zzzz
||      Reachability register (octal) -.           |  xxxx = adjusted offset,
||      Log2(Polling interval) --.      |          |  yyyy = measured offset,
||                                \     |          |  zzzz = estimated error.
||                                 |    |           \
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^+ time.cloudflare.com           3  10   377   28m   -226us[ -236us] +/-   22ms
^+ time.cloudflare.com           3  10   377   237   -253us[ -253us] +/-   22ms
^+ usdal2-ntp-001.aaplimg.c>     1   9   377   619  -4853us[-4853us] +/-   24ms
^- usscz2-ntp-001.aaplimg.c>     1  10   377    59  -4818us[-4818us] +/-   29ms
^* uschi5-ntp-002.aaplimg.c>     1  10   377   709   -674us[ -717us] +/- 9142us
^- usscz2-ntp-002.aaplimg.c>     1   9   377    21  -4858us[-4858us] +/-   30ms

Thanks,

What does "combined" mean in 2nd column?
 
What does "combined" mean in 2nd column?

I haven't found a good chrony explainer (I'm new to this as well), but it sounds like chrony has the ability to use additional sources and combine them with the selected source to improve the accuracy of the system clock even further. The way I look at it is like they are secondary servers that are almost as good as the primary, and used to help smooth out any variability.

FYI there is a FAQ at https://chrony.tuxfamily.org/faq.html but I did not see an explanation for this there.
 
  • Like
Reactions: pdc
The official documentation for a combine related directive describes combined as @pdc described it

combinelimit limit
When chronyd has multiple sources available for synchronisation, it has to select one source as the synchronisation source. The measured offsets and frequencies of the system clock relative to the other sources, however, can be combined with the selected source to improve the accuracy of the system clock.


The combinelimit directive limits which sources are included in the combining algorithm. Their synchronisation distance has to be shorter than the distance of the selected source multiplied by the value of the limit. Also, their measured frequencies have to be close to the frequency of the selected source. If the selected source was specified with the prefer option, it can be combined only with other sources specified with this option.

By default, the limit is 3. Setting the limit to 0 effectively disables the source combining algorithm and only the selected source will be used to control the system clock.
 
  • Like
Reactions: pdc

Similar threads

Sign Up For SNBForums Daily Digest

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