Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 May 1998 03:53:46 GMT
From:      jak@cetlink.net (John Kelly)
To:        Slyce <slyce@onramp.net>
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: Need sample ip-up and ip-dn scripts....
Message-ID:  <35527fa2.229545848@mail.cetlink.net>
In-Reply-To: <3551E7BB.A9452172@onramp.net>
References:  <3551E7BB.A9452172@onramp.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 07 May 1998 11:56:27 -0500, Slyce <slyce@onramp.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35527fa2.229545848>