Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2002 23:53:00 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ntp
Message-ID:  <20020905225300.GA19894@catflap.home.slightlystrange.org>
In-Reply-To: <DPEDIFKGFNJACMLKGOEGAEJOCDAA.tar@transfer.nl>
References:  <DPEDIFKGFNJACMLKGOEGAEJOCDAA.tar@transfer.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 05, 2002 at 10:15:51PM +0200, Robert Tan wrote:
> Hi,
> 
> Im running a machine who has a ppp link1 on a ISDN line.
> So when traffic is requested on the interface (isp0) the
> system dials in.
> 
> Now my machine sends out periodic ('bout every 6 minutes), ntp
> requests.  I don't want this - it's too expensive. But I can't
> figure out why this happens, Im not having the ntpd waiting in
> the background.
> 
> A tcpdump output:
> 
> 	21:59:49.575473 IPCP 14: Conf-Ack(22), IP-Comp VJ-Comp
> 	21:59:53.582708 IP 80: MyAddres.4351 > 194.159.73.44.ntp:  v3 client strat
> 0 poll 0 prec 0
> 	21:59:53.634576 IP 80: 194.159.73.44.ntp > MyAddres.4351:  v3 server strat
> 2 poll 0 prec -17 [tos 0x10]

I'm guesing you have xntpd_enable="YESS" in /etc/rc.conf?  If so, set it
to "NO", issue `killall ntpd' now, and it will stop dialling in for you.  

I don't use ISDN, but I'm sure there must be some way of triggering a
script once the interface is started and the link established.  Use
ntpdate, or better, ntpd -q, to synchronise your host's clock.

HTH

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020905225300.GA19894>