Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 1996 07:04:58 -0600 (CST)
From:      mailing list account <lists@argus.flash.net>
To:        doplcky@metronet.com (Debuggus Maximus)
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: chat script for PPP connect
Message-ID:  <199601161304.HAA00395@argus.flash.net>
In-Reply-To: <199601160738.AA16794@metronet.com> from "Debuggus Maximus" at Jan 16, 96 01:38:41 am

next in thread | previous in thread | raw e-mail | index | archive | help
> Hiya folks.
> 
> I have RTFM till my eyes have crossed and cannot figure out what I am 
> doing wrong.  My modem is on /dev/ttyd1 and chat refuses to talk to it.
> Ive been at it for hours.  Anyone got suggestions?  I did this with 
> release 2.0 and had no problems, but 2.0.5 seems to choke on it.
> Chances are it is a case of operator headspace and timing.  If someone 
> has a script that works I would be most appreciative.

here you go:

in the file /home/root/bin/pppon:

#!/bin/sh
pppd /dev/cuaa2 115200 connect "dial.server.for.ppp $1"

in the file /home/root/bin/dial.server.for.ppp:

#!/bin/sh
chat -v ABORT BUSY ABORT 'NO CARRIER' ABORT 'NO DIALTONE' ABORT 'VOICE' '' at\&f1l3\&c1\&d2\&s1\&t4s7=60s11=55e1q0 OK atdt$1 TIMEOUT 45 ogin: your_username assword: your_password beginning...< /dev/cuaa2 > /dev/cuaa2

all you have to do from here is change the port, speed, modem init, username, 
and password, possibly also the last response string [which is tailored to a 
portmaster] to whatever the term server answers with after the password.

the modem init strings have been used interchangably with both a 
USR sportster 33.6k and a GVC [rockwell chipset] 14.4k.

run it as root as follows:

pppon 555-1212

you can play with your own /etc/ppp/options file.

have phun!

gotta run, gotta turn off the computer, croatian radio has a few minutes of
english news on 13,830 kHz at 13:03 UTC

Jim
--
All opinions expressed are mine, if you   | "I will not be pushed, stamped,
think otherwise, then go jump into turbid | briefed, debriefed, indexed, or
radioactive waters and yell WAHOO !!!     | numbered!" - #1, "The Prisoner"
   jbryant@argus.flash.net - FlashNet Communications - Ft. Worth, Texas



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