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

Fraser Campbell fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org
Mon Sep 11 19:45:00 UTC 2006


On Monday 11 September 2006 09:19, William Park wrote:

> Is there an easy way to write to /dev/ttyS0 (dumb serial device)
> attached to another machine.  On that remote machine, I just do
>     cat ... > /dev/ttyS0
>
> But, how do I this from separate machine?  I guess, I can use 'inetd'
> method, but there has to be better way.

Wouldn't know what to suggest without some idea of why you want to write data 
to ttyS0 ... a script running under inetd seems like a good solution.

lpd print queues might be an option as well (if queueing is useful)???

-- 
Fraser Campbell <fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org>                 http://www.wehave.net/
Georgetown, Ontario, Canada                               Debian GNU/Linux
--
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