From owner-freebsd-questions Wed Jan 23 14:54:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dazed.slacker.com (dazed.slacker.com [65.70.212.186]) by hub.freebsd.org (Postfix) with SMTP id 7015337B41C for ; Wed, 23 Jan 2002 14:54:34 -0800 (PST) Received: (qmail 63141 invoked by uid 1000); 23 Jan 2002 22:54:33 -0000 Date: Wed, 23 Jan 2002 22:54:33 +0000 From: David McNett To: Petar Forai Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: 4.5/SMP clock drifting Message-ID: <20020123225433.GA63096@dazed.slacker.com> Mail-Followup-To: Petar Forai , freebsd-stable@freebsd.org, freebsd-questions@freebsd.org References: <000c01c1a457$54d5eae0$5700a8c0@MSHOST> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000c01c1a457$54d5eae0$5700a8c0@MSHOST> User-Agent: Mutt/1.3.25i X-Operating-System: FreeBSD 4.4-STABLE i386 X-Distributed: Join the Effort! http://www.distributed.net/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 23-Jan-2002, Petar Forai wrote: > I've a strange problem on my SMP machine running 4.5. At 8am i use ntpdate > to sync the time, at 9:37am when i ntpdate again my time offset from the > timeserver is about 0.7s! You should instead look at using ntpd (it's in the base install) which will accurately track and account for the hardware drift unlike your ntpdate solution. Set up an /etc/ntp.conf file with: server timeserver1.domain.com server timeserver2.otherdomain.com driftfile /var/run/ntpd.drift Then populate /etc/rc.conf with ntpdate_enable="YES" ntpdate_program="ntpdate" ntpdate_flags="timeserver1.domain.com" xntpd_enable="YES" -- ________________________________________________________________________ |David McNett |To ensure privacy and data integrity this message has| |nugget@slacker.com|been encrypted using dual rounds of ROT-13 encryption| |Austin, TX USA |Please encrypt all important correspondence with PGP!| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message