From owner-freebsd-alpha@FreeBSD.ORG Sun Apr 3 14:02:28 2005 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C93D316A4CE for ; Sun, 3 Apr 2005 14:02:28 +0000 (GMT) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3815643D2D for ; Sun, 3 Apr 2005 14:02:28 +0000 (GMT) (envelope-from des@des.no) Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IED00K1YIQT3Q70@bgo1smout1.broadpark.no> for alpha@freebsd.org; Sun, 03 Apr 2005 15:56:53 +0200 (CEST) Received: from dsa.des.no ([80.203.228.37]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IED00AN6J2I7I80@bgo1sminn1.broadpark.no> for alpha@freebsd.org; Sun, 03 Apr 2005 16:03:54 +0200 (CEST) Received: by dsa.des.no (Pony Express, from userid 666) id 8D4C8C2ADF; Sun, 03 Apr 2005 16:02:26 +0200 (CEST) Received: from xps.des.no (xps.des.no [10.0.0.12]) by dsa.des.no (Pony Express) with ESMTP id 962179B48B; Sun, 03 Apr 2005 16:02:23 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 569FE33C5A; Sun, 03 Apr 2005 16:02:23 +0200 (CEST) Date: Sun, 03 Apr 2005 16:02:23 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) In-reply-to: <20050403070102.GI15750@vortex4.net> To: Dave Message-id: <86d5tcargw.fsf@xps.des.no> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on dsa.des.no References: <20050403070102.GI15750@vortex4.net> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.0.2 X-Spam-Level: cc: alpha@freebsd.org Subject: Re: Digital Server 3300 hardware clock X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2005 14:02:28 -0000 Dave writes: > On Sat, Apr 02, 2005 at 11:49:54AM -0600, Kyle S. Allender wrote: > > I'm having a problem with FreeBSD 5.0-RELEASE on a Digital Server 3300 = (or > > at least I think it's a 3300). I converted this from an NT 4 server ma= chine > > almost 3 years ago and it's been running fine under 4.x/5.x for a very = long > > time. You shouldn't be running 5.0-RELEASE. > > However, one issue I've continually had with this machine is that the > > hardware clock is off by almost 2 hours. Ntpd can't keep the correct t= ime > > because the hardware clock is too far off. > If you ntpdate at startup, your system clock will be set to the date you = get=20 > via ntp regardless of skew. Put the following in /etc/rc.conf: > > ntp_enable=3D"YES" > ntp_flags=3D"-b ntp.server.here" > ntpd_enable=3D"YES" > > That should get you set up :> no. you want ntpdate_enable=3D"YES" ntpd_enable=3D"YES" both ntpdate and ntpd use the servers listed in /etc/ntp.conf, which should contain something like server europe.pool.ntp.org server europe.pool.ntp.org server europe.pool.ntp.org round-robin DNS will take care of the rest. obviously, if you're not in Europe, you'll want to use a different pool. the official list of public ntp servers is at http://ntp.isc.org/bin/view/Servers/WebHome if you just want to set the clock once, run # ntpdate pool.ntp.org pool.ntp.org pool.ntp.org DES --=20 Dag-Erling Sm=F8rgrav - des@des.no