[CentOS] TCP port to TTY/Serial Port?

Mogens Kjaer mk at lemo.dk
Fri Dec 20 15:56:36 UTC 2013


On 12/20/2013 04:13 PM, Joseph Spenner wrote:
> Use netcat to create the listen and redirect to a serial port:
>    $ nc -l 2112 > /dev/ttyS0
>
> Then in another window, run minicom at /dev/ttyS0

Is this on the same machine? I.e. you have only one machine and one 
serial port?

Do you have some sort of loopback cable connected to the serial port?

If it is on two different machines I would check handshaking settings
on the serial ports.

Mogens

-- 
Mogens Kjaer, mk at lemo.dk
http://www.lemo.dk



More information about the CentOS mailing list