[mdlug] Clocks

Aaron Kulkis akulkis00 at gmail.com
Sun Dec 20 10:46:08 EST 2009


Joe Doehler wrote:
> Aaron Kulkis wrote:
>> Joe Doehler wrote:
>> ...
>> You need the Network Time Protocol package.
>>
>> Add the following lines to /etc/ntp.conf:
>>
>> # Random pool servers, see http://www.pool.ntp.org/ for more information
>> server 0.pool.ntp.org
>> server 1.pool.ntp.org
>> server 2.pool.ntp.org
>>
>> then start NTP with:
>> # /etc/init.d/ntp start
> 
> As mentioned in my original post, ntpd did not help. It works now. The 
> correct startup procedure, with an initial synchronization, is a little 
> more involved:
> http://tinyurl.com/plgy9
> 

NTP won't work if your time is off by more than 1000 seconds --
it aborts instead.

I'm not sure about other distributions, but in openSUSE,
when running

/etc/init.d/ntp start

the script first gets time from a time server, does a
hard (non-slewed) time-correction by just feeding the
response to the date(1) command, and then starts NTP.

This is only a recent development.



More information about the mdlug mailing list