From owner-freebsd-questions Thu May 7 20:51:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA10363 for freebsd-questions-outgoing; Thu, 7 May 1998 20:51:44 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns2.cetlink.net (root@ns2.cetlink.net [209.54.54.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA10342 for ; Thu, 7 May 1998 20:51:24 -0700 (PDT) (envelope-from jak@cetlink.net) Received: from EXIT10 (i485-gw.cetlink.net [209.198.15.97]) by ns2.cetlink.net (8.8.5/8.8.5) with SMTP id XAA16834; Thu, 7 May 1998 23:51:23 -0400 (EDT) From: jak@cetlink.net (John Kelly) To: Slyce Cc: FreeBSD Questions Subject: Re: Need sample ip-up and ip-dn scripts.... Date: Fri, 08 May 1998 03:53:46 GMT Message-ID: <35527fa2.229545848@mail.cetlink.net> References: <3551E7BB.A9452172@onramp.net> In-Reply-To: <3551E7BB.A9452172@onramp.net> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id UAA10344 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 07 May 1998 11:56:27 -0500, Slyce wrote: > scripts to start and stop kernel ppp sessions to local isp's??? /etc/ppp/pap-secrets > bozotheclown bigtimeisp password /etc/ppp/options > crtscts > nobsdcomp > nopredictor1 > asyncmap 00000000 > lcp-max-configure 5 /etc/ppp/ispstart > #!/bin/sh > # Clear firewall rules > fwcmd="/sbin/ipfw -q" > $fwcmd -f flush > $fwcmd add 65000 pass all from any to any > # Clear log > cp /dev/null /var/log/ppp.log > # Fire it up > pppd /dev/cuaa0 115200 persist holdoff 65 defaultroute \ > connect /etc/ppp/ispchat remotename bigtimeisp name bozotheclown /etc/ppp/ispchat (for external 3Com Impact IQ ISDN) > chat -v -t 5 \ > ABORT 'ERROR' ABORT 'NO DIALTONE' ABORT 'BUSY' \ > ABORT 'NO ANSWER' ABORT 'NO CARRIER' \ > '' 'AT&F' OK 'AT S60=64 S61=2 S70=0 S71=1 S76=0 S80=0' \ > OK 'ATD 555-5555' TIMEOUT 20 CONNECT '\c' '\r' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message