lkml.org 
[lkml]   [2010]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem with bridges and wireless NIC's
On Sun, Feb 28, 2010 at 11:58:10PM +0100, Bjarke Istrup Pedersen wrote:

> There is a problem when trying to create a bridge containing a normal
> NIC and a wireless NIC, and using hostapd.
>
> The problem is, that it is not possible to create a bridge containing
> a wireless NIC, if it hasn't been setup first.
>
> Does anyone have a solution for this?

How about first creating the br0, then starting hostapd, and finally
adding wlan0 into br0?

> (The commit that introduced this problem is
> ad4bb6f8883a13bb0f65b194dae36c62a02ac779 , reverting it solves the
> problem).

I don't know whether I would call that a solution, but well..

> For more info, please have a look at this bug report:
> http://bugs.gentoo.org/show_bug.cgi?id=298824

I'm not sure whether I understood the description correctly, but this
sounds like a limitation in the way the network setup is done. Forcing
br0 to be created with wlan0 before wlan0 has been configured is not
going to work. I would consider removing wlan0 from the static
configuration of br0 and just creating br0 with eth0 with the setup
scripts and allowing hostapd to add wlan0 into br0 once the interface
has been configured properly (support for this was added in hostapd
0.7.1).

--
Jouni Malinen PGP id EFC895FA


\
 
 \ /
  Last update: 2010-03-01 09:03    [W:0.054 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site