Date: Mon, 29 Apr 2002 11:32:34 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: SNFettig <listsDROPTHIS@DAMNSPAMstevenfettig.com>, freebsd-questions@FreeBSD.ORG Subject: Re: Clock adjustment? Message-ID: <20020429163234.GP77779@dan.emsphone.com> In-Reply-To: <1020084497.10959.1.camel@chowder.dons.net.au> References: <B8F2A5D5.73F5%listsDROPTHIS@DAMNSPAMstevenfettig.com> <1020084497.10959.1.camel@chowder.dons.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 29), Daniel O'Connor said: > On Mon, 2002-04-29 at 21:55, SNFettig wrote: > > The way that I have set this up is by following the cheat-sheet > > from Dan O'Connor > > (http://www.mostgraveconcern.com/freebsd/ntp.html)*. Over time I > > have made tweaks from other howto areas on the net, but this is > > pretty much it: > > Oops.. I forgot to mention.. > > I can't really use ntp as the system isn't dialed up very frequently > (ie about an hour a day maximum) and I currently use ntpdate to > adjust the date at each dialup. > > The cumulative difference is around 120 seconds. I was recently > informed that you can adjust the machdep.i8254_freq sysctl which > should do what I want.. If you add the 'iburst' flag to your server lines in ntp.conf, ntpd will send 8 packets the first time it sees a server is reachable, and should adjust the system's clock within 30 secs. Hopefully if you are on for an hour ntpd will be able to calculate your system's clock drift on its own (and store it in /etc/ntp.drift). 120 secs/day is pretty bad drift, though. Ntpd might resort to stepping the clock like ntpdate, but since it is also going to be slewing it while you're offline, the step shouldn't be as large as if you were just using ntpdate. http://www.eecis.udel.edu/~ntp/ntpfaq/NTP-s-config.htm#AEN2453 http://www.eecis.udel.edu/~ntp/ntp_spool/html/assoc.htm -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020429163234.GP77779>