Bugzilla – Bug 631283
ndiswrapper seems not to work with nl80211 ('nl80211' generic netlink not found)
Last modified: 2010-09-07 12:52:45 UTC
User-Agent: Opera/9.80 (X11; Linux x86_64; U; de) Presto/2.6.30 Version/10.60 I tried to make my Netgear WG511v2 adapter to make work, it worked flawlessly using ndiswrapper with openSuse11.2. With openSuse11.3, I get: wlan0 device: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03) wlan0 starting wpa_supplicant nl80211: 'nl80211' generic netlink not found Failed to initialize driver interface Starting DHCP4+DHCP6 client on wlan0. . . . . . . . wlan0 DHCP4 continues in background wlan0 DHCP6 continues in background So I changed /etc/sysconfig/network/scripts/ifup-wireless:720 into ndiswrapper) WPA_DRIVER=nl80211,wext ;; *.sys) WPA_DRIVER=nl80211 As I don't know if there are adapter that work with ndiswrapper and nl80211, or if there are ndiswrapper variants with working nl80211, I went for the safe variant to try both nl80211 and wext. It works OK, on "ifup wlan0" I get now: wlan0 device: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03) wlan0 starting wpa_supplicant nl80211: 'nl80211' generic netlink not found ioctl[SIOCSIWENCODEEXT]: Invalid argument ioctl[SIOCSIWENCODEEXT]: Invalid argument Starting DHCP4+DHCP6 client on wlan0. . . . . . . . wlan0 IP address: 192.168.0.198/24 wlan0 DHCP6 continues in background And I have a working network connection. Reproducible: Always
Thanks! We are about to fix the mapping in bug 625403 and will add your change, BTW: There is a libertas/libertas_tf driver -- did you tried if this native driver works for you instead of the ndiswrapper? libertas_cs.ko libertas.ko libertas_sdio.ko libertas_spi.ko libertas_tf.ko libertas_tf_usb.ko
I just did a modprobe of libertas and libertas_tf (after rmmod ndiswrapper), does not work, the pc-card behaves as a brick, no lights, nothing in /var/log/messages or dmesg. ndiswrapper reports competing drivers with the option "-l", I think, but there is nothing: # ndiswrapper -l wg511v2 : driver installed device (11AB:1FAA) present BTW: I found http://lwn.net/Articles/275719/, but it seems not to be in the kernel (perhaps a case for Greg's staging project?). BTW2: I tried https://bugzillafiles.novell.org/attachment.cgi?id=383070, works for me.
(In reply to comment #2) > BTW: I found http://lwn.net/Articles/275719/, but it seems not to > be in the kernel (perhaps a case for Greg's staging project?). Once the driver is accepted by the wireless-testing and tested it will come to the plain vanilla and this way also to our kernel. > BTW2: I tried https://bugzillafiles.novell.org/attachment.cgi?id=383070, > works for me. If the wext fallback is working I'd like to close this issue as FIXED, but if there are any other problems, reopen.
Fixed in home:mtomaschewski:branches:openSUSE:11.3:Update:Test/sysconfig and submitted it to openSUSE:11.3:Update:Test in request 45757.
Ahm. The automatic mapping to wext is fixed I mean... BTW: You can change to use BOOTPROTO=dhcp4 in /etc/sysconfig/network/ifup-wlan0 when you don't have a DHCPv6 server in your network... It will avoid the start of dhcp6 client ("wlan0 DHCP6 continues in background")...
Update released for: sysconfig, sysconfig-debuginfo, sysconfig-debugsource Products: openSUSE 11.3 (debug, i586, x86_64)