Gentoo Archives: gentoo-user

From: Tommy Bongaerts <tommy.bongaerts@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Virtualbox - Bridged networking not working with broadcom-sta driver
Date: Mon, 16 Jul 2012 14:15:24
Message-Id: 20120716141314.GA11606@eriador.homescum.be
In Reply to: Re: [gentoo-user] Virtualbox - Bridged networking not working with broadcom-sta driver by Michael Mol
1 On Mon, Jul 16, 2012 at 09:42:54AM -0400, Michael Mol wrote:
2 > On Mon, Jul 16, 2012 at 8:45 AM, Tommy Bongaerts
3 > <tommy.bongaerts@×××××.com> wrote:
4 > > Hi,
5 > >
6 > > I'm running Gentoo on an Acer Travelmate 7750 laptop. This
7 > > particular laptop has a Broadcom wireless NIC that only works with
8 > > the proprietary Broadcom wl driver as provided by the broadcom-sta
9 > > ebuild.
10 > >
11 > > Wireless by itself works perfectly fine, but when I use virtualbox
12 > > with the virtual NIC bridged to my wlan0 interface, networking in
13 > > the guest OS doesn't work properly.
14 > >
15 > > I have made the following observations:
16 > >
17 > > * when the guest OS is configured to use DHCP it doesn't get an IP
18 > > from my DHCP server, but get an autoconfig IP instead
19 > > * however, I can see the DHCP requests towards my DHCP server in
20 > > Gentoo when monitoring the wlan0 interface with
21 > > # tcpdump -i wlan0
22 > > * when I configure a static IP on the guest OS, I cannot ping from the
23 > > guest to the Gentoo host or my default gateway, but pinging from the
24 > > Gentoo host or my gateway to the guest OS works fine
25 > >
26 > > I manage my wireless NIC through /etc/conf.d/net, using
27 > > wpa_supplicant with the wext driver. I also tried using
28 > > networkmanager, but that gave the exact same result.
29 > >
30 > > Under Ubuntu 12.04 the network bridge between the vbox NIC and the
31 > > wireless NIC works fine. This is also with the proprietary wl
32 > > driver, same version and all.
33 > >
34 > > Anyone an idea what might be wrong with my setup?
35 >
36 > Just guesses:
37 >
38 > 1) ebroute rules blocking packets?
39 > 2) I've heard before that wireless bridging has issues. I can't
40 > explain the discrepancy between your experience on Ubuntu 12.04 and
41 > Gentoo.
42 >
43 > What kernel sources package are you using on Gentoo? Which kernel
44 > version are you using on Gentoo and on Ubuntu?
45
46 I have no packet filtering enable on this system at all, so that's not
47 it.
48
49 I have also heard of the bridging issues with wireless interfaces, but
50 since it works with Ubuntu 12.04 using the same driver I'm pretty sure
51 this is a config issue.
52
53 On Gentoo I'm using gentoo-sources 3.3.8 and 3.4.4, both having the
54 same issue. The kernel in Ubuntu 12.04 is 3.2.0 I think.
55
56 --
57 A little retrospection shows that although many fine, useful software
58 systems have been designed by committees and built as part of
59 multipart projects, those software systems that have excited
60 passionate fans are those that are the products of one or a few
61 designing minds, great designers. Consider Unix, APL, Pascal, Modula,
62 the Smalltalk interface, even Fortran; and contrast them with Cobol,
63 PL/I, Algol, MVS/370, and MS-DOS.
64 -- Fred Brooks

Replies