Mail from ILUG-BOM list (Non-Digest Mode)
_______________________________________________
Erle wrote:
> expect | name:
> send | ID
> expect | word:
> send | PASSWORD
> expect | >
> send | ppp
> send | ~
This wont always work, because vsnl does not always send the
gi?????> prompt. Sometimes it directly invokes pppd on a successful
log in. Because of this, you have to put a timeout just before the
expect >. 5 - 10 seconds should be good, cause if it takes longer, it
is a good indication that you've got a bad connection.
Philip
_______________________________________________
Website: http://www.ilug-bom.org.in/
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers