Chris Hedemark on Thu, 09 Jan 2003 21:10:35 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Time & date sync'ing between systems


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Thursday, January 9, 2003, at 06:58 PM, eric@lucii.org wrote:

Whoa! I wanted to do this for months (my Linux server clock drifts) but
did not know how. The ntp documentation was completly confusing and did
not do what I wanted.

ntp is not that complicated.

Google for "Hedemark" and "ntp" and you will find a how-to I wrote a few years ago. Last time I read it I noticed I made a mistake or three so I need to update it but setting up ntpd is actually very easy.

Short version:

==== /etc/ntp.conf ====
driftfile /etc/ntp/drift
server ntp1.unc.edu
server ntp2.unc.edu
==== end ====

==== /etc/ntp/step-tickers ====
ntp1.unc.edu ntp2.unc.edu
==== end ====

Make sure that xntpd or ntpd is set to start up sometime after the network but before most of your other daemons. At least with Red Hat Linux, the init script is already set up to hard synch against your step tickers with ntpdate and then ntpd takes over. If you don't do the ntpdate first, and your clock is too far off, ntpd will silently quit because the delta is too far outside of its ability to smooth.

Chris Hedemark .. Hillsborough, NC .. http://yonderway.com
Homeland Security begins at home; support your Second Amendment.


-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (Darwin)

iD8DBQE+Hh+jYPuF4Zq9lvYRAmk3AJ94EJwneAEpTpFxz7GiGcKnscB37gCg7zHR
OzIMPS9LQpApdZFAunSHsTU=
=U4TA
-----END PGP SIGNATURE-----

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug