Re: Setting hwclock --localtime fails

2007-04-25 Thread Michael
rdate is updating the time from timeserver, but is more lightweight than ntpdate. I couldn't discover a debian boot script for rdate, but it's a simple issue, so I added this snippet to a customized /etc/rc.local script: NTPSERVERS="80.237.234.16 130.133.1.10" echo "Setting system clock:" for t

Re: Setting hwclock --localtime fails

2007-04-12 Thread Anders Ellenshøj Andersen
Torsdag 12 April 2007 17:35 skrev Frank Ursel: > I think it is a bad, bad advice. And its wrong :-) You should tell your > system its not running UTC. Set UTC=no in /etc/default/rcS and your > system will run with local time, like Windows does. Thanks for your help. The --directisa option works.

Re: Setting hwclock --localtime fails

2007-04-12 Thread Celejar
On Thu, 12 Apr 2007 19:35:07 +0200 Frank Ursel <[EMAIL PROTECTED]> wrote: > On Do, Apr 12, 2007 at 09:14:49 +0200, Anders Ellenshøj Andersen wrote: [snip] > other Problem: > > > kit:~# hwclock --localtime > > select() to /dev/rtc to wait for clock tick timed out > > > > Is there a bug? Any hint

Re: Setting hwclock --localtime fails

2007-04-12 Thread Michael Olbrich
Hi, On Thu, Apr 12, 2007 at 09:14:49PM +0200, Anders Ellenshøj Andersen wrote: > I run a dual boot system with Vista and Debian unstable. > > The clock in Debian is two hours ahead because it thinks the time is UTC. > > I have been adviced that I should use hwclock to set the time to local time,

Re: Setting hwclock --localtime fails

2007-04-12 Thread Frank Ursel
On Do, Apr 12, 2007 at 09:14:49 +0200, Anders Ellenshøj Andersen wrote: > I run a dual boot system with Vista and Debian unstable. > > The clock in Debian is two hours ahead because it thinks the time is UTC. > > I have been adviced that I should use hwclock to set the time to local time, > but

Re: Setting hwclock --localtime fails

2007-04-12 Thread Sergio Pereira
Anders Ellenshøj Andersen escreveu: I run a dual boot system with Vista and Debian unstable. The clock in Debian is two hours ahead because it thinks the time is UTC. I have been adviced that I should use hwclock to set the time to local time, but I get this error: kit:~# hwclock --localtime