On Thursday 22 December 2005 09:27, Stefano Melchior wrote: > On Thu, Dec 22, 2005 at 06:58:42AM +0300, Louai Al-Awami wrote: > Hi Louai,
> > I there a way to connect to UML machines with a virtual serial cable? > uml1> stty -F /dev/ttyS0 > uml1> dmesg| grep Serial > Serial line 0 assigned device '/dev/pts/9' > uml2> stty -F /dev/ttyS0 > uml2> dmesg| grep Serial > Serial line 0 assigned device '/dev/pts/5' (This assumes having ssl=pts set on the UML command line or in the default config, which is the default however). > uml2> cat < /dev/pts/5 >> /dev/pts/9 & ; cat > /dev/pts/5 >> /dev/pts/9 & This command should likely be done on the host, right? Otherwise I don't see how you get /dev/pts/5 and /dev/pts/9 on uml2. > it should be something like this: you need to replicate a *virtual cross > cable* I believe the above should work but probably there are better ways to achieve this - like attaching one guest tty directly to an host TTY. Likely, you'd attach one UML to a host master PTY (/dev/ttypX ?) and the other to a host slave PTY (/dev/ptypX ?). -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user