Re: NTP-Server
On Friday 05 November 2004 20:07, Bertram Scharpf wrote:
> Hallo,
[...]
> Offensichtlich reicht es, wenn ich nur lang genug warte.
> Wenn der `ntpd' ein Stratum von 2 hat, dauert es anscheinend
> nochmal eine Minute, bis das beim Client ankommt!?
>
> Da ich über ISDN eingewählt bin, will ich nicht so lange
> warten müssen. Kann ich nicht
>
> - die Synchronisation sofort erzwingen,
Jein, sofort erzwingen nicht, aber beschleunigen:
server xxx iburst
(siehe file:///usr/share/doc/ntp-doc/html/confopt.html, nach der
Installation von ntp-doc)
"...This is designed to speed the initial synchronization acquisition
with the server command and s addresses and when ntpd is started with
the -q option."
> - auf die Dauersynchronisation verzichten, da es mir nur
> darauf ankommt, daß alle Rechner bei mir gleich laufen?
> (Außerdem geht die automatische Auswahl nicht mehr,
> wenn dauernd der Zeitserver Pakete sendet.)
Ja, ntpd mit -q aufrufen. Dann beendet sich ntpd nachdem er die Uhr
gestellt hat (nach ein paar Sekunden).
(siehe file:///usr/share/doc/ntp-doc/html/ntpd.html#cmd)
"Exit the ntpd just after the first time the clock is set. This behavior
mimics that of the ntpdate program, which is to be retired. The -g and
-x options can be used with this option. Note: The kernel time
discipline is disabled with this option."
Grüße,
Tilo
Reply to: