Sysadmin > TimeServer

Howto setup a time server with ntpd

WORK IN PROGRESS

Minimal setup

Use a minimal ntp.conf

driftfile /var/lib/ntp/ntp.drift
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst

Tuning your time server

* http://pitz.dyndns.org/good-timeserver.html

Calibrate your fudge time1

On Sat, 24 Apr 2004 01:57:25 +0200, Wes Irish wrote:

> 1) How bet to determine the correct time1 fudge value to properly adjust
> my local reference clock for the various hardware and software delays of
> my particular configuration.

First, fudge the GPS to a high stratum. At least higher than the servers
you sunc you time against to make sure you will not sync the time with
the GPS. Then, in ntpdc type in "enable calibrate". This command will try
to change the time1 value so the offset will be minimal. Leave it for at
least an hour for things to stabilize. Note the number of time1 (check in
ntpq with the cv command). and enter it in the ntp.conf.