ntp

Jeffrey A. McCright jmccright2 at comcast.net
Fri Apr 12 06:57:01 CDT 2002


Dustin,

There is a good article in the February 2002 Linux Format Magazine
describing step-by-step how to setup a NTP server and how to configure Linux
workstations to access it for time updates. This article is written with
home networks in mind.

Linux Format Magazine  www.linuxformat.co.uk

HTH,

Jeffrey A. McCright

-----Original Message-----
From: owner-kclug at marauder.illiana.net
[mailto:owner-kclug at marauder.illiana.net]On Behalf Of Dustin Decker
Sent: Thursday, April 11, 2002 5:12 PM
To: kclug at kclug.org
Subject: Re: ntp

On Thu, 11 Apr 2002, Eric Rossiter wrote:
> Thanks Hal...I looked, but didn't find much.
> Anyway, I have ntp-4.1.1 downloaded and installed.  The docs say the
> ntp.conf file is provided, but there is not an ntp.conf file in /etc.
>
> Can I just create this file myself, and set it up to basically match the
> example presented?  From the docs I've perused in the last hour, this
> looks way over my poor head.  I tried this a few months ago and had to
> give up....thought I might be a little better prepared now...foolish me.

I don't know so much about doing the whole network... (that is to say, I
don't know how to get ntp on one server to give out time to all other
machines on the network.)

As for time sync, I do this in a cron job:

#!/bin/sh
/usr/sbin/ntpdate -bu -t 3 time-a.nist.gov >/dev/null 2>&1
/sbin/hwclock --systohc >/dev/null 2>&1

Dustin

--
Even in evil, we discern rays of light and hope, and gradually come to see,
in suffering and
temptation, proofs and instruments of the sublimest purposes of wisdom and
love.  - William
Ellery Channing




More information about the Kclug mailing list