[lug] Losing Clock setting

Sean Reifschneider jafo at tummy.com
Tue Nov 2 01:44:09 MST 1999


On Sun, Oct 31, 1999 at 08:09:02PM -0500, winrip wrote:
>David Willcox wrote:
>> Does anyone know why I keep losing my date & time settings in Linux
>> 5.0 and5.2 versions. I set it using this format:      # date
>> 102701351999 But on rebooting it defaults to something way off Thanks
>> ahead for any help, Dave Willcox :-)

Once you set the clock, you need to write it to the BIOS, or it will
take the BIOS setting on reboot.  On redhat that's /usr/sbin/setclock

>I had the same problem with an ATX Mother board... I had to turn off
>APM in the bios. Granted the machine doesn't go into power save anymore
>and doesn't auto power down, but it keeps time.

If it was related to suspend, you  might want to look at the kernel APM
settings.  One of them relates to wether the RTC stores time in UTC or not.
If your kernel thinks it's UTC, and it's not, when the system wakes up it
might think it's a completely different time than it is.

Something to try at least.

Sean
-- 
 "I can sum it up in one word:  Indescribable!"  -- Gonzo
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
URL: <http://www.tummy.com/xvscan> HP-UX/Linux/FreeBSD/BSDOS scanning software.




More information about the LUG mailing list