Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Net::Telnet timed out when logging in

by glide (Pilgrim)
on Apr 17, 2008 at 10:11 UTC ( #681104=note: print w/replies, xml ) Need Help??


in reply to Net::Telnet timed out when logging in

Hi,

Normally, for the login process, you have to rewrite procedure. And for that you have to use the something like ..

$telnet->waitfor( -match => qr{ogin} ); $telnet->print($user); $telnet->waitfor( -match => qr{assword} ); $telnet->print($password);
and to test the solution, create log file of the telnet with
$telnet->input_log($log_file); $telnet->dump_log($dump_file);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://681104]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (1)
As of 2018-05-26 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?