Can't add wlan0 to br0

Kacper kacper
Mon Jan 11 09:09:22 PST 2010


One option would be to let hostapd add the interface to a bridge,
since it already has a bridge parameter.

On Mon, Jan 11, 2010 at 5:54 PM, Jouni Malinen <j at w1.fi> wrote:
> On Mon, Jan 11, 2010 at 05:45:42PM +0100, Kacper wrote:
>> After further testing I have concluded that you can only add the
>> wireless interface into a bridge after hostapd has started. Why is
>> that and how can it be fixed?
>
> That is a recent change in the kernel, i.e., it is preventing users from
> configuring bridging incorrect (IEEE 802.11 does not allow it to be used
> in station mode). I'm not sure whether I would fully agree with it being
> that good of an idea for kernel to enforce this because of this
> particular issue that you are seeing. There is really no fix for this.
> As a workaround, you could try to set interface type into AP mode first
> with iw and then adding the bridge entry before starting hostapd. You
> will need to use an undocumented "__ap" with iw since this operation is
> not really recommended for users to avoid confusion on AP mode
> requirements.
>
> --
> Jouni Malinen ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



More information about the Hostap mailing list