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

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Sep 11 19:46:06 UTC 2006


On Mon, Sep 11, 2006 at 02:39:28PM -0400, William Park wrote:
> 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.

Perhaps you would like:

# apt-cache show ser2net
Package: ser2net
Priority: optional
Section: utils
Installed-Size: 164
Maintainer: Marc Haber <mh+debian-packages-ciUMMiFYEj8OIzVOb1FTxg at public.gmane.org>
Architecture: i386
Version: 2.2-1
Depends: libc6 (>= 2.3.2.ds1-4), libwrap0
Suggests: telnet
Filename: pool/main/s/ser2net/ser2net_2.2-1_i386.deb
Size: 38284
MD5sum: f7c878d1b61567aca75045de7e409edb
SHA1: 20fafa406038d398d997b41e6e40f4e8db675b3f
SHA256: 1bcbe60f0f97da68409f2dd40306c034d8b77a76fdb998033104a91fa19e199a
Description: Allows network connections to serial ports
 This daemon allows telnet and tcp sessions to be established with a
 unit's serial ports. Combined with a terminal emulation like xterm or
 the Linux console, this can be a very simple means of communicating
 with routers, other systems' serial consoles and other equipment with
 a serial port. This is remarkably similar to the reverse telnet
 feature of some Cisco routers.
 .
 Upstream URL: http://sourceforge.net/projects/ser2net

--
Len Sorensen
--
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