[dundee] AHHHHHHHH

Andrew Clayton dundee at lists.lug.org.uk
Tue Apr 1 20:11:01 2003


On Tue, 2003-04-01 at 02:47, CS Systems wrote:
> I think I'm just being silly here, but anyway.  I'm trying to get my 
> linux (redhat 7.2) box to sycronize the time with time.nist.gov time 
> server, and I've got the command
> 
> hwclock -w | rdate -s time.nist.gov
> 

This command doesn't really make any sense. It says, use the output of
the hwclock -v command as the input to the rdate command.

Use the timeconfig command. Set your hardware clock to GMT/UTC then
select the right timezone, Europe/London

Than you can use rdate -s  time.nist.gov to sync your clock.


> which sort of works... this sets both the system time and the 
> hardware clock time to the value it recieves from time.nist.gov, but 
> it is 1 hour slow. (Most likely due to the GMT daylight savings).  
> Can anyone suggest how I can get the correct time from time.nist.gov 
> so I can set the correct times for the system and hardware clocks.
> 
> p.s.  I had it working about 2 hours ago, changed something and 
> cannot get it back again :(   Suppose I was trying to be too smart.  
> Any help greatly appreciated
> 
> Yours sincerely 
> 
> Christopher Shennan
> CS Systems


Andrew Clayton