From owner-freebsd-hackers Sun Jan 28 06:01:46 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA05838 for hackers-outgoing; Sun, 28 Jan 1996 06:01:46 -0800 (PST) Received: from asstdc.scgt.oz.au (root@asstdc.scgt.oz.au [202.14.234.65]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA05829 for ; Sun, 28 Jan 1996 06:01:40 -0800 (PST) Received: (from imb@localhost) by asstdc.scgt.oz.au (8.6.12/BSD4.4) id BAA00989; Mon, 29 Jan 1996 01:01:20 +1100 From: michael butler Message-Id: <199601281401.BAA00989@asstdc.scgt.oz.au> Subject: Re: ntp stuff? To: mal@sophocles.algonet.se (Mats Lofkvist) Date: Mon, 29 Jan 1996 01:01:19 +1100 (EST) Cc: nate@sri.MT.net, hackers@FreeBSD.org In-Reply-To: <199601281242.NAA25243@sophocles.algonet.se> from "Mats Lofkvist" at Jan 28, 96 01:42:11 pm X-Mailer: ELM [version 2.4 PL24beta] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org Precedence: bulk Mats Lofkvist writes: > ----/etc/ntp.conf---- > server 192.36.125.2 # sunic.sunet.se > server 194.68.128.19 prefer # Stockholm-DGIX.sunet.se > > driftfile /etc/ntp.drift To this you can add .. server 127.127.1.0 fudge 127.127.1.0 stratum 10 .. to cause the local clock to appear to a stratum 10 reference for those times that an external reference is unavailable through link outages. This is useful because things like wsntp used on Windoze will not synch to an unsynched clock. > # this is inoperative unless xntpd is enabled; NO to disable > tickadjflags="-Aq" > ... > (I also had to set TIMER_FREQ in my config file to make ntp not lose sync > after a few minutes due to too large drifts.) I usually "tweak" it using something like .. tickadjflags="-Aq -t 9998" .. which renders a clock with this sort of characteristic .. asstdc:~ % /usr/sbin/xntpdc xntpdc> sysi [ .. ] root distance: 0.07654 s root dispersion: 0.02525 s reference ID: [128.250.37.1] reference time: b4b5fcdb.52284000 Mon, Jan 29 1996 0:47:07.320 system flags: pll monitor stats frequency: 80.000 ppm stability: 54.296 ppm <--- a relative measure of "jitter" xntpdc> lo offset: 0.007506 s frequency: 9.935 ppm <--- anything < 128ppm is OK poll adjust: 24 watchdog timer: 254 s The actual number used for tickadj (9998 above) is machine-specific and derived by experimentation over many days .. michael