I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-12-09 15:04:22-08 by oliver in response to 9518
Re: net::telnet::cisco send_wakeup equivalent
Hi Matt,

At the moment there is no feature in Net::Appliance::Session to do the equivalent of send_wakeup.

If you are comfortable patching the code yourself, I'll tell you what (I think) needs to be done:

Take a look at the Serial transport (Serial.pm) and you'll see it does a wake-up (look for "wake the serial connection up"). Copy this code into the Telnet or SSH transport module after the fhopen and it'll do what you want.

Sadly of course this isn't something you can easily turn on and off. However I do see the value in this feature, so I'll add it to my TODO list for sure. I am planning to put a lot of work into improvements in the module in the next month.

I hope that helps,

regards,
oliver.
Direct Responses: 9538 | Write a response