Bug 591959 - allow NetworkManager to setup wpa_supplicant with nl80211 driver
Summary: allow NetworkManager to setup wpa_supplicant with nl80211 driver
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Network (show other bugs)
Version: Factory
Hardware: All openSUSE 11.3
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-29 17:09 UTC by Forgotten User nJNR0m-wG0
Modified: 2017-08-11 11:56 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User nJNR0m-wG0 2010-03-29 17:09:44 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.2) Gecko/20100317 SUSE/3.6.2-1.2 Firefox/3.6.2

Apropos of bug 585802:

"For openSUSE:11.3 it would be required to switch as many drivers as
possible to the new "nl80211" driver to not to restricts any devices
to "world" (ie. most restrictive) regulatory domain."

As already proposed in bug 537708 comment 6, it makes sense to use
the new driver as default, except in cases where it does not work."


For users who use NetworkManager this will not work:

in NetworkManager/src/supplicant-manager/nm-supplicant-interface.c:857
"wext" is hardcoded as the driver. This should be changed. The user should be allowed to choose nl80211 driver.

Reproducible: Always

Steps to Reproduce:
1. see NetworkManager/src/supplicant-manager/nm-supplicant-interface.c:857
2.
3.
Comment 1 Forgotten User nJNR0m-wG0 2010-03-30 12:28:27 UTC
In wpa_supplicant git:

commit d27df100b587dd95f3256a8baf9db0c5d4380089
Author: Jouni Malinen <j@w1.fi>
Date:   Wed Nov 4 20:16:15 2009 +0200

    Allow driver and ctrl_interface parameters to be overridden
    
    New wpa_supplicant command line options -o<driver> and -O<ctrl> can
    now be used to override the parameters received in add interface
    command from dbus or global ctrl_interface. This can be used, e.g.,
    to enable control interface when using NetworkManager (add
    -O/var/run/wpa_supplicant into the Exec parameter in
    /usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service).
    Similarly, this can be used to use another driver wrapper with
    NetworkManager (e.g., -onl80211 to replace WEXT with nl80211).



So one can change the file
/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service
to contain the following

[D-BUS Service]
Name=fi.epitest.hostap.WPASupplicant
Exec=/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -onl80211 -O/var/run/wpa_supplicant
User=root
Comment 3 Tomáš Chvátal 2017-08-11 11:56:54 UTC
Fixed in later releases. 11.3 is out of support.