Date: Sat, 09 Aug 1997 15:28:40 +0100 From: Brian Somers <brian@awfulhak.org> To: Chris <theta@gte.net> Cc: freebsd-questions@FreeBSD.ORG, chris@theta.dyn.ml.org Subject: Re: Writing PPP scripts Message-ID: <199708091428.PAA05020@awfulhak.org> In-Reply-To: Your message of "Wed, 06 Aug 1997 16:30:17 EDT." <33E8DED9.41C67EA6@gte.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> I am having difficulties writing a PPP script. I am new to FreeBSD. I
> am using 2.2.2.
>
> I have looked at the man page for ppp and the sample ppp.conf file and
> have tried modifying that script to no avail. It dials, but errs out.
> A script session looks like this
>
> ppp theta> dial gte
> dial attempt 1 of 1
> phone 916095867747
> Dial OK!
> login failed
>
> I achieve these results with this script (just a slight modification of
> the simplesite script) :
>
> gte:
> set phone 916095867747
> set login "TIMEOUT 5 login: GTE/theta word: (my password here) ocol:
> ppp
"> set timeout 0
>
> I don't know if I modified the script correctly or not.
>
>
> A successful manual login looks like this:
>
> UQKT2 Max3.Newark.NJ.MS.UU.NEt
>
> Login: GTE/theta
> Password: (not echoed)
> Entering PPP Mode.
> IP address is 153.34.62.14
> MTU is 1524
You're telling ppp to expect "ocol:" and send "ppp". Remove this
stuff if your ISP doesn't want it:
set login "TIMEOUT 5 login: GTE/theta word: (my password here)
--
Brian <brian@awfulhak.org>, <brian@freebsd.org>
<http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708091428.PAA05020>
