Re: xntp3 on dialup - how?
On Wed, 31 Mar 1999 15:10:20 -0600 (CST), you wrote:
>I have installed xntp3 (running slink). However, the daemon is stared from
>init.d and I am not yet online. The log tells me that the network is not
>available (what a surprise!;).
xntp relies on the parent ntp servers being online. I use xntp to act
as a master for the clients in the LAN and sync the master server on
ip-up.
|mh@torres:/mnt/main6/home/mh > cat /etc/ntp.conf
|# /etc/ntp.conf, configuration for xntpd
|
|driftfile /var/lib/ntp/ntp.drift
|statsdir /var/log/ntpstats/
|
|statistics loopstats peerstats clockstats
|filegen loopstats file loopstats type day enable
|filegen peerstats file peerstats type day enable
|filegen clockstats file clockstats type day enable
|
|server 127.127.1.1
|fudge 127.127.1.1 stratum 0
|
|mh@torres:/mnt/main6/home/mh >
|mh@torres:/mnt/main6/home/mh > cat /etc/ppp/ip.d/nettime
|#!/bin/bash
|
|case "$PPP_OPERATION" in
| up)
| /usr/sbin/netdate -v ntp.rz.uni-karlsruhe.de
| sbin/clock -wu
| ;;
| down)
| ;;
|esac
|mh@torres:/mnt/main6/home/mh >
This seems to work like a charm.
Greetings
Marc
--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Karlsruhe, Germany | Beginning of Wisdom " | Fon: *49 721 966 32 15
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29
Reply to: