From owner-freebsd-questions Tue Apr 17 22:31:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailin8.bigpond.com (juicer39.bigpond.com [139.134.6.96]) by hub.freebsd.org (Postfix) with ESMTP id B66DA37B424 for ; Tue, 17 Apr 2001 22:31:47 -0700 (PDT) (envelope-from dyoung6@bigpond.net.au) Received: from oracle ([139.134.4.55]) by mailin8.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GBZ3LI00.2XT; Wed, 18 Apr 2001 15:36:54 +1000 Received: from CPE-61-9-141-84.vic.bigpond.net.au ([61.9.141.84]) by mail4.bigpond.com (Claudes-Terrific-MailRouter V2.9c 7/3765530); 18 Apr 2001 15:31:43 Message-ID: <049401c0c7c8$db4c2100$548d093d@oracle> From: "Doug Young" To: "Alvin Sim" , "FreeBSD Questions" References: <395951968.20010418112232@yahoo.co.uk> <044501c0c7b6$d5e98480$548d093d@oracle> <868976537.20010418121257@yahoo.co.uk> Subject: Re: Re[2]: stop ppp dialing on boot Date: Wed, 18 Apr 2001 15:31:44 +1000 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 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I understood from the subject line that you DIDN'T want it to dial on boot ----- Original Message ----- From: "Alvin Sim" To: "FreeBSD Questions" Sent: Wednesday, April 18, 2001 2:12 PM Subject: Re[2]: stop ppp dialing on boot > Wednesday, April 18, 2001, 11:22:44 AM, Doug Young wrote: > > DY> I'd start by commenting out those last four lines > > [...snip...] > > well, it doesnt dial out when the last four lines below is commented > out, as i previously stated below. any more suggestions? > > >> > >> i have a very simple lan comprising of a fbsd server (4.3-rc) that > >> serves as a gateway to 2 other machines running ntws and 98. ppp is > >> configured and i can dial 'ppp -auto provider' w/ no problems from a > >> ssh session from nt (telnet is disabled). now, this seems very > >> unconventional that i have to make a ssh session everytime i want to > >> connect to my isp. furthermore, the person behind the machine running > >> 98 has zero knowledge of doing anything of that sort (i.e. telnet, > >> ssh... ) > >> > >> ok, so i set up ppp to dial when there's a connection going out of my > >> lan when the system boots up. but... somehow, it dials everytime it > >> boots up instead of when it detects an outbound connection from my > >> lan. and i dont want that (dialing upon booting up) since i'm > >> charged on a per-minute dialup basis. anyways, i'm including part my > >> rc.conf config if someone can have a look at it and tell me where i > >> did wrong. > >> > >> start my rc.conf > >> =========================================================== > >> > >> # > >> ### Basic network: ### > >> network_interfaces="lo0 rl0" > >> ifconfig_lo0="inet 127.0.0.1" > >> ifconfig_rl0="inet 10.0.0.1 netmask 255.255.255.0" > >> hostname="my.domain.org" > >> > >> # > >> ### Network routing options: ### > >> gateway_enable="YES" > >> router_enable="NO" > >> defaultrouter="NO" > >> forward_sourceroute="NO" > >> accept_sourceroute="NO" > >> tcp_drop_synfin="NO" # Set to YES to drop TCP packets with > DY> SYN+FIN > >> tcp_restrict_rst="NO" # Set to YES to restrict emission of RST > >> > >> firewall_enable="YES" > >> firewall_type="open" > >> firewall_quite="YES" > >> natd_enable="YES" > >> natd_interface="tun0" > >> natd_flags="-dynamic" > >> > >> # > >> # User ppp configuration. > >> ppp_enable="YES" > >> ppp_mode="auto" > >> ppp_nat="NO" > >> ppp_profile="provider" > >> > >> =========================================================== > >> end my rc.conf > >> > >> > >> if ppp_enable="NO", i then have to manually dial. if ppp_enable="YES", > >> it dials on booting up :( so, how can i make it dial ONLY when it > >> detects an outbound traffic? thanks for looking into this. > > > > -- > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message