Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426844 - net-misc/networkmanager-0.9.4.0-rX fails to configure WPA on IPW2200 cards
Summary: net-misc/networkmanager-0.9.4.0-rX fails to configure WPA on IPW2200 cards
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robert Piasek (RETIRED)
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-16 13:59 UTC by Jonathan Müller
Modified: 2012-07-17 05:43 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for networkmanager-0.9.4.0 (ipw2x00-no-nl80211.patch,827 bytes, text/plain)
2012-07-16 13:59 UTC, Jonathan Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Müller 2012-07-16 13:59:17 UTC
Created attachment 318316 [details]
patch for networkmanager-0.9.4.0

On IPW2200 wireless cards, networkmanager doesn't show or allow to configure the card for WPA/WPA2. This happens because the ipw2200 driver doesn't report any capabilities or wireless properties using the nl80211 interface to networkmanager.

The Ubuntu people made a patch for networkmanager to fix this issue, it can be found at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/973241 and I'm attaching it. I have tested and it works.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-16 14:12:46 UTC
If I understand correctly, the NetworkManager patch will help for kernel 3.4 only. Kernel 3.5 will advertise nl80211 support which "probably will not work" and the fallback won't recognize this.
Comment 2 Jonathan Müller 2012-07-16 14:30:57 UTC
Since kernel 3.5 is not out yet, I can't confirm what you just said, but it is possible. What Networkmanager ought to do is simply to use WEXT with ipw2x00 hardware...
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-07-16 15:23:58 UTC
Jonathan, please check whether this upstream patch (which will be in version 0.9.6) fixes the issue for you: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=50435e1d5deff17233f1de73ee030a5982e9fd05

If it does, we can apply it in 0.9.4.0-r5.
Comment 4 Jonathan Müller 2012-07-16 17:10:35 UTC
Yes, this patch works!
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-07-17 05:43:51 UTC
Should be fixed in 0.9.4.0-r5. Thanks for reporting and testing!

>*networkmanager-0.9.4.0-r5 (17 Jul 2012)
>
>  17 Jul 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  +networkmanager-0.9.4.0-r5.ebuild,
>  +files/networkmanager-0.9.4.0-nl80211-encryption-caps.patch,
>  +files/networkmanager-0.9.4.0-wifi-kernel-api.patch:
>  Fix ipw2200 driver problems caused by wext vs. nl80211 API use (bug #426844,
>  thanks to Jonathan Müller).