[CLUE-Tech] Chat script for Linux PPP for Earthlink/Mindspring from Denver

Jed S. Baer thag at frii.com
Fri Apr 12 11:13:45 MDT 2002


On Fri, 12 Apr 2002 07:32:07 -0700 (PDT)
Keith Christian <keithchristian at yahoo.com> wrote:

> Hi Folks,
> 
> Anyone have a decent chat script for dial up to either Earthlink or the
> old Mindspring nodes here in Denver?

Maybe these will get you going. You might have to modify the login script,
as it expects the string 'PPP' (that always appears when my ISP starts up
ppp. Dunno about earthlink. You can connect to them using minicom and see
if you get a shell prompt, in which case you would need to add a line to
start up ppp. the cp commands are useful only if you have multiple ISPs -
I got this from a friend of mine who does, and never took it out.

----------- script you invoke
#!/bin/sh
#
#  Set up for name resolution via FRII
#
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
cp /etc/ppp/frii/resolv.conf /etc/resolv.conf
cp /etc/ppp/frii/pap-secrets /etc/ppp/pap-secrets

  /usr/sbin/pppd connect "chat -v -f /etc/ppp/frii/chat-login.new" \
    ttyS1 115200 \
    asyncmap 0 \
    lcp-max-configure 100 \
    crtscts modem defaultroute noipdefault \
    noauth
------------------ chat-login.new
REPORT CONNECT
ABORT BUSY
ABORT ERROR
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
'' ATZ
OK "ATS7=45S0=0L3V1X3&C1Q0&K3&S0E0&D2S2=255"
OK ATDT{phone number here},,
TIMEOUT 60
CONNECT ''
ogin:--ogin: {username}
assword: {password}
TIMEOUT 20
PPP

----------- /etc/ppp/options
lock
defaultroute
crtscts
asyncmap 0
netmask 255.255.255.0
name thag
noauth
lcp-echo-interval 0
idle 600

-- 
Fight the CBDTPA: http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html

"Those who expect to reap the blessings of freedom must, like men,
 undergo the fatigue of supporting it." - Thomas Paine



More information about the clue-tech mailing list