Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
Re: [SLE] Was: Sync'in Time
  • From: Lenz Grimmer <grimmer@xxxxxxx>
  • Date: Thu, 3 May 2001 23:33:41 +0200 (CEST)
  • Message-id: <Pine.LNX.4.33.0105032330160.18673-100000@xxxxxxxxxxxxx>
On Wed, 2 May 2001, basslake wrote:

> I use dial-up account, so when I boot up, I am not connected to the net.
> xntp exits , and log says that -
>
> May 2 11:30:30 basslake ntpdate[389]: can't find host sundial.columbia.edu
> May 2 11:30:30 basslake ntpdate[389]: can't find host tick.cs.unlv.edu
> May 2 11:30:30 basslake ntpdate[389]: no servers can be used, exiting

This is no good. Maybe it cannot resolve the host names? Maybe you should
try to use IP addresses instead.

> May 2 11:30:30 basslake xntpd[392]: ntpd 4.0.99f Mon Apr 9 10:57:57 GMT 2001 (
> May 2 11:30:30 basslake xntpd[392]: signal_no_reset: signal 13 had flags 400000
> May 2 11:30:30 basslake xntpd[392]: precision = 11 usec
> May 2 11:30:30 basslake xntpd[392]: kern_enable is 1
> May 2 11:30:30 basslake xntpd[392]: using kernel phase-lock loop 0040
> May 2 11:30:30 basslake xntpd[392]: frequency initialized 0.000 from /etc/ntp.d
> May 2 11:30:30 basslake xntpd[392]: using kernel phase-lock loop 0041
>
> Question: Do I need to stop, then restart xntpd every time I go on
> line ? , or is there a command-line command to tell xntpd to get the
> time sync from the net servers ?

I would recommend to start and stop it every time you go online/offline.
Since it cannot sync the clock while you are offline anyway, there is not
much use for keeping it running. Anyway - how exact do you want your
system clock to be? I simply run "ntpdate" every time I connect to the
net. It's not like the clock is going to drift for hours if you are
disconnected for a day :)

LenZ
--
------------------------------------------------------------------
Lenz Grimmer SuSE GmbH
mailto:grimmer@xxxxxxx Schanzaeckerstr. 10
http://www.suse.de/~grimmer/ 90443 Nuernberg, Germany
One who is always in a stew generally goes to pot.


< Previous Next >
Follow Ups
References