From: William R. Lorenz <wrl@ex...> - 2003-08-01 01:33:18
I want to access from a UML machine a modem on the host's ttyS0 or ttyS1
(would this effect hardware addressing) serial port. I've tried many
things to no avail -- can someone please offer some assistance? :)
Thanks, in advance.
__ __ ___ _| | William R. Lorenz <wrl@...>
\ V V / '_| | http://www.clevelandlug.net/ ; "Every revolution was
\./\./|_| |_| first a thought in one man's mind." - Ralph Waldo Emerson
From: Nick Craig-Wood <ncw1@ax...> - 2003-08-01 18:50:23
On Thu, Jul 31, 2003 at 09:33:22PM -0400, William R. Lorenz wrote:
> I want to access from a UML machine a modem on the host's ttyS0 or
> ttyS1 (would this effect hardware addressing) serial port. I've
> tried many things to no avail -- can someone please offer some
> assistance? :)
In theory you can add something like
However (if you search the archives) there have been reports that this
doesn't work properly.
You could try this also
ttys0 is a pseudotty, its other end is at ptys0. You can then use the
most excellent socat to connect it to ttyS0, eg
socat /dev/ttys0 /dev/ttyS0
You could also set uml up using its tcp serial connections and use
socat to forward them...
linux .... con0=port:9000
socat /dev/ttyS0 TCP4:localhost:9000
I haven't actually tried any of these things so YMMV ;-)
For more info
Get latest updates about Open Source Projects, Conferences and News.