LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Turning several rs232 connections into a network using terminal servers? (https://www.linuxquestions.org/questions/linux-networking-3/turning-several-rs232-connections-into-a-network-using-terminal-servers-613625/)

klauswunderlich 01-14-2008 11:56 PM

Turning several rs232 connections into a network using terminal servers?
 
Hi,

I have a few robots that talk using rs232.

Previously, I've been controlling these robots with shell scripts based around echoing and cating to and from /dev/ttyS0. They're now getting networked with the aid of ethernet-rs232 converters! So:

Is there any easy way to echo ASCII characters down an ethernet connection in the bourne shell? If not, can you propose a suitable scripting language to do it, or do I have to write out all the C code?

michaelk 01-15-2008 07:00 PM

netcat might be what you are looking for.

klauswunderlich 01-16-2008 11:07 PM

Yep, just read the man page. Looks great! Thanks.


All times are GMT -5. The time now is 02:31 PM.