[WestTLUG] writing to another machine's /dev/ttyS0... how?

bob ican-rZHaEmXdJNJWk0Htik3J/w at public.gmane.org
Tue Sep 12 13:01:22 UTC 2006


On Monday 11 September 2006 02:39 pm, William Park wrote:
> On Mon, Sep 11, 2006 at 01:33:57PM -0400, bob wrote:
> > What exactly are you trying to do?   Are you trying to exchange
> > information between machines over a serial link?    Do you want to do
> > this inside some custom scripting?    If so you can readily open up a
> > serial port from inside a Tcl/Tk script and read and write much as you
> > would to a file.
>
> Ideally, I want to do something like
>
>     cat ... > 192.168.1.2:/dev/ttyS0
>
> Of course, it would be better if I don't have to keep opening/closing
> the connections; but, that's minor point.

OK.    You want to be able to open a remote serial port on machine B and 
transport information from machine A to that port.

Without giving away any proprietary info,  what is that information going to 
do?   Interface/control some device connected to that serial port?    Do you 
need a full computer as machine B? or can you live with a simple network 
appliance?

bob
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list