just type hwclock --set --date=newdate
where newdate is in the format 11/8/99 10:00:00

make sure you use military time. for instance 6 pm today is 18:00:00

so just run
/sbin/hwclock witht the proper arguments and all should be well. let me know 
if this works for you. **be sure to reboot so programs that depend on time 
don't act retarded.**

>From: Charles Galpin <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Setting CMOS date
>Date: Mon, 8 Nov 1999 07:46:04 -0500 (EST)
>
>at least on 6.1 there is a utility called setclock that will set the
>hardware clock from the system clock. So get your date/time right with
>date -s "<right time/date>" and then run setclock.
>
>I found it with
>man -k clock
>
>I just upgraded to 6.1, and it screwed up my time. I thought I had a
>pretty standard setup, and would have thought the upgrade would have been
>able to preserve my existing setup. All it all though I thought the 6.1
>upgrade went pretty smoothly.
>
>hth
>charles
>
>On Mon, 8 Nov 1999, Vidiot wrote:
>
> > Is there a way to set the CMOS date chip in a PeeCee motherboard via
> > a linux shell command line program?
> >
> > If "date" can do it, I don't see an option that enables it to do that.
>
>
>--
>To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>as the Subject.
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to