Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 1998 22:34:02 -0500
From:      Norman C Rice <nrice@emu.sourcee.com>
To:        "Chetan Ravnikar.H" <chetan@vicinity.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Time always runs behind when there is a reboo
Message-ID:  <19980107223402.06142@emu.sourcee.com>
In-Reply-To: <Pine.GSO.3.93.980107133844.17098C-100000@carerra.corp.vicinity.com>; from Chetan Ravnikar.H on Wed, Jan 07, 1998 at 01:40:28PM -0800
References:  <Pine.GSO.3.93.980107133844.17098C-100000@carerra.corp.vicinity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 07, 1998 at 01:40:28PM -0800, Chetan Ravnikar.H wrote:
> 
> Hi! folks
> at first I appologise if I am at the wrong place, if I am right  then I
> have a  question regarding time ( the date option) with repeated
> settings to time at the BIOS. But whenever there is a reboot the time
> flies back by hours. BTW I am running  a BSD/OS 3.0 on a DELL Pentium 200. 
> setting the time with the date option, would that help?? as I have some
> cron jobs running as well ( would they be affected, I am sure they would)
> also is there a way to set the correct time when there is a reboot (due to
> power outtages etc..)
> thanks for any ideas regarding this
> 
> -CHR
> 

Well, I am not sure whether you're running FreeBSD and whether you're
connected to the Internet when you boot, but on the chance that you 
are... Enable ntpdate and its command line arguments in /etc/rc.conf.

ntpdate_enable="YES"        # Run the ntpdate to sync time (or NO).
ntpdate_flags="-s XXX.XXX.XXX.XXX"  # Flags to ntpdate (if enabled).

where XXX.XXX.XXX.XXX is the IP address of a stratum time server.

Does BIOS report the correct time after a reboot?
Do you have your time zone set properly?
-- 
Regards,
Norman C. Rice, Jr.



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