My ISP requires that there be a script
(see below
) added as part of the logon for its dial-up service. I'm using the HP dialup program, but I don't see an option to add this script anywhere. Without the script, the dial-up fails.
Any ideas would be greatly appreciated!
Quote
proc main
string prefix = "aolnet/ent."
string UID = prefix + $USERID
waitfor
"ANSNet" then DoANSLogin,
"Login:" then DoPPPLogin,
"sername:" then DoDirLogin,
"% Username:" then DoPRLogin
until 20
DoANSLogin:
waitfor "login" until 5
if $SUCCESS then
transmit prefix + $USERID, raw
transmit "^M"
goto DONE
endif
DoPPPLogin:
transmit UID, raw
transmit "^M"
waitfor "Password" until 5
transmit $PASSWORD, raw
transmit "^M"
waitfor ">" until 5
transmit "ppp", raw
transmit "^M"
goto DONE
DoDirLogin:
transmit UID, raw
transmit "^M"
waitfor "Password" until 5
transmit $PASSWORD, raw
transmit "^M"
goto DONE
DoPRLogin:
waitfor "% Username:" until 20
if $SUCCESS then
transmit UID, raw
transmit "^M"
waitfor "Password" until 5
transmit $PASSWORD, raw
transmit "^M"
goto DONE
endif
DONE:
delay 2
endproc