Web Hosting Talk







View Full Version : Hardware & System Time & Synch'ing


freakysid
04-07-2002, 06:33 AM
Hi, I have my hardware and system time set to the local eastern usa time (no reason except that's how I got the server). I am also running ntpd to synch the system time to a few second tier public time servers (again not for any great reason). Anyhow, with summer time starting in the USA, now my hardware clock is an hour behind my systerm. Well, I can synch it to the system clock no problem. But it got me thinking... what's the significance of the hardware time in relation to the system? Does it matter that it is out? Just curious. :)

RutRow
04-07-2002, 10:48 AM
The hardware clock makes no difference after the system has booted. It will start up using the time from the hardware clock, then ntpd will adjust the system time as needed, once it is loaded.

If you want to set your hardware clock to your system time (on a linux box), just do

hwclock --systohc

My ntpd script automatically does this during a shutdown, but yours may be different depending on what version you are running and how you are calling it.

freakysid
04-08-2002, 04:17 AM
Thanks for the reply and the info. I haven't rebooted since installing ntpd. So I might wait and check that out next time I reboot.

Cheers:)