Mogens:
  Thanks for reply!
  Here's the actual scenario:

I have a system running an application which wants to get its data from a 
physical serial port.   My goal is to provide this data from a network 
connection, and ~trick~ the application into thinking it's still getting it 
from the serial port.  Technically it is still on the serial port, but the data 
is arriving via TCP.
So, it's all on the same machine.   The idea would be for the machine to run an 
application, pointed at the serial port.  My netcat would receive the data 
being pushed to it on a TCP port, and redirect it to the serial port.




 
If life gives you lemons, keep them-- because hey.. free lemons.

"~heart~ Sticker"  fixer:  http://microflush.org/stuff/stickers/heartFix.html





On Friday, December 20, 2013 8:58 AM, Mogens Kjaer <m...@lemo.dk> wrote:
 
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, m...@lemo.dk
http://www.lemo.dk

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to