Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Net::Telnet keeps timing out waiting for command prompt

Status
Not open for further replies.

johnv20

Programmer
Sep 26, 2001
292
US
Hi,
I'm trying to use Net::Telnet to access a windows box, however the pgm keeps returning back an error "Timed out waiting for command prompt"

From my understanding I need to set the option_accept values Dont & Wont to an integer value, however I cannot figure out which value

Does anyone know how to resolve this issue ?

Thanks
 
You need to set up an input and dump log to see what you are getting back. Are you getting past the login stage? Post your code and a screen dump of what happens when you telnet in manually. Most of the time when I have to go to a windows box I send up using print/waitfor to get through the login/password stage as they usually use wierd prompts (instead of username: windows does things like Account: )


Travis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top