On Thu, 10 May 2007, Kurt Roeckx wrote:

When I shut down my computer, for some reason it looses the time and
resets it to july 2003. That has nothing to do with Debian, I know. When
I boot, ntpd is started, but it does not reset the time, I need to
manually stop it, call ntpd -g -q, then restart it. That is basically
what ntpdate used to do. Maybe ntp should provide an ntpdate init script
that does this before launching the daemon?

You could install ntpdate, which should do what you expect.

But ntp itself also is already started with -g by default.  In
/etc/default/ntp NTPD_OPTS default to "-g".

So I have no idea what your problem really is.

ntpdate was installed, but for some reason I was stuck with version 1:4.2.2+dfsg.2-2 and apt-get did not propose to upgrade and I did not have a ntpdate binary. Now I have upgraded and the file is there, so it should work better. I will shut the computer down tonight and check tomorrow.

I was left with the impression that when ntp was installed, it was useless to install ntpdate. However, even with the -g option, ntp refuses to step 4 years, it requires the -q option to convince it to do so.

--
Marc Glisse


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to