From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13070 invoked from network); 27 Feb 1999 00:25:16 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 27 Feb 1999 00:25:16 -0000 Received: from funkahdafi.vib.org (funkahdafi.vib.org [169.207.32.9]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA14888 for ; Fri, 26 Feb 1999 19:23:45 -0500 Received: (from lars@localhost) by funkahdafi.vib.org (8.8.7/8.8.7) id SAA03448; Fri, 26 Feb 1999 18:23:39 -0600 Message-ID: <19990226182339.B3413@execpc.com> Date: Fri, 26 Feb 1999 18:23:39 -0600 From: lars@execpc.com To: axp-list@redhat.com Subject: Re: time accuracy question References: <36D70458.FD366FE2@topdog.logicon.com> <199902262333.SAA05349@ra.lexis-nexis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199902262333.SAA05349@ra.lexis-nexis.com>; from Larry Snyder on Fri, Feb 26, 1999 at 06:33:19PM -0500 On Fri, Feb 26, 1999 at 06:33:19PM -0500, Larry Snyder wrote: I'm no xntpd god, but I think I might be able to lend some advice. > Chris, I set up xntp on our network at work. I like the amount of > intelligence built into the protocol. What I'm dealing with here is > my net at home, and I want to reduce the amount of error to a minimum > before I dial in and get ntp updates. In this case, just configure xntpd to use a driftfile. From the xntp documentation: " One of the things the NTP daemon does when it is first started is to compute the error in the intrinsic frequency of the clock on the computer it is running on. It usually takes about a day or so after the daemon is started to compute a good estimate of this (and it needs a good estimate to synchronize closely to its server). Once the initial value is computed, it will change only by relatively small amounts during the course of continued operation. The driftfile declaration indicates to the daemon the name of a file where it may store the current value of the frequency error so that, if the daemon is stopped and restarted, it can reinitialize itself to the previous estimate and avoid the day's worth of time it will take to recompute the frequency estimate. " So basically.. set it up with a driftfile parameter in the ntp.conf and then do your best to keep the machine online for a long period of time. Once it has a good estimate of how much drift is in your machine's clock written there.. xntpd will be able to keep your clock in sync pretty reliably, even without network connectivity. > I also need to dig through the > pppd docs to make sure port 123 calls aren't considered 'interesting' > enough to kick off a phone call... This may be a good project for this > evening if I don't get derailed :-) I'll report results. More importantly, make sure pppd isn't going to try to automagically log you in any time xntpd feels lonely. Unfortunately (well.. actually, not so unfortunately) I haven't had to use pppd for network access, so I can't help ya there. -- Ryan Schaefer lars@execpc.com