For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > October 2006 > Re: Net::Telnet, wrong prompt, user not needed only password is requested









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Net::Telnet, wrong prompt, user not needed only password is requested
georg.heiss@gmx.de

2006-10-30, 7:10 pm

oh i am so ...first read the documentation is a really good idea,
thanks a lot for your fast help!!!
georg

J=2E Gleixner schrieb:

> georg.heiss@gmx.de wrote:
>
>
> Start with the documentation for Net::Telnet
>
> perldoc Net::Telnet
>
> From the documentation:
>
> login - perform standard login
> This method performs a standard login by waiting for a login prompt
> [...]If any of those prompts sent by the remote
> side don't match what's expected, this method will time-out, unless
> timeout is turned off.
> [...]
> Use "dump_log()" to debug when this method keeps timing-out and you
> don't think it should.
>=20
> Maybe waitfor() will help.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com