Group: comp.os.linux.networking
From: Shadow_7
Date: Saturday, April 05, 2008 7:53 AM
Subject: Re: Problem with Debian Etch and NTP

> So I restart ntpd and after a while I get my clock synchronized again,
> so I understand that my configuration is OK, but I can't understand why
> it does not work at boot time and it does after restart daemon manually.

Perhaps ntpd is launching before the network is up. I've had similar
problems with udev running too early if you disable other things like
dbus, autofs, and the likes. Adjust the /etc/rc?.d/S## for ntpd and see
if that helps. Higher numbers run later in the boot sequence.

There's other things for timezone / date stuff as well. So maybe that's
not quite right either. tzconfig, locales, /etc/timezone, /etc/localtime,
and various other things that need setting up as well. Is the computer
clock set to UTC or localtime? Are you rebooting to windows and it's
adjusting for DST without syncing to a server? Even though you already
adjusted for DST in linux.

I had a similar problem once. Although I didn't sync or run ntpd at all.
But every time my computer crashed, or otherwise shutdown without the use
of shutdown(power outage), the clock got bumped four hours. Perhaps your
computer is not shutting down right. All assumptions though as it's not
my computer and I don't know how you have things setup, or not.

Safety Articles | Usenet Groups | Usenet News | Bluegrass