Digital Server 3300 hardware clock

Dag-Erling Smørgrav des at des.no
Sun Apr 3 07:02:28 PDT 2005


Dave <friend at 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 at des.no


More information about the freebsd-alpha mailing list