This one time, at band camp, August Simonelli wrote: >Typing hwclock -r reports the correct time, so I know the hardware clock >is ok. >I then do hwclock --hctosys to set the system time. >When I type date it is correct.
Check what /etc/localtime points to, if it is a symlink; if not copy over /usr/share/zoneinfo/Australia/Sydney on top of it to make sure (though I don't know if Red Hat's /etc/sysconfig/clock will do that for you). date --set "yyyy/mm/dd hh:mm:ss" will set the system clock to the local time, then a hwclock --systohc will save it to the hardware clock (which I suppose is opposite to what you want). Note that the hwclock will be saved in UTC... >Then, about 5 minutes later, I type date again and it is suddenly 10 >hours ahead! ah yes. Because your hardware clock is correct, your system will add 10 hours to that. After setting the system time, and saving UTC to the hardware clock, remove /etc/adjtime or else your machine will have odd ideas about clock drift on your next boot. -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
