Bug 604095 - Standard Ralink driver RT2860 cannot connect to WPA2 networks
Summary: Standard Ralink driver RT2860 cannot connect to WPA2 networks
Status: RESOLVED DUPLICATE of bug 625403
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Milestone 6
Hardware: PC openSUSE 11.3
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 23:19 UTC by T. J. Brumfield
Modified: 2010-09-24 21:52 UTC (History)
7 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 T. J. Brumfield 2010-05-09 23:19:47 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.29 Safari/533.4

https://bugzilla.kernel.org/show_bug.cgi?id=13217

This is an upstream kernel bug. Attached to that bug report is a patch. Some Ubuntu users have reported compiling with that patch themselves and fixing the problem.

I encountered the bug testing openSUSE 11.3, and it is the one issue that made me roll back to openSUSE 11.2. Since there is a working patch, but upstream hasn't accepted the patch, can we please get it included in openSUSE 11.3?

Thanks!



Reproducible: Always

Steps to Reproduce:
1. Load openSUSE 11.3
2. Try to connect to a WPA2 wireless network with the rt2860sta driver
3.
Actual Results:  
The connection will timeout every time while trying to authenticate

Expected Results:  
Successful connection
Comment 1 Jeff Mahoney 2010-05-10 02:47:03 UTC
This patch was part of 2.6.31-rc1. That means it's part of both openSUSE 11.2 and 11.3.
Comment 2 Forgotten User cAXlJ_FoSf 2010-05-17 21:47:51 UTC
(In reply to comment #0)
> https://bugzilla.kernel.org/show_bug.cgi?id=13217

This bug has been fixed a long time ago.

> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Load openSUSE 11.3
> 2. Try to connect to a WPA2 wireless network with the rt2860sta driver

Have you made sure you are actually using the rt2860sta driver? On my machine this driver is loaded but the rt2800pci driver (which does not yet work with RT2860 hardware) attaches to it by default and needs to be blacklisted.

> Actual Results:  
> The connection will timeout every time while trying to authenticate

Have you tried connecting without NetworkManager, i.e. manually or with YaST?
Comment 3 T. J. Brumfield 2010-05-17 22:23:16 UTC
(In reply to comment #1)
> This patch was part of 2.6.31-rc1. That means it's part of both openSUSE 11.2
> and 11.3.

I searched the LKML and couldn't find when it was applied.

That being said, the driver works for me in 11.2, but does not work in 11.3.
Comment 4 T. J. Brumfield 2010-05-17 22:26:31 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > https://bugzilla.kernel.org/show_bug.cgi?id=13217
> 
> This bug has been fixed a long time ago.
> 
> > Reproducible: Always
> > 
> > Steps to Reproduce:
> > 1. Load openSUSE 11.3
> > 2. Try to connect to a WPA2 wireless network with the rt2860sta driver
> 
> Have you made sure you are actually using the rt2860sta driver? On my machine
> this driver is loaded but the rt2800pci driver (which does not yet work with
> RT2860 hardware) attaches to it by default and needs to be blacklisted.

If the same fix is applied in 11.2 and 11.3, then the behavior isn't the same between the two. 11.2 works out of the box. 11.3 does not. I did verify with lsmod that rt2860sta was being loaded as the driver. I did not try blacklisting the rt2800pci driver, but I ended up reinstalling 11.2 so I can't easily test it right this second.

I'd still consider this a bug/regression given that the hardware does not work out of the box as expected in 11.3, where it does in 11.2.

> 
> > Actual Results:  
> > The connection will timeout every time while trying to authenticate
> 
> Have you tried connecting without NetworkManager, i.e. manually or with YaST?

I used NetworkManager first, and then I tried manually as well with iwconfig.
Comment 5 Forgotten User cAXlJ_FoSf 2010-05-18 09:15:37 UTC
(In reply to comment #4)
> between the two. 11.2 works out of the box. 11.3 does not. I did verify with
> lsmod that rt2860sta was being loaded as the driver. I did not try blacklisting

It will load but it might not attach. You can e.g. use nm-tool to see which driver you are actually using.

> the rt2800pci driver, but I ended up reinstalling 11.2 so I can't easily test
> it right this second.

Please download the M6 LiveCD and run the following as root:

modprobe -r rt2800pci
modprobe -r rt2860sta
modprobe rt2860sta

Then try again connecting with NetworkManager.

> I'd still consider this a bug/regression given that the hardware does not work
> out of the box as expected in 11.3, where it does in 11.2.

Yes, that is bug #606243.
Comment 6 James Oakley 2010-05-22 13:26:47 UTC
I am having the same problem with an rt2860 on m7.

If I remove both drivers and reload rt2860sta, it fails to connect:

brock:~ # ifup wlan0
    wlan0     device: RaLink RT2860
    wlan0     warning: WPA configured but may be unsupported
    wlan0     warning: by this device
    wlan0     starting wpa_supplicant
nl80211: 'nl80211' generic netlink not found
Failed to initialize driver interface

If I load the mac80211 driver, I get different messages, but it still fails to connect:

brock:~ # ifup wlan0
    wlan0     device: RaLink RT2860
    wlan0     warning: WPA configured but may be unsupported
    wlan0     warning: by this device
    wlan0     starting wpa_supplicant
Failed to initialize driver interface
ELOOP: remaining socket: sock=4 eloop_data=0x80f6a00 user_data=0x80f6718 handler=0x80b7950

An iwlist scan does work, however.
Comment 7 Larry Finger 2010-07-28 13:10:53 UTC
The problem here is the one reported in Bug #625403. For the RT2860, the ifup-wireless script in /etc/sysconfig/network/scripts will select "nl80211" as the value for WPA_DRIVER; however, the device driver cannot use that method, thus one sees the "'nl80211' generic netlink not found" message of comment 6.

The fix is given in the attachment to Bug #625403 by selecting "wext" for RT2860 and RT2870.

Note: If the OP had used NetworkManager, the device should have worked.
Comment 8 Tony Jones 2010-09-24 21:52:47 UTC
Marking as dup of 625403.  Please try the update (comment 25).  Reopen this bug if not resolved.

*** This bug has been marked as a duplicate of bug 625403 ***