Create a virtual serial port connection over TCP

Try socat. Possible scenario: socat pty,link=/dev/virtualcom0,raw tcp:192.168.254.254:8080& socat creates TCP connection to 192.168.254.254:8080, so that everything, that will be written to /dev/virtualcom0 will be forwarded to 192.168.254.254:8080 and vice versa. Another approach would be to use RFC2217 via ser2net on Linux sever side and RFC2217 driver on Windows side (for example http://www.hw-group.com/products/hw_vsp/index_en.html single port version). … Read more

How to send characters in PuTTY serial communication only when pressing enter?

The settings you need are “Local echo” and “Line editing” under the “Terminal” category on the left. To get the characters to display on the screen as you enter them, set “Local echo” to “Force on”. To get the terminal to not send the command until you press Enter, set “Local line editing” to “Force … Read more

Virtual Serial Port for Linux

Complementing the @slonik’s answer. You can test socat to create Virtual Serial Port doing the following procedure (tested on Ubuntu 12.04): Open a terminal (let’s call it Terminal 0) and execute it: socat -d -d pty,raw,echo=0 pty,raw,echo=0 The code above returns: 2013/11/01 13:47:27 socat[2506] N PTY is /dev/pts/2 2013/11/01 13:47:27 socat[2506] N PTY is /dev/pts/3 … Read more

tech