lkml.org 
[lkml]   [2000]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: "Clock Skew detected error"
On Mon, 24 Jan 2000, Sujit Vaidya wrote:

> HI,
> I changed the date on the machine using the date
> command. Then the kernel compiles fine without any
> errors. But again when i reboot the system it takes
> the original date. i.e it sets the date to
> JAN ** , 1994.
> Is there any way i can change that.

Make sure your TZ variable has been set properly (in /etc/profile)

export TZ=US/Eastern
Then make it take effect like
. /etc/profile # Execute /etc/profile
Then reset your system time like
rdate time-a.timefreq.bldrdoc.gov # Set time to NIST
Then set your CMOS clock
hwclock -systohc

This should make everything fine. If you set your clock to NIST,
or to the national time-server in the country or your choice,
every time you startup and connect to a network or if your
machine is 'up' all the time, have crond (man cron) set it once
a day.


Cheers,
Dick Johnson

Penguin : Linux version 2.3.39 on an i686 machine (800.63 BogoMips).


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.043 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site