to the end of your spawn command - that might tell you WHY it's failing...or die "Expect spawn failed, error $!";
I assume 000.000.000.000 isn't the IP address you're actually using - but if it is, that would explain the failure :)
In reply to Re: use telnet to router with expect
by RMGir
in thread use telnet to router with expect
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |