To all,
I've installed redhat 4.2, and I've been able to connect to one isp I use
with a simple "ogin:name assword:mypass" chat script. However, I find I am
unable to get a working connection to ibm.net. It appears from looking at
a "dip" script from the ibm.net web sitethat they do not send any prompts
or "expects" that chat can use. In looking through the man pages for chat
I've been unable to find anyway to have it delay and then send the correct
strings to do the login. Here below is an extract from the dip script
which is for slip (I'm using ppp):
################ cut starts
<!--StartFragment--># We are connected. Login to the system.login: sleep
2
send & wait ==> 20 if $errlvl != 0 goto login_error send 1.0\r wait
==> 20
send INTERNET\r wait ==> 20 if $errlvl != 0 goto password_error
#send (account) (userid) (password)\r send AUINET Notme nowayJose\r
get $locip remote 10 send \r get $rmtip remote 10loggedin: get $mtu
600
defaultdone: print CONNECTED $locip ---> $rmtip
################## cut end
I haven't had a chance to try it (I gave up and left the office for the
day), but would something like this work?
^:INTERNET ^:"usinet myname mypass"
(where ^ = two single quotes, they don't show up well here and I didn't
want any confusion)
Any help would be appreciated,
Robert Hodges