I have a '3one data' brand serial-to ethernet converter, that plugs into a serial device at one end, and allows bidirectional communications with the device over an ethernet connection, like this:
There is supposedly a way to set up a virtual serial port in Ubuntu, which maps to the IP and port of this device and allows transparent communication with the real serial device on the other end. Unfortunately there was no linux documentation accompanying this device, despite the fact that linux support was prominently advertised.
I am struggling with setting up this virtual serial port in Ubuntu, which I believe should be achieved through the
ttyd command. However, with the device connected (I can telnet into it directly), if I run:
sudo ttyd -d /dev/ttyp1 192.168.1.25 50000 -b 115200 -p 8NC0
my understanding is that a new virtual serial device should be created,
/dev/ttyp1, but this doesn't happen. The
ttyd command above does not throw any errors.