ntpMerlin ntpMerlin v3.x

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

Vexira

Part of the Furniture
That’s a lot of effort. I am using AC86U, hope someone can test it out on your model.
I can put minsources up to the combined numbers of the following three source states.
Source state '*' = current best, '+' = combined, '-' = not combined
I thought state ^- is not good enough but then it still works even when I include those in minsources count.
the issue is when i enable an nts server the cloud flare one i just checked
 

spykos

New Around Here
You can edit them with a command line tool like kitty SSH or PuTTY SSH tools.

And use the ntpmerlin command to hiring up the menu.

I meant a way to show in GUI an output similar to the output of ntpq -4np without using ntpmerlin or any other CLI command via SSH.
 

Tomo

Occasional Visitor
Hello, i will dedicate this weekend to mount my new usb stick in the Ac86u and install enterware and ntpMerlin. Tips on basic settings to get started?
Thanks
 

JGrana

Very Senior Member
Some basic tips (IMHO):

1) Use amtm to do all the setup.
- First format the new usb stick
- setup a swap partition
- install Entware
2) Install ntpmerlin. After installing, I would recommend:
- change time server from the default ntpd to chrony (option t)
- change storage location to usb (option s)
- the default chrony.conf file is pretty good. Depending on what country you are in, you could add a few timeservers closer geographically to you. Here is a list:

3) Consider a few more addons!
- scMerlin is always handy to have around
- if you plan on assigning IP addresses, YazDHCP is great

There are other addons as well. Research them and decide.

Last - if you like them, consider a donation to the developers for all their hard work:

 

Tomo

Occasional Visitor
Wow, thanks so much for the quick and complete reply, i live in italy and i will probably need to add some servers.
I have always sent donations for the developers and i will not miss this time too, time to test everything :)

Thanks again
 

L&LD

Part of the Furniture

EmeraldDeer

Very Senior Member
From Boston the best time is from Apple and Cloudflare, respectively. They are both substantially better than pool.ntp.org. Perhaps the same is true in Italy. Cloudflare supports NTS encrypted NTP. An nslookup of time.apple.com returns five servers, so I use all five.
Lines in chrony.conf
Code:
ntsdumpdir /opt/var/lib/chrony
pool time.apple.com iburst maxsources 5
pool time.cloudflare.com nts
I wrote a script to show all available information about chrony status from the command line
Code:
#!/bin/sh
echo "==============================================================================="
echo -e "\e[91m\c"
chronyc -N authdata
echo -e "\e[0m\c"
echo "==============================================================================="
echo -e "\e[96m\c"
chronyc selectdata
echo -e "\e[0m\c"
echo "==============================================================================="
echo -e "\e[95m\c"
chronyc tracking
echo " "
chronyc ntpdata | head -27 | tail -26
echo -e "\e[0m\c"
echo "==============================================================================="
echo -e "\e[93m\c"
chronyc sources
echo -e "\e[0m\c"
echo "==============================================================================="
echo -e "\e[92m\c"
chronyc sourcestats
echo -e "\e[0m\c"
echo "==============================================================================="
echo -e "\e[94m\c"
chronyc clients
echo -e "\e[0m\c"
echo "==============================================================================="
 

chongnt

Senior Member
From Boston the best time is from Apple and Cloudflare, respectively. They are both substantially better than pool.ntp.org. Perhaps the same is true in Italy. Cloudflare supports NTS encrypted NTP. An nslookup of time.apple.com returns five servers, so I use all five.
Lines in chrony.conf
Code:
ntsdumpdir /opt/var/lib/chrony
pool time.apple.com iburst maxsources 5
pool time.cloudflare.com nts
I wrote a script to show all available information about chrony status from the command line
Code:
#!/bin/sh
echo "==============================================================================="
echo -e "\e[91m\c"
chronyc -N authdata
echo -e "\e[0m\c"
echo "==============================================================================="
echo -e "\e[96m\c"
chronyc selectdata
echo -e "\e[0m\c"
echo "==============================================================================="
echo -e "\e[95m\c"
chronyc tracking
echo " "
chronyc ntpdata | head -27 | tail -26
echo -e "\e[0m\c"
echo "==============================================================================="
echo -e "\e[93m\c"
chronyc sources
echo -e "\e[0m\c"
echo "==============================================================================="
echo -e "\e[92m\c"
chronyc sourcestats
echo -e "\e[0m\c"
echo "==============================================================================="
echo -e "\e[94m\c"
chronyc clients
echo -e "\e[0m\c"
echo "==============================================================================="
I also find apple ntp server to be very accurate. Apple NTP servers are listed here:

By the way, nice script. Can add a couple more commands like chronyc serverstats and chronyc activity.
 
Last edited:

L&LD

Part of the Furniture
zram? ??
 

JGrana

Very Senior Member

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