Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Apr 2005 16:02:23 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Dave <friend@vortex4.net>
Cc:        alpha@freebsd.org
Subject:   Re: Digital Server 3300 hardware clock
Message-ID:  <86d5tcargw.fsf@xps.des.no>
In-Reply-To: <20050403070102.GI15750@vortex4.net>
References:  <BE743762.4EDE6%kylea@prismequine.com> <20050403070102.GI15750@vortex4.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Dave <friend@vortex4.net> 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 machine
> > 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 time
> > because the hardware clock is too far off.
> If you ntpdate at startup, your system clock will be set to the date you get 
> via ntp regardless of skew.  Put the following in /etc/rc.conf:
>
> ntp_enable="YES"
> ntp_flags="-b ntp.server.here"
> ntpd_enable="YES"
>
> That should get you set up :>

no.  you want

ntpdate_enable="YES"
ntpd_enable="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
-- 
Dag-Erling Smørgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d5tcargw.fsf>