From owner-freebsd-questions Wed Apr 18 9:23: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by hub.freebsd.org (Postfix) with SMTP id 3874137B440 for ; Wed, 18 Apr 2001 09:22:51 -0700 (PDT) (envelope-from bsd140870@yahoo.co.uk) Received: from unknown (HELO as2.kptn.org) (210.186.38.162) by smtp.mail.vip.sc5.yahoo.com with SMTP; 18 Apr 2001 16:22:46 -0000 X-Apparently-From: Date: Thu, 19 Apr 2001 00:26:41 +0800 From: Alvin Sim X-Mailer: The Bat! (v1.52 Beta/4) Reply-To: Alvin Sim Organization: n/a X-Priority: 3 (Normal) Message-ID: <17823055472.20010419002641@yahoo.co.uk> To: FreeBSD Questions Subject: Re[4]: stop ppp dialing on boot In-Reply-To: <20010418164710.A12087@dogma.freebsd-uk.eu.org> References: <395951968.20010418112232@yahoo.co.uk> <20010418112258.A7234@dogma.freebsd-uk.eu.org> <1076649851.20010418195315@yahoo.co.uk> <20010418073412.A216997@mandy.rockingd.calgary.ab.ca> <20010418164710.A12087@dogma.freebsd-uk.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wednesday, April 18, 2001, 11:47:10 PM, Rasputin wrote: [...snip...] >> > R> Find out what's bringing up the line. >> > R> Chances are one of your daemons does a DNS test or similar when it starts up. >> > >> > this just might be it but... how do i see which is starting up the >> > dns test search? i have `inetd' disabled in rc.conf and the only >> > thing thats in /usr/local/etc/rc.d are: R> One of those is probably making DNS queries. yes, i am quite sure now that it is a dns lookup problem. R> If you are logged in as it boots, try sockstat -4 R> see what is using the network. will do just that. R> (a dns query can come from anywhere but will ber travelling to the R> IP of one of your nameservers addressed ot port 53 udp/tcp) R> Once you know what kind of traffic is bringing up the line, R> as Duke said, man ppp should give you some idea how to limit R> what will bring up the PPP link. R> There's a sample file somewhere rilly obvious R> (either the Handbook or the Pedantic PPP Primer) that shows you R> how to selectively bring up the line on a per-protocol basis. i think it's the later and has something to do with ppp filters. if it is, then maybe i should take a look at my ipfw/natd config rules (which is now set to "open") i'll have a look some more in the morning. time to get some shut-eye for now. thanks for all the help... for today :) >> "sendmail" was the culprit doing DNS lookups. I believe that i cured the >> problem by disabling 'dns' in ppp.conf. Check the mailing list archives - -- Alvin mailto:bsd140870@yahoo.co.uk _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message