Hello!
I have a very simple setup with a PortServer TS 16 with a GSM modem, used to send SMS messages using AT commands, connected to port 1 via RS232.
My problem is that I can reverse telnet to port 2001 and everything works but when connecting to the raw port 2101 it do not work.
Telnet trace (Red is me , blue is modem ):
$ telnet ser2eth1 2001
Trying 192.168.1.2…
Connected to ser2eth1.
Escape character is ‘^]’.
at
OK
Connection closed by foreign host.
Now I try with netcat for a raw connection (Red is me , blue is modem ):
$ nc ser2eth1 2101
at
at
unknowncommand
unknowncommand
This is strange because I was expecting an ‘OK’ but it only seems to echo what I type. Even ‘unknowncommand’ which is’nt understood by the modem.
Anybody know why this is happening?
A dump from the TCP/IP connections gives:
00000000 61 74 0a at.
00000000 61 74 0a at.
00000003 75 6e 6b 6e 6f 77 6e 63 6f 6d 6d 61 6e 64 0a unknowncommand.
00000003 75 6e 6b 6e 6f 77 6e 63 6f 6d 6d 61 6e 64 0a unknowncommand.
This tells me that the echoed line is really received from the PortServer and not the netcat that somehow should have echoed the data.
This is how the PortServer is configured:
#> show version
PortServer TS 16 Rack(55000888-01):
Component Part-Number Release-Tag
Boot/Post 82000685 release_82000685_C
Running EOS 82000684 release_82000684_G
#> set line range=1
tty baud csize parity stopb break error inpck istrip onlcr otab
1 19200 8 N 1 ignore null off off off off
#> set port range=1
tty termtype dev sess uid edelay auto bin group dport dest
1 vt100 prn 1 none 1 off off none none none
Any ideas? This is VERY strange?
Best regards,
- Morten Green Hermansen, Fanitas