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

Re: [Sheflug] Daylight saving time & rdate




> Hmmm... been having some problems with time this week.
> 
> All my linux boxes keep GMT in the CMOS clocks and do a "clock -su" on 
> boot - this sets the unix time 1 hour infront of the CMOS time in the 
> summer. Problem being the gateway syncs it's time with a UK timeserver 
> every time it connects to the net with rdate - the timeserver returns 
> GMT not BST so I loose an hour on the unix clock, and then it sets the 
> CMOS clock another hour behind so my CMOS clock keeps GMT -1 hour. As 
> all the other machines on the LAN sync off the gateway then chaos 
> ensues. Apart from changing to a French timeserver in the summer how do 
> I get the timezones sorted (short of rewriting rdate with an option to 
> ignore the hour part of the returned time)? Been looking through xntp 
> documentation but it all seems soooo much more complicated than what I need.
> 
> thanks
> 
> A. Basterfield

I have netdate, rather than rdate, which works fine. But a couple of 
questions...what's your timezone set to? Does typing 'date' report GMT or 
BST ? What does "/sbin/clock -r" (or hwclock --show) say? Is it correct 
in being an hour ahead (or behind)?

Most time sync programs *will* return the date/time in GMT and let the 
system deal with the TZ conversion...

Servers I sync on are: ntp2a.mcc.ac.uk, ntp2b.mcc.ac.uk, ntp2c.mcc.ac.uk, 
ntp2d.mcc.ac.uk and ntp.cs.strath.ac.uk.

Chris...



-- 
Chris Johnson            \  "If not for me then, do it for yourself. If not
sixie@nccnet.co.uk        \  for then do it for the world." -- Stevie Nicks
www.nccnet.co.uk/~sixie/   ~---------------------------------------+
Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000   \______


---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.