Group: comp.os.linux.networking
From: =?UTF-8?B?w4BuZ2VsIENhdGFsw6A=?=
Date: Thursday, April 10, 2008 1:54 AM
Subject: Re: Problem with Debian Etch and NTP

Chris Davies escribió:
> Àngel Català wrote:
>> I have tried it with --utc instead --localtime and /etc/default/rcS with
>> UTC=yes
>

OK, I will change UTC to "no"


> That's wrong. You DEFINITELY need UTC=no because your BIOS clock is set
> by Windows to local time.
>
>> It seems it works, but... I have always 2 hour of difference between
>> Windows and Linux.
>
> Then it's not working!
>
> With the BIOS clock having been set to the correct time by Windows,
> can you then tell us the output of these at Linux boot time, please:
>
> date
> date -u
> hwclock --directisa --show --noadjtime --localtime
> hwclock --directisa --show --noadjtime --utc
>
> Thanks,
> Chris

Hi, Chris

before changing UTC to "no" in /etc/default/rcS, these are the outputs
you have requested:

(By the way, I guess "--noadjtime" is just a typo and it should be
"--noadjfile")

date
thu apr 10 10.50:32 CEST 2008

date -u
thu apr 10 8:50:34 UTC 2008

hwclock --directisa --show --noadjfile --localtime
thu apr 10 8:50:40 CEST -0.801098 seconds

hwclock --directisa --show --noadjfile --utc
thu apr 10 10:50:44 CEST -0.445415 seconds


Best regards.
Àngel.

Safety Articles | Usenet Groups | Usenet News | Bluegrass