Re: ntpd kaputt

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Wed, 16 Feb 2005 14:26:40 +0100 (CET)

Patrick Hess <phess(at)swissinfo.org> wrote:
> Das ist bei mir das Problem (T-DSL mit 24h-Zwangstrennung).
> Der ntpd bindet sich an alle IPs, auch an die dynamische IP-Adresse.
> Wenn sich die nun ändert, dann habe ich das gleiche Problem wie du.
> Der ntpd stellt einfach den Dienst ein.

Cronjob schreiben, der zu einer bestimmten Uhrzeit (z.B.
5:00 morgens) die PPP-Verbindung kontrolliert resettet und
den ntpd restartet. Es sollte auch per ppp.linkup-Skript
gehen.

Oder einen Provider nehmen, der keine 24h-Zwangstrennung
hat (QSC, M"net und andere), sofern verfügbar. ;-)

> Andererseits sollte man vor dem ntpd-Start mit ntpdate die korrekte
> Zeit setzen - geht nicht ohne Internet-Verbindung.

ntpdate ist obsolete. Besser ntpdate nicht verwenden, und
stattdessen ntpd mit der Option -g starten.

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"... there are two ways of constructing a software design:  One way
is to make it so simple that there are _obviously_ no deficiencies and
the other way is to make it so complicated that there are no _obvious_
deficiencies."        -- C.A.R. Hoare, ACM Turing Award Lecture, 1980
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 16 Feb 2005 - 14:27:57 CET

search this site