NTP

Brian bri at sonicboom.org
Mon Jul 15 16:34:15 PDT 2002


This is from a bsd box btw, not Linux.

You really should put a few servers in ntp.conf, pick some geographically
close ones off the udel page referenced. Using more than 1 allows the
program over time to pick the most reliable and to have multiples in the
event of a remote failure.  To see how its working, after u
start ntpd, run ntpq, then at that prompt type pe, it'll show you stats on
servers you have.  I also specify a drift file, heres my conf and ntpq
results.
> ntpq
ntpq> pe
     remote           refid      st t when poll reach   delay   offset
jitter
==============================================================================
+bigben.ucsd.edu time.sdsc.edu    2 u  865 1024  377   32.934  -11.491
0.687
-mewmie.mainecoo prowlingtabby.m  2 u  964 1024  377   41.263  -13.407
0.000
*cuckoo.nevada.e 204.34.198.40    2 u  915 1024  377   41.431   -4.522
1.394
+tock.CS.unlv.ed usno.pa-x.dec.c  2 u  906 1024  377   46.082   -9.515
1.362

> more ntp.conf
driftfile /etc/ntp/ntp.drift
server ntp.ucsd.edu
server ntp1.mainecoon.com
server cuckoo.nevada.edu
server tock.cs.unlv.edu

then in /etc, I made an ntp dir then used touvh ntp.drift to create an
empty file for the program to use.

	Bri

On Mon, 15 Jul 2002, James wrote:

> Geoffrey,
> Thanks. No problem on rtfm. ;-) I totally understand, its just that I
> searched and couldn't find anything good that would help me out. Ill take a
> look at the link. Much appreciated.
>
> james
> ----- Original Message -----
> From: "Bransford-Koons, Geoffrey R." <GEOFFREY.R.BRANSFORD-KOONS at saic.com>
> To: <kplug-newbie at kernel-panic.org>; <kplug-list at kernel-panic.org>
> Sent: Monday, July 15, 2002 4:12 PM
> Subject: RE: NTP
>
>
> > James:  There is a nice HOWTO on this at:
> >
> > http://www.tldp.org/HOWTO/TimePrecision-HOWTO/index.html
> >
> > It should walk you through the steps.
> >
> > Sorry if this sounds like rtfm, but I'm short on time and
> > knowledge here.  I did this a year or so ago, but don't
> > remember the details.  Others may be able to give explicit
> > instructions.
> >
> > Best of luck and have fun.
> >
> > Geoff.
> > -----Original Message-----
> > From: James
> >
> > Kplug,
> > I want to set my time to the clock at ucsd using NTP. How do I go about
> > doing this in linux? What are the commands. Thanks.
> >
> > --
> >   http://www.kernel-panic.org
> >   list archives http://www.ultraviolet.org
> >   To unsubscribe, send a message to the address shown in the
> list-unsubscribe
> >   header of this message.
> >
>
>
> --
>   http://www.kernel-panic.org
>   list archives http://www.ultraviolet.org
>   To unsubscribe, send a message to the address shown in the list-unsubscribe
>   header of this message.
>




More information about the KPLUG-List mailing list