https://bugzilla.novell.com/show_bug.cgi?id=477833 Summary: Feature Proposal/Request: Add Ability to explicitly choose driver-extension for wpa_supplicant Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: SuSE Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: AxelKoellhofer@web.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) SUSE Background: Since Version 0.6.7, wpa_supplicant offers the new (generic) extension "nl80211" for "new" wireless drivers based on mac80211. The ifup-wireless script chooses the appropriate driver-extension for wpa_supplicant by looking at the kernel module used for the device. case $ACTION in up) case "${DRIVER}" in ath_pci) WPA_DRIVER=wext ;; at76c5*) WPA_DRIVER=atmel PREFER_WPA_SUPPLICANT=no ;; prism54) WPA_DRIVER=prism54 PREFER_WPA_SUPPLICANT=no ;; ipw2200|ipw3945|hostap_*) WPA_DRIVER=wext ;; ipw2100) WPA_DRIVER=wext ;; ndiswrapper|*.sys) WPA_DRIVER=wext ;; rt2500*) WPA_DRIVER=wext ;; *) WPA_DRIVER=unsupported PREFER_WPA_SUPPLICANT=no ;; esac However, this would not work here, as there are now two different extensions available for the same kernel module, so the basic idea is to give the user the possibility to explicitly choose the driver used by wpa_supplicant. I am not a "scripting guru", but this little hack in /etc/sysconfig/network/scripts/wireless makes this at least possible. mkdir -p /var/run/wpa_supplicant message "`printf " %-9s starting wpa_supplicant" $INTERFACE`" ########### lines added start ########### if [ -n "$WIRELESS_WPA_DRIVER" ]; then WPA_DRIVER="$WIRELESS_WPA_DRIVER" else WPA_DRIVER=$WPA_DRIVER fi ########### lines added end ############## eval wpa_supplicant -i$INTERFACE -c$WPA_SUPP_CONF -D$WPA_DRIVER $SUPPARGS Now, by setting the variable "WIRELESS_WPA_DRIVER='name_of_wpa_driver' in the respective /etc/sysconfig/network/ifcfg-*wireless-devie'-file, one can define which extension wpa_supplicant will use when connecting via ifup. I think this is quite useful and hopefully also easy to implement (at least into ifup) without breaking already existing functionality, as ifup will use the existing method for determination of the wpa-extension, when this variable is not set. In addition, users who have to use "exotic" drivers for their wireless hardware (old "otus"-driver for Atheros draft-n USB-dongles or "legacy" drivers for Ralink-devices rt61/rt73, which both need their own wpa-extensions "otus" or "ralink") would have an easy method of accomplishing this task (of course, they will still need to build a wpa_supplicant capable of using those "non-standard" wpa-extensions, but thats a different story). Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.