Re: time


chuck goolsbee (chuck@rackhenge.net)
Wed, 6 Oct 1999 10:28:06 -0700


>Why does'nt the ANS's hold their time after a reboot or a shutdown.
>Is there anyway to fix this?

Kevin,

I had a real hard time getting my ANS to keep proper time too. The OS
gets time after a reboot from the CMOS clock. So first you have to
set the time from within the OS:

date -s 'october 06 10:25 1999'

Then set the CMOS clock from the OS time:

/sbin/clock -w

Then add this to your /etc/rc.d/rc.local so that the OS gets the time
from the CMOS clock after reboot:

/sbin/clock -s

If that doesn't solve your problem, I bet you need a new PRAM battery.

--chuck goolsbee
seattle, wa



This archive was generated by hypermail 2.0b3 on Wed Oct 06 1999 - 17:32:51 GMT