[PLUG] Future Time Stamp: Clocks FUBAR

King Beowulf kingbeowulf at gmail.com
Sun Jan 18 00:11:42 UTC 2015


On 01/17/2015 06:13 AM, Rich Shepard wrote:
>...
>    I'm using the ones in the Slackware-14.1 /etc/ntp.conf:
> 
> # NTP server (list one or more) to synchronize with:
> server 0.pool.ntp.org iburst
> server 1.pool.ntp.org iburst
> server 2.pool.ntp.org iburst
> server 3.pool.ntp.org iburst
>

try these:
server 0.us.pool.ntp.org iburst
server 1.us.pool.ntp.org iburst
server 2.us.pool.ntp.org iburst
server 3.us.pool.ntp.org iburst

I use the US pool to narrow down the choices, instead of having ntp
assign a random server from a larger group.

Also make sure that /etc/rc.d/rc.ntpd is set executable.  Or you can just

/usr/sbin/ntpd -qg
/sbin/hwclock -w

as I do on my desktop.

On my server, ntpd is running with the pool server above.  Thus, "ntpq
-pn" lists the some statics.  The script '/etc/rc.d/rc.ntpd' takes care
of setting stuff up and updating the hardwareclok at boot.  You set time
with ntpd (see man ntpd).  As for ntpdate, this utility does not use
/etc/ntp.conf, thus you need to provide a pool server:

ntpdate -q 0.us.pool.ntp.org
server 209.118.204.201, stratum 2, offset 0.003762, delay 0.05539
server 173.255.194.200, stratum 2, offset 0.001448, delay 0.08682
server 4.53.160.75, stratum 2, offset 0.002014, delay 0.08545
server 38.229.71.1, stratum 2, offset 0.005418, delay 0.10133
17 Jan 15:58:57 ntpdate[28888]: adjust time server 209.118.204.201
offset 0.003762 sec

Please note that ntpdate is DEPRECATED; use ntpd instead.

http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate





More information about the PLUG mailing list