From owner-freebsd-questions Tue Aug 17 11:40:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 33E721577F for ; Tue, 17 Aug 1999 11:40:43 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id NAA71662; Tue, 17 Aug 1999 13:39:38 -0500 (CDT) (envelope-from dan) Date: Tue, 17 Aug 1999 13:39:37 -0500 From: Dan Nelson To: dave@netcarrier.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Micro-adjusting system clock? Message-ID: <19990817133937.A70800@dan.emsphone.com> References: <19990817102159.A66341@dan.emsphone.com> <7pc4ht$99hb@eGroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <7pc4ht$99hb@eGroups.com>; from "dave@netcarrier.com" on Tue Aug 17 10:01:49 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Aug 17), dave@netcarrier.com said: > Wow, thanks. xntpd is quite a beast, and the man page reads like War > and Peace. Here are a few follow-up questions: > > - when xntpd synchronizes with another host, does it do > micro-adjustments to prevent time wrinkles (even the first time), or > does is do one big adjustment? It slews if the difference if under 128 msecs, and steps otherwise. It will not step if the clock is more than 1000 seconds off. > - is there a way to run it "standalone", ie, to adjust a clock on an > unnetworked server? You can have it use the internal clock as a time source. I usually do this in my ntp.conf: peer mypeer.host.com server 127.127.1.0 fudge 127.127.1.0 stratum 10 That tells ntp that it has two time sources; mypeer.host.com and 127.127.1.0 (which is a codename for the internal clock). The internal clock is set to a stratum of 10, which makes it very low priority. when your net connection is up it will sync to mypeer.host.com. For the rest of the time it will free-run on its own clock. see http://www.eecis.udel.edu/~ntp/ for more information. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message