Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 1995 23:07:49 -0700 (PDT)
From:      Brian Litzinger <brian@MediaCity.com>
To:        jbarrm@panix.com (Barry Masterson)
Cc:        questions@freebsd.org
Subject:   Re: Time different on each boot
Message-ID:  <199510220607.XAA14985@MediaCity.com>
In-Reply-To: <Pine.SUN.3.91.951021172747.14689A-100000@panix.com> from "Barry Masterson" at Oct 21, 95 05:38:49 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I've finally installed FreeBSD with a partitioning setup I like.  With
> each install, the timezone setup has never been correct. It always asked
> if it 'looked acceptable', or something like that. At the time it did not
> matter. 
> Now that I finally have a partitioning setup I like, I would like to
> settle this time thing. 'Date' always displays a different time with
> each re-boot. It could be 4 hours slow, 12 hours slow, it's different
> with each boot.
> 
> My system does not run 24 hours a day. I start it when needed. Does
> this effect the setting of the time?  Are their any lines I should move
> in the rc.* scripts?

I've long had the same problem with many FreeBSD machines.  I finally
came up with the following solution:

   Set the timezone to whatever it is suppose to be.

   in /etc/rc.local use ntpdate to get the correct time from a time server.

Now things work fine. Never did get the right time out of a machine
no matter how much I played with it.

Brian Litzinger
brian@Mediacity.com



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