in reply to Re^2: use telnet to router with expect
in thread use telnet to router with expect

Interesting...

I'd download a copy of wireshark (a.k.a. tcpdump) and look at what goes over the wire when you do the command interactively with telnet - perhaps there's a \r sent somewhere you're using a \n, for example.


Mike