From owner-freebsd-questions Thu Sep 5 15:53:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 949A537B400 for ; Thu, 5 Sep 2002 15:53:10 -0700 (PDT) Received: from catflap.home.slightlystrange.org (host217-39-164-113.in-addr.btopenworld.com [217.39.164.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96FBD43E4A for ; Thu, 5 Sep 2002 15:53:09 -0700 (PDT) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 17n5Ui-0005BP-00 for freebsd-questions@FreeBSD.ORG; Thu, 05 Sep 2002 23:53:00 +0100 Date: Thu, 5 Sep 2002 23:53:00 +0100 From: Daniel Bye To: freebsd-questions@FreeBSD.ORG Subject: Re: ntp Message-ID: <20020905225300.GA19894@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Scanner: exiscan *17n5Ui-0005BP-00*m3foX892IFY* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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