Re: Time
stephen wrote:
>
> I'm having a heck of a time getting my system time set correctly.
> /etc/localtime is a symlink to the proper time zone. I've looked in
> /etc/default/rcS and switched UTC from yes to no and back again.
> And, I've read the man page for hwclock a few times. Still,
> my system time is always six hours off. (For example, it's
> 8:22pm right now, but my computer thinks it's 2:20pm.)
>
> Anybody have any pointers on this?
as someone else pointed out, use ntpdate its a good package. also remember
to synch your hardware clock with the software clock if you reboot often
as the system sets the software clock with the hardware when it boots up
(and usually the other way around when it shuts down). if you dont' reboot
often then its not sucha big deal.
for me i do:
galactica:~# date
Tue Mar 27 20:03:08 PST 2001
galactica:~# ntpdate ns.scruz.net
27 Mar 19:21:39 ntpdate[9818]: step time server 165.227.1.1 offset
-2491.217805 sec
galactica:~# hwclock
Tue Mar 27 19:24:44 2001 -0.483543 seconds
galactica:~# hwclock --systohc
hgalactica:~# hwclock
Tue Mar 27 19:22:08 2001 -0.909714 seconds
nate
--
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
aphro@aphroland.org
Reply to:
- Follow-Ups:
- Re: Time
- From: Andre Berger <uzscd5@uni-bonn.de>
- References:
- Time
- From: stephen <stephen@virtual-attorney.com>