From owner-freebsd-questions Thu Nov 11 9:24:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 7218614E39 for ; Thu, 11 Nov 1999 09:24:03 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id DAA14110; Fri, 12 Nov 1999 03:53:56 +1030 (CST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991111122322.03693@mojave.sitaranetworks.com> Date: Thu, 11 Nov 1999 12:23:22 -0500 From: Greg Lehey To: Dan Nelson , Jonathon McKitrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mysterious xntpd Reply-To: Greg Lehey References: <19991110174318.A35097@dan.emsphone.com> <19991111110338.B48598@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <19991111110338.B48598@dan.emsphone.com>; from Dan Nelson on Thu, Nov 11, 1999 at 11:03:38AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 11 November 1999 at 11:03:38 -0600, Dan Nelson wrote: > In the last episode (Nov 11), Jonathon McKitrick said: >> So what makes sense for keeping time on a laptop with a PP connection >> once a day? > > xntpd :) It can maintain correct time even if it can only contact its > time source for a couple hours each day. I believe it needs about 1/2 > hour of continuous connect time to synch after a disconnect. Fine, but that's a lot longer than ntpdate needs. In addition, it will keep trying to establish contact, which can be undesirable. ntpdate is the obvious choice for a dialup connection; you can put it in the linkup script and it will set the date even before you know you're connected. >> I tried setting it once, and ended up with GMT (Zulu Time) and it >> took me a while to get the zone right. Now i just have a little >> script called jtime that i run whenever that calles ntpdate. Does >> this make sense? > > xntpd and ntpdate both set the time in the same way. You must have > had some other timezone problem. Right, this issue has nothing to do with ntp. Check your /etc/localtime file. It should be a copy of your local time zone file in the /usr/share/zoneinfo hierarchy. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message