[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ntpdate, /etc/timezone et all.



Stan Brown wrote:
> 
> I am trying to get my machine to have the harware clock set to UTC, and honor the
> TZ environment variable for displaying the correct local time. I will use ntpdate
> to keep the time in synch.
> 
> Curently I have the correct timezone in /etc/timezone, and the correct offset from
> the hardware clock is being applied, but I can't seem to get my script that runs
> ntpdate to set the hardware clock to UTC. It persists in setting it to the local
> time, so my displayed time, after applying the offset, is incorect.

There was a good post on this awhile ago but basically it said that for
ntp to work, the hardware clock has to be very close to the correct
time. Use hwclock to set the time close and then try the ntp.

Hope this helps,
Eric :-)



Reply to: