Use 'date MMDDhhmm' to set the system date (man date for more info) and
then use 'setclock' to write the hardware clock from the system clock.  I
assume this box does not also have Winfart on it, cos that don't
understand UTC hardware clock concepts.

-- 
Howard.
______________________________________________________
LANNet Computing Associates <http://www.lannet.com.au>

On Thu, 17 Aug 2000, Tom Massey wrote:

> Hi,
> 
> I seem to have broken the time on my system in some way. Here's the
> thing: A couple of days ago I used 'timetool' to change the date back to
> March to check that a Perl script I was writing did what it was supposed
> to in that month (it did). On setting the time back to the present
> however, I seem to have run into a problem. The time keeps changing itself
> to 10 hours ago everytime the machine is rebooted, or at midnight if it's
> left running (I think). Looks to me that I've somehow set it to use GMT or
> something like that, but I can't work out how to change it back. 'clock'
> gives the correct time, but 'date' gives the wrong one, until I reset it
> again - but this resetting doesn't last. Running Mandrake 7.1. Anybody
> have any thoughts on what's up here? (As I said - looks to me that it's
> set to believe the hardware clock is set to GMT and Linux is adjusting
> back from that or something, so where is this set?)
> 
> TIA, Tom
> 
> 
> 
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
> 



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to