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

Chris Davies escribió:
> Àngel Català wrote:
>> I have changed /etc/default/rcS in this way:
>
>> 1. Changed UTC=no
>> 2. Added HWCLOCKPARS=--directisa
>
> That's good
>
>
>> Then I have rebooted the laptop, and then on a shell I have typed the
>> command you listed me. These are the outcomes:
>
> Did you boot into Windows, first, to set the time correctly? This is an
> essential step.
>
>
>> date:
>> thu apr 10 11:19:46 CEST 2008
>
> Was this really the correct time when you ran the command? Looking at
> the NNTP headers, it looks like this was two hours ahead of where it
> should be.
>
>
> Please would you reboot into Windows and set the time correctly. Then
> reboot into Linux and repeat the four commands for me. Also, please
> would you indicate what the time really is (I forgot to ask for that
> last time!)
>
> Thanks
> Chris

Hi again,

I have rebooted the laptop and selected Windows. Time in Windows was the
right one (12:50). Then a I have rebooted into Linux, and... the time
was also right now !! (12:53). So I have shut down the laptop, and then
I have booted it again into Linux and the time is still right 12:55.

Now it's 13:01 and these are the outputs to:

date:
thu apr 10 13:01:47 CEST 2008

date -u:
thu apr 10 11:01:50 UTC 2008

hwclock --directisa --show --noadjfile --localtime
thu 10 apr 2008 13:02:03 CEST -0.885838 seconds

hwclock --directisa --show --noadjfile --utc
thu 10 apr 2008 15:02:08 CEST -0.617001 seconds

I wish tomorrow time will be still coherent between Windows and Linux.

Thanks and best regards

Safety Articles | Usenet Groups | Usenet News | Bluegrass