Summary: | sys-apps/openrc: bridged network setup using wireless (hostapd) not working with recent kernel versions (>=2.6.33) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dominik D. Geyer <dominik.geyer> |
Component: | [OLD] baselayout | Assignee: | Bjarke Istrup Pedersen (RETIRED) <gurligebis> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | gurligebis, marek.bartosiewicz, roy, wschlich |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 295613 |
Description
Dominik D. Geyer
2009-12-29 04:46:58 UTC
Our focus is on stabilizing baselayout-2/openrc, so I do not see us fixing this in baselayout-1. Please upgrade to baselayout-2 and openrc and let us know if this is still an issue. If it is, we will address it there. Thanks, William (In reply to comment #1) > Our focus is on stabilizing baselayout-2/openrc, so I do not see us fixing this > in baselayout-1. > > Please upgrade to baselayout-2 and openrc and let us know if this is still an > issue. If it is, we will address it there. > > Thanks, > > William > same here with baselayout 2 and openrc.. Roy, can you take a look at fixing this in openrc? Thanks, William As the OP said, it's a bit chicken and egg. I don't see an easy way of fixing it. Patches welcome :) (In reply to comment #4) > As the OP said, it's a bit chicken and egg. I don't see an easy way of fixing > it. Patches welcome :) > My workaround is to remove the mentioned commit with patch -p0 -R < "commit" not good, but it is working.. Has this been reported to the linux wireless mailinglist? They made the patch, so they must have some ideas on how to fix it. Well, I have some info. The problem is, that from now on, it is no longer possible to add a wireless interface that hasen't been configured to a bridge (which is what that patch does). Upstream says, that the correct way to do it, is in exclude the wireless interface from the bridge, use >=hostapd-0.7.1, and let hostapd add the wireless interface to the bridge after it has configured it. So, to recap, the procedure for fixing is: 1: Remove the wlanX interface from the bridge in /etc/conf.d/net 2: Use hostapd-0.7.1 or above. 3: Make sure you are using the nl80211 driver in hostapd.conf 4: Make sure you have set the bridge=br0 setting in hostapd.conf (might not be needed, since it has autodetecting, but it doesn't hurt). Could somebody else please try this too, and see if it works for them too? (It does in my setup). Use the "brctl show" command to verify the wireless interface is missing before hostapd is started, and use it again after hostapd is started to verify it has been added. I'm taking over this bug for how, since it seems the solution is to be found in hostapd, not openrc. (In reply to comment #7) > So, to recap, the procedure for fixing is: > > 1: Remove the wlanX interface from the bridge in /etc/conf.d/net > 2: Use hostapd-0.7.1 or above. > 3: Make sure you are using the nl80211 driver in hostapd.conf > 4: Make sure you have set the bridge=br0 setting in hostapd.conf (might not be > needed, since it has autodetecting, but it doesn't hurt). > > Could somebody else please try this too, and see if it works for them too? (It > does in my setup). It also works-for-me :) .33 kernel, hostapd 0.7.1 and ath9k wifi card. Okay, I'm closing the bug as fixed then. If people want to use the bleeding edge kernel, they also have to use the bleeding edge hostapd :-) |