From owner-freebsd-hackers Wed Sep 17 16:26:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA18154 for hackers-outgoing; Wed, 17 Sep 1997 16:26:48 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA18147 for ; Wed, 17 Sep 1997 16:26:44 -0700 (PDT) Received: from gurney.reilly.home (d29.syd2.zeta.org.au [203.26.11.29]) by godzilla.zeta.org.au (8.8.5/8.6.9) with ESMTP id JAA05457; Thu, 18 Sep 1997 09:24:04 +1000 Received: (from andrew@localhost) by gurney.reilly.home (8.8.7/8.8.5) id JAA02142; Thu, 18 Sep 1997 09:22:01 +1000 (EST) From: Andrew Reilly Message-Id: <199709172322.JAA02142@gurney.reilly.home> Date: Thu, 18 Sep 1997 09:22:01 +1000 (EST) Subject: Re: Kernel clock runs inaccurately To: perhaps@yes.no cc: joerg_wunsch@uriah.heep.sax.de, hackers@freebsd.org In-Reply-To: <199709170431.GAA29657@bitbox.follo.net> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On 17 Sep, Eivind Eklund wrote: >> >> As Eivind Eklund wrote: >> >> > > (They are probably living in somewhat of an ivory tower with >> > > good NTP refclocks readily available on a cheap Internet, something >> > > that is not my situation, sitting behind dialup lines everywhere.) >> > >> > Shouldn't it be still be possible to set up xntpd with >> > drift-correction and synchronization often, and just suppress >> > xntpd-messages from starting the ppp-link? >> >> Too expensive still. The dialup itself is ISDN, so the setup time is >> ~ 2 seconds or less, but having an xntpd calling each 5 or 15 minutes >> would greatly increase our phone and Internet costs. Sorry for leaping into the conversation late, but what's wrong with running "ntpdate -bs servers..." from a shell script run from the ppp.linkup? It works for me. ntpdate never has to change the clock by more than half a second or so. Clock stays accurate but I don't get random dial-ups. Of course the link is going to come up at least twice a day for my mail and news, thanks to a ping -c1 in a crontab. -- Andrew "The steady state of disks is full." -- Ken Thompson