Discussion Locked

DUN script does not work

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a script that I run to connect my users to our vpns. All the script has in it is this:

Proc main
waitfor "on:"
transmit "%%cug%%^M"

endproc

This script works on 4 laptops, but it does not work on our last one. On the laptop that it does not work for we get this in the terminal window:

Please logon: %%cug%

I then have to select the allow keyboard input and put the last "%" and a return for the connection to complete. Why would the script engine think that:
"%%cug%%^M" is "%%cug%"

Please help. Thanks

3 replies

by cwilly66

I would try the DUN update from Microsoft? It cures a number of DUN problems.

hope this helps.
cwilliams@divsys.com

by lgurley

Thanks for the help. Before posting my question I had already applied Microsoft's DUN update. I have since discovered what was causing my problem. This laptop uses a TI PCMCIA 28.8 modem. When I updated the driver for the modem the script was able to complete without errors. Who would of thought that the script engine was effected by the modem driver.

This discussion is closed to new replies.