diff --git a/docs/ntppool/en/use.html b/docs/ntppool/en/use.html index 4fb6fa03..5cb0dff1 100644 --- a/docs/ntppool/en/use.html +++ b/docs/ntppool/en/use.html @@ -11,14 +11,14 @@

How do I use pool.ntp.org?

The 0, 1, 2 and 3.pool.ntp.org names point to a random set of servers that will - change every hour. Make sure your computer's clock is set to something + change every couple of minutes. Make sure your computer's clock is set to something sensible (within a few minutes of the 'true' time) - you could use ntpdate - pool.ntp.org, or you could just use the date command and set it + 2.pool.ntp.org, or you could just use the date command and set it to your wristwatch. Start ntpd, and after some time (this could take as long as half an hour!), ntpq -pn should output something like:

- [% INCLUDE "ntppool/use/sample-ntpq.html" %] + [% INCLUDE "ntppool/use/sample-pool-ntpq.html" %]

The IP addresses will be different, because you've been assigned random @@ -26,10 +26,36 @@

How do I use pool.ntp.org?

asterisk (*), this means your computer gets the time from the internet - you'll never have to worry about it again!

+

On more recent Linux operating systems, time setting has been delegated to + systemd. You can use timedatectl to set the time: +

+ + [% INCLUDE "ntppool/use/sample-timedatectl.html" %] + +

+ On some Linux distributions chronyd + has replaced ntpd as the default NTP client (and server). With respect + to the time source configuration it uses the same syntax as ntpd, + so you can use the example above, leaving out the tos maxclock line. + Usually, the shipped configuration comes with a sensible default using the distribution's + vendor pool and doesn't need any adjusting at all. + For checking on the synchronization status, use chronyc -n sources. + The output is similar to ntpq including the asterisk designating + the current time source. +

+

On older systems, ntpd may not support the pool configuration described + above. The following should work with legacy ntpd versions: +

+ + [% INCLUDE "ntppool/use/sample-ntpq.html" %] +

- Looking up pool.ntp.org (or 0.pool.ntp.org, + Looking up 2.pool.ntp.org (or 0.pool.ntp.org, 1.pool.ntp.org, etc) will usually return IP addresses for servers - in or close to your country. For most users this will give the best results. + in or close to your country. For most users this will give the best results.
+ Note: For historical reasons only 2.pool.ntp.org will + return both IPv4 and IPv6 addresses. The other names only + return IPv4 addresses.

You can also use the continental zones (For example @@ -46,13 +72,13 @@

How do I use pool.ntp.org?

If you're using a recent Windows version, you can use the ntp client that is built into the system. As administrator enter

-w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org"
+w32tm /config /syncfromflags:manual /manualpeerlist:"2.pool.ntp.org 3.pool.ntp.org 0.pool.ntp.org 1.pool.ntp.org"
 

at the command prompt. This will work on Windows 2003 and newer. If you use an older version of windows you can try

-net time /setsntp:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org"
+net time /setsntp:"2.pool.ntp.org 3.pool.ntp.org 0.pool.ntp.org"
 

The same can be achieved by, as administrator, right-clicking the clock in the taskbar, @@ -73,23 +99,23 @@

How do I use pool.ntp.org?

Additional Notes

-

Consider if the NTP Pool is appropriate - for your use. If business, organization or human life - depends on having correct time or can be harmed by it being - wrong, you shouldn't "just get it off the internet". The NTP - Pool is generally very high quality, but it is a service run - by volunteers in their spare time. Please talk to your - equipment and service vendors about getting local and reliable - service setup for you. See also our terms - of service. - - We recommend time servers from - Meinberg, - but you can also find time servers from - End Run, - Spectracom - and many others. -

+

Consider if the NTP Pool is appropriate + for your use. If business, organization or human life + depends on having correct time or can be harmed by it being + wrong, you shouldn't "just get it off the internet". The NTP + Pool is generally very high quality, but it is a service run + by volunteers in their spare time. Please talk to your + equipment and service vendors about getting local and reliable + service setup for you. See also our terms + of service. + + We recommend time servers from + Meinberg, + but you can also find time servers from + End Run, + Orolia + and many others. +

If you have a static IP address and a reasonable Internet connection (bandwidth is not so important, but it should be stable and not too highly loaded), please @@ -114,7 +140,7 @@

Additional Notes

servers are really file or mail or webservers which just happen to also run ntp. So don't use more than four time servers in your configuration, and don't play tricks with burst or minpoll - all you will gain is extra - load on the volunteer time servers.

+ load on the volunteer time servers.

Make sure that the time zone configuration of your computer is correct. ntpd itself does not do anything about the time zones, it just uses UTC @@ -123,7 +149,7 @@

Additional Notes

If you are synchronising a network to pool.ntp.org, please set up one of your computers as a time server and synchronize the other computers to that one. (you'll have some reading to do - it's not difficult though. And there's always - the comp.protocols.time.ntp newsgroup.)

+ the community to help out.)

At this point, I'd like to thank those donating their time and timeservers to this network.

diff --git a/docs/ntppool/use/sample-config.html b/docs/ntppool/use/sample-legacy-config.html similarity index 100% rename from docs/ntppool/use/sample-config.html rename to docs/ntppool/use/sample-legacy-config.html index d09f36c5..f97f41e0 100644 --- a/docs/ntppool/use/sample-config.html +++ b/docs/ntppool/use/sample-legacy-config.html @@ -1,8 +1,8 @@
 driftfile /var/lib/ntp/ntp.drift
 
-server 0.pool.ntp.org
-server 1.pool.ntp.org
 server 2.pool.ntp.org
 server 3.pool.ntp.org
+server 0.pool.ntp.org
+server 1.pool.ntp.org
 
diff --git a/docs/ntppool/use/sample-pool-config.html b/docs/ntppool/use/sample-pool-config.html new file mode 100644 index 00000000..121a678d --- /dev/null +++ b/docs/ntppool/use/sample-pool-config.html @@ -0,0 +1,5 @@ +
+pool 2.pool.ntp.org iburst
+
+tos maxclock 5
+
diff --git a/docs/ntppool/use/sample-timedatectl.html b/docs/ntppool/use/sample-timedatectl.html new file mode 100644 index 00000000..fd42db73 --- /dev/null +++ b/docs/ntppool/use/sample-timedatectl.html @@ -0,0 +1,4 @@ +
+timedatectl set-timezone "Europe/Kiev"
+timedatectl set-time "2012-10-30 18:17:16"
+