WANTED: CHAT-Script for PPP COMPUSERVE

WANTED: CHAT-Script for PPP COMPUSERVE

Post by 100425.2.. » Sun, 19 Nov 1995 04:00:00



Hi people,

I'm in search for an chat script for the PPP COMPUSERVE
INTERNET SERVICE.

Any help to


or

Thanks in advance.

 
 
 

WANTED: CHAT-Script for PPP COMPUSERVE

Post by dmitr » Tue, 21 Nov 1995 04:00:00


#! /usr/bin/bash

MaxDials=50
DialCount=1

SaveRc=1

while test $SaveRc -ne 0 -a $DialCount -le $MaxDials
do
    if test $DialCount -gt 1
    then
        sleep 5s
    fi

    DialCount=`expr ${DialCount} + 1`
    echo "Dial attempt $DialCount"

    /usr/sbin/chat -v -t 120 \
                ABORT BUSY ABORT "NO CARRIER" "" ATZ OK ATDT0171-490-8881 CONNECT ""^C ID: 100334,712/GO:PPPCONNECT word: ***********
    SaveRc=$?
done

if [ $SaveRc != 0 ]; then
    killall -TERM waitpppd
fi

exit $SaveRc