From owner-freebsd-questions Tue Dec 12 6:54:22 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 12 06:54:20 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id C0EB337B402 for ; Tue, 12 Dec 2000 06:54:19 -0800 (PST) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.9.3/8.9.3) with SMTP id JAA78881; Tue, 12 Dec 2000 09:54:16 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <002701c0644b$8268b980$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Den" Cc: References: <16316.001212@lineone.net> Subject: Re: PPP Date: Tue, 12 Dec 2000 09:55:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Den wrote: > John wrote: > > > 2) and when i boot up, it automatically dials my modem (i just > > noticed this, god knows how big my phone bill is), how do i turn > > this off > > Ooops; can't help with the phone bill but you need to put: > 'ppp_mode="auto"' in /etc/rc.conf so that ppp only dials when necessary. > Also put ' set timeout 300' in your ppp.conf so that ppp will close the > connection if there's no activity for 5 minutes. This may not fix the problem. Even with 'ppp_mode="auto"', the modem will pick up and dial in order to resolve DNS queries (such as those from sendmail) when the system boots, as well as other traffic when the system is up (ping, etc.) You should configure some filters in your PPP setup so that things like DNS, ICMP and NetBIOS traffic don't bring up your net connection - just things like web surfing and email. Check /usr/share/examples/ppp/ppp.conf.samples for details on how to set filters up. You'd be most interested in any 'set filter dial' lines. -- Matthew Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message