From: Nick Craig-W. <nc...@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 con0=tty:/dev/ttyS0 However (if you search the archives) there have been reports that this doesn't work properly. You could try this also con0=tty:/dev/ttys0 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 ;-) See http://user-mode-linux.sourceforge.net/input.html For more info -- Nick Craig-Wood nc...@ax... |