linux-um archives
 help / color / mirror / Atom feed
* Re: [uml-devel] [uml-user] ppp and UML -possible? why or why not?
       [not found] <20070614110816.5e579766944bbcab97407204a2c9ea3e.78a7ca2535.wbe@email.secureserver.net>
@ 2007-06-14 21:58 ` Jeff Dike
  2007-06-14 22:12   ` Daniel Gryniewicz
  2007-06-14 22:53   ` Mark Lidd
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Dike @ 2007-06-14 21:58 UTC (permalink / raw)
  To: Mark; +Cc: UML-user

On Thu, Jun 14, 2007 at 11:08:16AM -0700, Mark wrote:
> My question is I've looked around, but don't understand why (page
> 54) says that UML doesn't support PPP. Is pppd the problem and can I
> just use something like slirp?   (I did find a debian package with UML
> and slirp).

You're looking for a mechanism to exchange packets with the host, not
asking about ppp support within UML?

ppp isn't supported because no one ever wrote it.  Slirp is basically
the last choice for when nothing else will work, and ppp might be
right down there with it.  TUN/TAP is the mechanism of choice.

				Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] [uml-user] ppp and UML -possible? why or why not?
  2007-06-14 21:58 ` [uml-devel] [uml-user] ppp and UML -possible? why or why not? Jeff Dike
@ 2007-06-14 22:12   ` Daniel Gryniewicz
  2007-06-14 22:53   ` Mark Lidd
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel Gryniewicz @ 2007-06-14 22:12 UTC (permalink / raw)
  To: Jeff Dike; +Cc: Mark, UML-user

On Thu, 2007-06-14 at 17:58 -0400, Jeff Dike wrote:
> On Thu, Jun 14, 2007 at 11:08:16AM -0700, Mark wrote:
> > My question is I've looked around, but don't understand why (page
> > 54) says that UML doesn't support PPP. Is pppd the problem and can I
> > just use something like slirp?   (I did find a debian package with UML
> > and slirp).
> 
> You're looking for a mechanism to exchange packets with the host, not
> asking about ppp support within UML?
> 
> ppp isn't supported because no one ever wrote it.  Slirp is basically
> the last choice for when nothing else will work, and ppp might be
> right down there with it.  TUN/TAP is the mechanism of choice.
> 
> 				Jeff
> 

I actually started writing ppp support at one point, so that we could
test using point-to-point connections between UMLs, but the project got
canceled before I got anywhere.

Daniel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] [uml-user] ppp and UML -possible? why or why not?
  2007-06-14 21:58 ` [uml-devel] [uml-user] ppp and UML -possible? why or why not? Jeff Dike
  2007-06-14 22:12   ` Daniel Gryniewicz
@ 2007-06-14 22:53   ` Mark Lidd
  2007-06-15 23:43     ` Blaisorblade
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Lidd @ 2007-06-14 22:53 UTC (permalink / raw)
  To: Jeff Dike; +Cc: UML-user


[-- Attachment #1.1: Type: text/plain, Size: 1253 bytes --]

I want the UML to send data out the host's serial port so the UML 
process can setup a ppp session to something connected to the hosts 
serial port. --not talk to the host.

I know I can run pppd on the host and give the UML a network connect 
to it, but I don't want to do the connect that way.  I want as much 
of the processing as possible to be in a jailed UML.

I gather that I can give the UML the /dev/ttyS0 connection to the 
serial port and have the UML pppd connect to ss1, etc.

Thanks,
Mark

Thanks.  At 05:58 PM 6/14/2007, Jeff Dike wrote:
>On Thu, Jun 14, 2007 at 11:08:16AM -0700, Mark wrote:
> > My question is I've looked around, but don't understand why (page
> > 54) says that UML doesn't support PPP. Is pppd the problem and can I
> > just use something like slirp?   (I did find a debian package with UML
> > and slirp).
>
>You're looking for a mechanism to exchange packets with the host, not
>asking about ppp support within UML?
>
>ppp isn't supported because no one ever wrote it.  Slirp is basically
>the last choice for when nothing else will work, and ppp might be
>right down there with it.  TUN/TAP is the mechanism of choice.
>
>                                 Jeff
>
>--
>Work email - jdike at linux dot intel dot com



[-- Attachment #1.2: Type: text/html, Size: 1721 bytes --]

[-- Attachment #2: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #3: Type: text/plain, Size: 194 bytes --]

_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] [uml-user] ppp and UML -possible? why or why not?
  2007-06-14 22:53   ` Mark Lidd
@ 2007-06-15 23:43     ` Blaisorblade
  0 siblings, 0 replies; 4+ messages in thread
From: Blaisorblade @ 2007-06-15 23:43 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Mark Lidd, Jeff Dike

On venerdì 15 giugno 2007, Mark Lidd wrote:
> I want the UML to send data out the host's serial port so the UML
> process can setup a ppp session to something connected to the hosts
> serial port. --not talk to the host.
>
> I know I can run pppd on the host and give the UML a network connect
> to it, but I don't want to do the connect that way.  I want as much
> of the processing as possible to be in a jailed UML.
>
> I gather that I can give the UML the /dev/ttyS0 connection to the
> serial port and have the UML pppd connect to ss1, etc.
>
> Thanks,
> Mark

You can test if it works, but I believe that UML serial driver does not 
implement many of the ioctl's needed for a proper serial port, so it's 
difficult it will work.

Bye
-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-15 23:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070614110816.5e579766944bbcab97407204a2c9ea3e.78a7ca2535.wbe@email.secureserver.net>
2007-06-14 21:58 ` [uml-devel] [uml-user] ppp and UML -possible? why or why not? Jeff Dike
2007-06-14 22:12   ` Daniel Gryniewicz
2007-06-14 22:53   ` Mark Lidd
2007-06-15 23:43     ` Blaisorblade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox