LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-14-2008, 11:56 PM   #1
klauswunderlich
LQ Newbie
 
Registered: Jan 2008
Distribution: openSuse, Debian, Ubuntu
Posts: 22

Rep: Reputation: 15
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?
 
Old 01-15-2008, 07:00 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
netcat might be what you are looking for.
 
Old 01-16-2008, 11:07 PM   #3
klauswunderlich
LQ Newbie
 
Registered: Jan 2008
Distribution: openSuse, Debian, Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
Yep, just read the man page. Looks great! Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux-based load balancers with sticky connections (for balancing Terminal Servers) ? lumix Linux - Networking 2 01-22-2008 01:23 PM
turning off terminal bell jonfa Solaris / OpenSolaris 6 12-14-2007 08:05 AM
USB>RS232 versus PCMCIA>RS232 jayhel Linux - Laptop and Netbook 2 08-04-2005 06:09 PM
Use linux box as an RS232 terminal? (n00b question) PsychosisNode Linux - General 3 07-26-2005 07:32 AM
Turning OFF servers and such?!?!?! =/ KevinAlaska Linux - Newbie 4 05-23-2004 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration