Just another Perl shrine | |
PerlMonks |
Net:SSH::Expect and microcom?by Anonymous Monk |
on Nov 07, 2011 at 21:20 UTC ( [id://936581]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: O wise monks, I have run into an issue at work where I need to automate the following: I've accomplished the first (SSH to element and run command) but when it comes to actually sending anything to the interface and retrieve the output, I just cant get it to work. Relevant part of the code:
I've tried with ssh->exec("AT+CSQ") as well with no success. It simply warns on "No output!" Anyone done something similar before and can provide me with a hint or two on how to overcome this obstacle? If only I could pass the AT command directly on the commandline, but alas, thats not possible. :-( Thanks in advance!
Back to
Seekers of Perl Wisdom
|
|