Bug 623340 - nl80211 Driver does not support authentication or connect commands
Summary: nl80211 Driver does not support authentication or connect commands
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: i586 openSUSE 11.3
: P5 - None : Major (vote)
Target Milestone: ---
Deadline: 2010-09-16
Assignee: Vladimir Botka
QA Contact: E-mail List
URL:
Whiteboard: maint:released:11.3:35314
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 06:42 UTC by Forgotten User L03nYQvXe7
Modified: 2011-01-31 10:37 UTC (History)
2 users (show)

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 L03nYQvXe7 2010-07-19 06:42:37 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)

Hi,

I have upgraded from 11.2 to 11.3. When trying to connect to internet with ifup I get this error:

nl80211 Driver does not support authentication or connect commands
Failed to initialize driver interface

My wirless card is Pro/Wireless 2200BG [Calexico2]. With 11.2 I had no problemm connecting to internet.

I have tried Networkmanager but with no luck. 

Thanks.


Reproducible: Always

Steps to Reproduce:
1. ifup eth1
2. Get the error.
3. 
Actual Results:  
nl80211 Driver does not support authentication or connect commands
Failed to initialize driver interface

Expected Results:  
Connected
Comment 1 Vladimir Botka 2010-07-19 14:28:48 UTC
iwl2000 Intel wlan adapters need the old wext wireless extension.
Comment 2 Vladimir Botka 2010-07-19 14:33:11 UTC
Would it be possible to install the fixed sysconfig package from [1] on [2] and try again ?

