From: Jeff Dike <jdike@ka...> - 2002-03-21 17:26:43
> I have 2 UML instances on different computers, I attach the "serial
> port" of the instances to pseudo terminals. I then connect the 2
> pseudo terminals to each other over a tcp connection. The 2 serial
> ports on the 2 computers would think they were connected via a null
> modem cable.
If you really want them talking over tcp then hook them up to portals,
not ptys. netcat will probably like that better.
What I just tried, which sort of works, but isn't really usable is this:
UML1 - con1=pty - where con1 is a console that UML puts a getty on
UML2 - ssl5=tty:/dev/ttyxx - ttyxx is the slave side of whatever pty con1
in UML1 got and ssl5 is a serial line that doesn't have a getty on it.
In UML2, minicom -o /dev/tts/5
You will see a login prompt amongst all of the "unimplemented ioctl"
messages, and you can log in to the other UML and do stuff, again, peering
through the maze of error messages.