openvswitch and hostap?

Helmut Schaa helmut.schaa
Wed Nov 19 08:39:07 PST 2014


On Sat, Nov 15, 2014 at 2:28 AM, James Harper <james at ejbdigital.com.au> wrote:
> I just threw this patch together. It runs the 'ovs-vsctl port-to-br' command to determine the name of the bridge, falling back to the old bridge detection method if that fails.
>
> It could be further developed to also add and remove the interface etc, but that's not really the way openvswitch works - interfaces are sticky wrt bridge membership and you don't need to re-add them each boot etc.
>
> Another option would be to add a config parameter that says "don't do any bridge configuration".

Main problem is that if the wlanX interface is bridged hostapd needs
access for grabbing EAPOL frames off from the bridge device.
So it needs to know the bridge interface.

I'm using this one but did not consider sending it upstream as it is
quite a hack:
https://github.com/hschaa/hostapd/commit/c89daaeca4ee90c8bc158e37acb1b679c823d7ab

Helmut



More information about the Hostap mailing list