[1] home:vbotka:branches:openSUSE:11.3:Update:Test/sysconfig
[2] https://build.opensuse.org
Comment 3 Forgotten User L03nYQvXe7 2010-07-19 15:34:59 UTC
(In reply to comment #2)
> Would it be possible to install the fixed sysconfig package from [1] on [2] and
> try again ?
> 
> [1] home:vbotka:branches:openSUSE:11.3:Update:Test/sysconfig
> [2] https://build.opensuse.org

I don't know how. If you can help me?
Comment 4 Forgotten User L03nYQvXe7 2010-07-19 17:51:23 UTC
I have seen that in /etc/sysconfig/network/conf it says the following:

Note: This option requires a wpa driver supporting it, like
# the 'nl80211' driver used by default since openSUSE 11.3.
# When you notice problems with your hardware, please file a
# bug report and set e.g. WIRELESS_WPA_DRIVER='wext' (the old
# default driver) in the ifcfg file.
# See also "/usr/sbin/wpa_supplicant --help" for the list of
# available wpa drivers.

I have modified my /etc/sysconfig/network/ifcfg-eth1 and made a rcnetwork restart:

eth1      device: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
eth1      starting wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
    eth1      Starting DHCP4+DHCP6 client. . . . . . . .  
    eth1      IP address: 192.168.178.25/24
    eth1      DHCP6 continues in background
    eth1                                                                                                                                         done
Setting up service network  .  .  .  .  .  .  .  .  .  .                                                                                         done

But I don't get connected. I suppose because I get the ioctl errors.
Comment 5 Vladimir Botka 2010-07-19 20:04:26 UTC
(In reply to comment #3)
> > Would it be possible to install the fixed sysconfig package from [1] on [2] > I don't know how. If you can help me?

The changes in the updated sysconfig are equivalent to setting WIRELESS_WPA_DRIVER='wext'. We will proceed with this settings then.


(In reply to comment #4)
> I have modified my /etc/sysconfig/network/ifcfg-eth1 and made a rcnetwork
> restart:
 snip
>     eth1      Starting DHCP4+DHCP6 client. . . . . . . .  
>     eth1      IP address: 192.168.178.25/24
>     eth1      DHCP6 continues in background
>     eth1                                                                       
 snip
> But I don't get connected. I suppose because I get the ioctl errors.

I can see in the log that eth1 received address 192.168.178.25 . Obviously your DHCP server provides DHCP v4 addresses only. Would it be possible to set "dhcp4 only" in the yast "Network Settings" for the eth1 interface ?
Comment 6 Forgotten User L03nYQvXe7 2010-07-20 07:49:13 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > > Would it be possible to install the fixed sysconfig package from [1] on [2] > I don't know how. If you can help me?
> 
> The changes in the updated sysconfig are equivalent to setting
> WIRELESS_WPA_DRIVER='wext'. We will proceed with this settings then.
> 
> 
> (In reply to comment #4)
> > I have modified my /etc/sysconfig/network/ifcfg-eth1 and made a rcnetwork
> > restart:
>  snip
> >     eth1      Starting DHCP4+DHCP6 client. . . . . . . .  
> >     eth1      IP address: 192.168.178.25/24
> >     eth1      DHCP6 continues in background
> >     eth1                                                                       
>  snip
> > But I don't get connected. I suppose because I get the ioctl errors.
> 
> I can see in the log that eth1 received address 192.168.178.25 . Obviously your
> DHCP server provides DHCP v4 addresses only. Would it be possible to set "dhcp4
> only" in the yast "Network Settings" for the eth1 interface ?

I close the ticket. After rebooting the computer it connected to internet without problems.

Thanks.
Comment 7 Forgotten User L03nYQvXe7 2010-07-20 07:50:24 UTC
I have modified my /etc/sysconfig/network/ifcfg-eth1
with WIRELESS_WPA_DRIVER='wext' and reboot.
Comment 8 Marius Tomaschewski 2010-07-20 10:52:54 UTC
FYI: Applied patch from submit request #43486 to git:

http://gitorious.org/opensuse/sysconfig/commit/dc80839ae09c02c4db899e62bc7e044cfc6ec0aa
Comment 10 Marcus Meissner 2010-07-22 09:24:45 UTC
i think both for maintenance, to make hardware work for users.

+1
Comment 11 Marius Tomaschewski 2010-07-22 12:48:01 UTC
Needinfo provided above.

Bug 624182 seems to have same source.

A review of related problems let'me thinking, there were some changes
that broke nl80211 [at least for several drivers].

The nl80211 wpa driver worked fine on 11.2 .. <11.3-GM on my notebook
with iwlagn (see e.g. bnc 585802#c2). On 11.3-GM it still works, but
not reliably. I'm also getting the ioctl errors. Initially it works,
but after some time (idle time / power management state change) it is
unable to reassociate with similar results as in the bug reports.

I'll retest it using the hardware that I have here next week and try
out some downgrades... It would make less sense to set chipsets to
the 'wext' drivers when there is an another bug that causes it.

Vladimir, can you take a closer look on these problems too?
Comment 12 Vladimir Botka 2010-07-29 18:45:04 UTC
(In reply to comment #11)
> Vladimir, can you take a closer look on these problems too?

nl80211 works with so called "soft-mac" adapters. Started with Intel 3945 all newer adapters from Intel are "soft-mac" and use iwlagn driver. There shall be no problem. Older adapters from Intel need wext. There is a convenient option in wpa_supplicant that enables to define more wlan extensions on the commandline (-Dnl80211,wext). If nl80211 is not available for the driver then wext is used. This shall solve the problem.

Patch submitted from bnc 625403. Once you apply the patch and test we can close it again.
Comment 13 Marius Tomaschewski 2010-08-13 08:16:55 UTC
See bug 625403 (added as dependency).
Comment 15 Marius Tomaschewski 2010-08-18 12:59:20 UTC
Fixed in home:mtomaschewski:branches:openSUSE:11.3:Update:Test/sysconfig
and submitted it to openSUSE:11.3:Update:Test in request 45757.
Comment 16 Swamp Workflow Management 2010-08-19 18:16:21 UTC
The SWAMPID for this issue is 35308.
This issue was rated as low.
Please submit fixed packages until 2010-09-16.
Also create a patchinfo file using this link:
https://swamp.suse.de/webswamp/wf/35308
Comment 17 Swamp Workflow Management 2010-09-07 12:52:38 UTC
Update released for: sysconfig, sysconfig-debuginfo, sysconfig-debugsource
Products:
openSUSE 11.3 (debug, i586, x86_64)
Comment 18 Forgotten User -1qt_FOAYW 2011-01-30 18:34:30 UTC
I had the same problem after changing from SUSE 11.2 to SUSE 11.3:
starting my wlan (Intel Corporation PRO/Wireless 2200BG) gives:
... 
starting wpa_supplicant
nl80211 Driver does not support authentication or connect commands

and DHCP didn't work.

I could solve the problem by changing from WEP encryption to WPA-PSK (of course
I had to change my complete wlan-network).

What I have now is:
ifup eth1
    eth1      device: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network 
Connection (rev 05)
    eth1      starting wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Starting DHCP4 client on eth1. . .  
    eth1      IP address: 10.0.0.8/24

I get two ioctl errors, but I think I can ignore them, since the connection works!
Comment 19 Vladimir Botka 2011-01-31 10:37:57 UTC
(In reply to comment #18)
> I had the same problem after changing from SUSE 11.2 to SUSE 11.3:
> starting my wlan (Intel Corporation PRO/Wireless 2200BG) gives:
> starting wpa_supplicant
> nl80211 Driver does not support authentication or connect commands

JFYI, unfortunately WEP does not work with ipw2200 any longer [1]. As of the nl80211, the nl80211 works well with the wireless adapters from Intel supported by the iwlagn driver.

https://bugzilla.novell.com/show_bug.cgi?id=623592#c8