Open Usama10020 opened 2 years ago
Tried sending \r\n
or some other line terminator to the telnet session?
Tried sending
\r\n
or some other line terminator to the telnet session?
I tried it, but giving the same error.
Tried sending
\r\n
or some other line terminator to the telnet session?
Hello brother, i am waiting for your response.
To be honest, it would be the best to tcpdump both sessions (your code and a regular telnet cli command that works) and see the differences.
Hello, I am trying to connect to a router that is running on gns3 using telnet. After successful connection i want to execute some commands and want to press enter key after each command.
here is my code:
After running this code, it successfully connects to router and then run the first command enable.
But it is not sending the enter key that why i receive the error:
Please guide me, how to resolve the issue.