Sysadmin > TimeServer

Howto setup a time server with ntpd


Minimal setup

Use a minimal ntp.conf

driftfile /var/lib/ntp/ntp.drift
server iburst
server iburst
server iburst
server iburst

Tuning your time server


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.