[ILUG] Time sync on dialup
Kenn Humborg
kenn at bluetree.ie
Tue Nov 26 14:50:04 GMT 2002
> The docs for ntpd say that ntpd -q is equivalent to ntpdate, and
> that it is
> preferred over ntpdate. -q should make ntpd quit after it completes one
> synchronisation, but it doen't seem to quit for me. It completes
> a sync and
> adjusts my machine's time correctly within a couple of minutes of
> starting
> ntpd (from ip-up) but then the process hangs around forever. I haven't
> been able to figure out why yet.
>
> If I was to leave ntpd running permanently is there any way that
> I can poke
> it into life when a dial-up connection is made (i.e. from ip-up)? ntpd
> doesn't seem to notice short duration connections that last only 10 or 15
> minutes.
At home, watching syslog shows that the ntpd shipped with RH7.2
spots that the connection is up within tens of seconds.
In any case, a
service ntpd restart
in your ip-up.local should give it a kick.
Later,
Kenn
More information about the ILUG
mailing list