I see.  I do no think it is possible because the console driver is the same serial driver. So you can attach a terminal server or even model, but I doubt you can control it from UML unless the console driver is modified.
 
David

On Tue, Feb 2, 2010 at 6:26 AM, Guido Serra <guido.serra@vodafone.com> wrote:
Hi David,
on /dev/ttyS2 I have a modem.

I added ssl2=tty:/dev/ttyS2 ... but I ended up NOT with a character block device in the virtual machine.
It gave me something that looked like a standard file, named /dev/ttyS2, on which "setserial" failed with :
    "Inappropriate ioctl for device"

Not sure u got what I want to achieve. I want the virtual machine to be able to use the modem.

thanks in advance,
Guido



On 01/02/2010 20:43, David Francisco Rodriguez Perez wrote:
Guido

I am using as part of the command line command line:
ssl2=tty:/dev/ttyS0

and I am giving ttyS0 on the host permission to be read-write by others so that the UML can open it.
Also on inittab I have the line:
ttyS2::respawn:/sbin/getty -L ttyS2 9600 vt100

and it works fine.

David





On Mon, Feb 1, 2010 at 8:50 AM, Guido Serra <guido.serra@vodafone.com> wrote:
Hi All,
is it possible to access an external character block from the User Mode
Linux instance?
I'd like to have multiple serial lines (each with a GSM modem) allocated
to a specific UML host.

regards,
Guido Serra

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user