Bugzilla – Bug 591959
allow NetworkManager to setup wpa_supplicant with nl80211 driver
Last modified: 2017-08-11 11:56:54 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.
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
Fixed in later releases. 11.3 is out of support.