Setting the Date

Cyber Source peter at thecybersource.com
Mon Jul 9 22:20:04 EDT 2001


I had a similar problem on a dual boot system, where Windoz was reading time
as one time and Linux another. It turned out to be using the GMT time. I
played with it a while and finally got both to recognize the correct time.
peter at thecybersource.com

-----Original Message-----
From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org]On Behalf Of
Luberti, Carl
Sent: Monday, July 09, 2001 3:12 PM
To: 'nflug at nflug.org'
Subject: RE: Setting the Date

I'm not sure exactly what Linux does to set it's clock, but I know that the
following does set the kernel clock and the system clock to the same time:

rdate -s time.chu.nrc.ca
setclock

It first sets the kernel clock and then sets the hardware clock to the
kernel clock.  If you still have issues, you may have a CMOS battery
problem.

> Carlo Luberti
> EDS - New York Solution Centre
> NYSC Design Cell - Platform
> 25 Northpointe Pkwy.
> Amherst, NY 14228
> * phone: +01-716-564-6678
> * pager: +01-716-623-9062
> * mailto:carl.luberti at eds.com
> http://www.eds.com


-----Original Message-----
From: Robert Dege [mailto:rdege at cse.Buffalo.EDU]
Sent: Monday, July 09, 2001 2:59 PM
To: nflug at nflug.org
Subject: Setting the Date



Does anyone know how linux determines the date upon bootup?  I thought it
was from the BIOS, but apparantly not, since I have conflicting times.

Any direction towards the script, or command used is appreciated.

Dege

Inside some of us is a thin person struggling to get out, but
they can usually be sedated with a few pieces of chocolate cake.



More information about the nflug mailing list