On Tue, Jun 1, 2010 at 23:28, clownix <[email protected]> wrote:
> I must tell you that you can have an UML ubuntu 10.04 in the
> cloonix environment at http://cloonix.net
> And the cloonix environement has a slirp integrated inside its
> own network and you can surf on internet from your UML ubuntu
> plug-and-play.
Assumed you don't hit the problem we're seeing on the _host_?
> Note: due to libssl used in cloonix, most users have to
> recompile the cloonix tree and as the cloonix also supports
> KVM, the following packages are needed for good compilation:
> yum install gtk-vnc-devel
> yum install vte-devel
> or
> apt-get install libgtk-vnc-1.0-dev
> apt-get install libvte-dev
>
> Note: The slirp in cloonix has been recoded, but comes from the
> official slirp.
So that slirp version may have a workaround?
> Le mardi 01 juin 2010 à 22:32 +0200, Geert Uytterhoeven a écrit :
>> On Mon, 19 Apr 2010, Mark Longair wrote:
>> > I wonder if someone could help me with a frustrating problem I'm
>> > having with slirp-based networking in UML? (I've tried asking
>> > on the slirp-devel mailing list, but didn't get any response.)
>> > I'd be very grateful for any help.
>> >
>> > Although this has worked for me successfully in the past, I'm
>> > having trouble getting the "redir" option for slirp to work
>> > properly for connecting to a UML instance. (Network access from
>> > the UML machine to the outside world works fine, it's just the
>> > incoming connections that fail.)
>>
>> I'm having the same problem on 2 machines running Ubuntu (9.04 in the past
>> and
>> 10.04 now), while it works fine on CentOS 5 and used to work fine on my
>> previous
>> machine running Debian.
>>
>> > This appears to set up the redirections correctly, since I see the
>> > following output (with some whitespace edited for readability):
>> >
>> > [..]
>> > Setting up networking....
>> > Configuring network interfaces...
>> > Slirp v1.0.17 (BETA) FULL_BOLT
>> > Copyright (c) 1995,1996 Danny Gasparovski and others.
>> > All rights reserved.
>> > This program is copyrighted, free software.
>> > Please read the file COPYRIGHT that came with the Slirp
>> > package for the terms and conditions of the copyright.
>> > Logging statistics
>> > Redirecting TCP port 8042 to 10.0.2.15:80
>> > Redirecting TCP port 2242 to 10.0.2.15:22
>> > IP address of Slirp host: 127.0.1.1
>> ^^^^^^^^^
>> I noticed this is different: on the working CentOS setup, it shows the
>> external
>> (eth0) address of the host. On the failing setups, it shows a localhost
>> address.
>> You can see this even without running UML: just run slirp on the command
>> line.
>> Interestingly, I tried this on an Ubuntu machine at work (9.10, I
>> think), and there it
>> did show the external IP address. So it's probably related to the
>> presence of some
>> additional package. But which one?
>>
>> Then I discovered you can tell slirp which host address to use using the
>> `host addr a.b.c.d' option. And after that, redir works again for me!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user