in reply to Net::Telnet::Cisco Login Problem
Net::Telnet Cisco is a subclass of Net::Telnet which has methods for turning on logging of data to/from the router, which would give you some ideal of what is going on, instead of saying "something broke".
My recollcection is that Net::Telnet::Cisco can deal with receiving a password prompt instead of a username prompt upon connection. You may need to override the login method to deal with needing to send a login command before getting username and password prompts.
Update: Actually you'll want to leave the login method alone, coying the parts you need out of it into a new method, I think.
--Bob Niederman, http://bob-n.comAll code given here is UNTESTED unless otherwise stated.
|
|---|