We have a PortServer TS 4 connecting to a modem. Usually we telnet to TS via port 2101, then send the AT command to the modem. We use the modem to dial another modem connecting to a machine, so that we’re able to connect to that machine.
I have two question about this scenario.
- After we telnet to the TS via port 2101, we connect to the modem. Due to we can’t issue the “exit” to the modem like the real telnet, we have to close the session directly. But I found that the connection wouldn’t be terminated sometimes. I wonder how can we exit from the telnet session peacefully, like logout.
- We already disable the echo on modem by sending the AT command “ate0” to the modem. It works when we just connect to the modem. But after we dial to another machine, any command we issued in session will echo again. Is there any way we can eliminate the echo after we dial to another machine?
Many thanks.