2011-05-11 19:29:08

by Flaminigo

[permalink] [raw]
Subject: rtl8192ce.ko doesn't work with 802.11n?

MY university deployed 802.11n wireless LAN. However, my new T420
cannot connect to the network under ubuntu 11.04. I found the driver
for realtek 8188CE is rtl8192ce.ko, rtlwifi. I asked network
administrator to help me. They told me my wireless adapter didn't work
well with the 802.11n network. Is this because of the driver? The
following are the wpa_supplicant output. FYI

------------------
Trying to authenticate with 00:0b:85:97:33:0c (SSID='tamulink-wpa'
freq=2462 MHz)
Trying to associate with 00:0b:85:97:33:0c (SSID='tamulink-wpa' freq=2462 MHz)
Associated with 00:0b:85:97:33:0c
CTRL-EVENT-EAP-STARTED EAP authentication started
CTRL-EVENT-EAP-FAILURE EAP authentication failed
CTRL-EVENT-DISCONNECTED bssid=00:0b:85:97:33:0c reason=7
Authentication with 00:00:00:00:00:00 timed out.
Failed to initiate AP scan.
Trying to authenticate with 00:24:6c:d0:48:42 (SSID='tamulink-wpa'
freq=2462 MHz)
Trying to associate with 00:24:6c:d0:48:42 (SSID='tamulink-wpa' freq=2462 MHz)
Associated with 00:24:6c:d0:48:42
CTRL-EVENT-EAP-STARTED EAP authentication started
CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=26 -> NAK
CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
CTRL-EVENT-EAP-PEER-CERT depth=3 subject='/L=ValiCert Validation
Network/O=ValiCert, Inc./OU=ValiCert Class 2 Policy Validation
Authority/CN=http://www.valicert.com//[email protected]'
CTRL-EVENT-EAP-PEER-CERT depth=2 subject='/C=US/O=The Go Daddy Group,
Inc./OU=Go Daddy Class 2 Certification Authority'
CTRL-EVENT-EAP-PEER-CERT depth=1
subject='/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com,
Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure
Certification Authority/serialNumber=07969287'
CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/O=net.tamu.edu/OU=Domain
Control Validated/CN=net.tamu.edu'
EAP-MSCHAPV2: Authentication succeeded
EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
WPA: Key negotiation completed with 00:24:6c:d0:48:42 [PTK=CCMP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:24:6c:d0:48:42 completed
(auth) [id=0 id_str=]
Michael MIC failure detected
WPA: Sending EAPOL-Key Request (error=1 pairwise=0 ptk_set=1 len=99)
Michael MIC failure detected
WPA: Sending EAPOL-Key Request (error=1 pairwise=0 ptk_set=1 len=99)
TKIP countermeasures started
CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=14
^CCTRL-EVENT-TERMINATING - signal 2 received

--
Regards
sunny


2011-05-15 21:32:50

by Flaminigo

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

Hi,
I have another question. Is it possible to turn of the N network
ratio on this NIC? My notebook works well in a 802.11 b/g network. If
I can turn the N network radio off, at least, I can use it now in my
office building.

Regards
sunny

On Sat, May 14, 2011 at 8:23 PM, Flaminigo <[email protected]> wrote:
> Thank you very much. I've forwarded your mail to administrator. But he
> didn't reply me. I am still waiting. I will let you know asap when he
> replies me.
> Regards
> Sunny
>
> On Sat, May 14, 2011 at 10:20 AM, Larry Finger
> <[email protected]> wrote:
>> On 05/12/2011 08:59 AM, Flaminigo wrote:
>>>
>>> Thank you for the reply. I think N network in the university is OK.
>>> Because, ?old computer connected it without any problem. The windows
>>> system can also connect it. From the output of wpa_supplicant, the
>>> authentication part works well. I've tried to use the latest drive
>>> from realtek. The firmware distribute is exactly the same as that in
>>> Ubuntu 11.04. But this will make core dump.
>>
>> There is a problem with driver rtl8192ce with 802.11n networks that use a 40
>> MHz bandwidth. As you never answered my questions, I don't know if that is
>> the problem that you are seeing. If you go to
>> http://bugzilla.kernel.org/show_bug.cgi?id=35082, there is a patch that may
>> fix your problem. At least it worked here.
>>
>> Larry
>>
>>
>

2011-05-16 15:20:24

by Flaminigo

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

Hi,
I appreciate your help greatly. I am not very familiar with kernel
programming. Actually, I am a graphics guy. I try to apply your patch
but I failed. That was my process. FYI

1. Download RC7 code from
http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.39-rc7.tar.bz2
2. Download the patch from
http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.39-rc7.bz2
3. apply the patch.
sunny@samunder:~/Downloads/kernel/linux-2.6.39-rc7$ bzip2 -dc
patch-2.6.39-rc7.bz2 | patch -p1
4. copy and paste your patch
https://bugzilla.kernel.org/attachment.cgi?id=57802 and place it in
file `pa`
5. apply your patch by patch -p1 < pa.

I failed :(



On Mon, May 16, 2011 at 9:54 AM, Larry Finger <[email protected]> wrote:
> On 05/16/2011 08:48 AM, Flaminigo wrote:
>>
>> I looked the patch you sent me. The patch is applied on 2.6.39-rc1,
>> right? I browse the http://www.kernel.org but I cannot find the source code
>> for RC1.
>> What should I ?do ? Find the RC1 code. Apply your patch. Recompile the
>> kernel and install it? I appreciate your help.
>
> At the moment, you should get 2.6.39-rc7 sources, apply the patch, and build
> that kernel. The patch should apply for any of the ...39-rcX kernels, but I
> did in fact test it with rc7.
>
> Larry
>
>

2011-05-12 13:59:04

by Flaminigo

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

Thank you for the reply. I think N network in the university is OK.
Because, old computer connected it without any problem. The windows
system can also connect it. From the output of wpa_supplicant, the
authentication part works well. I've tried to use the latest drive
from realtek. The firmware distribute is exactly the same as that in
Ubuntu 11.04. But this will make core dump.

I will try some other distributions. But the driver and the kernel are
the same, so I don't think this will make any difference.

On Wed, May 11, 2011 at 8:55 PM, James <[email protected]> wrote:
> On 05/11/11 15:29, Flaminigo wrote:
>> MY university deployed 802.11n wireless LAN. However, my new T420
>> cannot connect to the network under ubuntu 11.04. I found the driver
>> for realtek 8188CE is rtl8192ce.ko, rtlwifi. I asked network
>> administrator to help me. They told me my wireless adapter didn't work
>> well with the 802.11n network. Is this because of the driver? The
>> following are the wpa_supplicant output. FYI
>
> Is there another N network you can try (preferably unencrypted)?
>
> Or can you try the card under Windows?
>
> Try a bunch of other distros on livecds (or USBs).
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>

2011-05-15 01:23:06

by Flaminigo

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

Thank you very much. I've forwarded your mail to administrator. But he
didn't reply me. I am still waiting. I will let you know asap when he
replies me.
Regards
Sunny

On Sat, May 14, 2011 at 10:20 AM, Larry Finger
<[email protected]> wrote:
> On 05/12/2011 08:59 AM, Flaminigo wrote:
>>
>> Thank you for the reply. I think N network in the university is OK.
>> Because, ?old computer connected it without any problem. The windows
>> system can also connect it. From the output of wpa_supplicant, the
>> authentication part works well. I've tried to use the latest drive
>> from realtek. The firmware distribute is exactly the same as that in
>> Ubuntu 11.04. But this will make core dump.
>
> There is a problem with driver rtl8192ce with 802.11n networks that use a 40
> MHz bandwidth. As you never answered my questions, I don't know if that is
> the problem that you are seeing. If you go to
> http://bugzilla.kernel.org/show_bug.cgi?id=35082, there is a patch that may
> fix your problem. At least it worked here.
>
> Larry
>
>

2011-05-16 13:48:06

by Flaminigo

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

I looked the patch you sent me. The patch is applied on 2.6.39-rc1,
right? I browse the http://www.kernel.org but I cannot find the source code
for RC1.
What should I do ? Find the RC1 code. Apply your patch. Recompile the
kernel and install it? I appreciate your help.

Regards
Sunny

On Sun, May 15, 2011 at 5:19 PM, Larry Finger <[email protected]> wrote:
> On 05/15/2011 04:32 PM, Flaminigo wrote:
>>
>> Hi,
>> ? ?I have another question. Is it possible to turn of the N network
>> ratio on this NIC? My notebook works well in a 802.11 b/g network. If
>> I can turn the N network radio off, at least, I can use it now in my
>> office building.
>
> If you just connect to a b/g network, it will work. If the office building
> only has what I suspect is an HT40 network, then it will fail.
>
> Did you look at the kernel bugzilla number that I sent to you the other day.
> It has a patch for using the device with an HT40 network. For me, everything
> else (B/G and HT20) worked before.
>
> Larry
>
>

2011-05-16 14:54:30

by Larry Finger

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

On 05/16/2011 08:48 AM, Flaminigo wrote:
> I looked the patch you sent me. The patch is applied on 2.6.39-rc1,
> right? I browse the http://www.kernel.org but I cannot find the source code
> for RC1.
> What should I do ? Find the RC1 code. Apply your patch. Recompile the
> kernel and install it? I appreciate your help.

At the moment, you should get 2.6.39-rc7 sources, apply the patch, and build
that kernel. The patch should apply for any of the ...39-rcX kernels, but I did
in fact test it with rc7.

Larry


2011-05-14 15:20:30

by Larry Finger

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

On 05/12/2011 08:59 AM, Flaminigo wrote:
> Thank you for the reply. I think N network in the university is OK.
> Because, old computer connected it without any problem. The windows
> system can also connect it. From the output of wpa_supplicant, the
> authentication part works well. I've tried to use the latest drive
> from realtek. The firmware distribute is exactly the same as that in
> Ubuntu 11.04. But this will make core dump.

There is a problem with driver rtl8192ce with 802.11n networks that use a 40 MHz
bandwidth. As you never answered my questions, I don't know if that is the
problem that you are seeing. If you go to
http://bugzilla.kernel.org/show_bug.cgi?id=35082, there is a patch that may fix
your problem. At least it worked here.

Larry


2011-05-15 22:20:01

by Larry Finger

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

On 05/15/2011 04:32 PM, Flaminigo wrote:
> Hi,
> I have another question. Is it possible to turn of the N network
> ratio on this NIC? My notebook works well in a 802.11 b/g network. If
> I can turn the N network radio off, at least, I can use it now in my
> office building.

If you just connect to a b/g network, it will work. If the office building only
has what I suspect is an HT40 network, then it will fail.

Did you look at the kernel bugzilla number that I sent to you the other day. It
has a patch for using the device with an HT40 network. For me, everything else
(B/G and HT20) worked before.

Larry


2011-05-12 01:54:39

by James

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

On 05/11/11 15:29, Flaminigo wrote:
> MY university deployed 802.11n wireless LAN. However, my new T420
> cannot connect to the network under ubuntu 11.04. I found the driver
> for realtek 8188CE is rtl8192ce.ko, rtlwifi. I asked network
> administrator to help me. They told me my wireless adapter didn't work
> well with the 802.11n network. Is this because of the driver? The
> following are the wpa_supplicant output. FYI

Is there another N network you can try (preferably unencrypted)?

Or can you try the card under Windows?

Try a bunch of other distros on livecds (or USBs).


2011-05-12 14:58:03

by Larry Finger

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

On 05/12/2011 08:59 AM, Flaminigo wrote:
> Thank you for the reply. I think N network in the university is OK.
> Because, old computer connected it without any problem. The windows
> system can also connect it. From the output of wpa_supplicant, the
> authentication part works well. I've tried to use the latest drive
> from realtek. The firmware distribute is exactly the same as that in
> Ubuntu 11.04. But this will make core dump.
>
> I will try some other distributions. But the driver and the kernel are
> the same, so I don't think this will make any difference.

What kind of 802.11n network is your university running? What is the maximum
data rate in Mbps? Are they using a 20 or 40 MHz bandwidth? Please have your
network administrators give you that information so that I can try to duplicate
the results. With my setup here, I have connected using the 2.4 GHz band with
rates up to 130 Mbps. My setup uses WPA2-PSK, not EAP, but authentication does
not seem to be your problem.

Every driver contains information about its authors. Use the 'modinfo rtl8192ce'
command to get that information. Any reports of problems with a given driver
should be sent to those listed authors with a Cc to the appropriate mailing
list. I read the linux-wireless mailing list, thus I saw your posting, but my
Chinese colleagues do not.

I received a new driver version from Realtek yesterday. I am still going through
it to port the changes to the kernel driver. It is possible that your problem
may have been found and fixed, but until you report what exact network
conditions you have, I will not be able to confirm that.

Larry

2011-05-12 14:06:47

by Songgang Xu

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

Thank you for the reply. I think N network in the university is OK.
Because, old computer connected it without any problem. The windows
system can also connect it. From the output of wpa_supplicant, the
authentication part works well. I've tried to use the latest drive
from realtek. The firmware distribute is exactly the same as that in
Ubuntu 11.04. But this will make core dump.

I will try some other distributions. But the driver and the kernel are
the same, so I don't think this will make any difference.

On Wed, May 11, 2011 at 8:55 PM, James <[email protected]> wrote:
> On 05/11/11 15:29, Flaminigo wrote:
>> MY university deployed 802.11n wireless LAN. However, my new T420
>> cannot connect to the network under ubuntu 11.04. I found the driver
>> for realtek 8188CE is rtl8192ce.ko, rtlwifi. I asked network
>> administrator to help me. They told me my wireless adapter didn't work
>> well with the 802.11n network. Is this because of the driver? The
>> following are the wpa_supplicant output. FYI
>
> Is there another N network you can try (preferably unencrypted)?
>
> Or can you try the card under Windows?
>
> Try a bunch of other distros on livecds (or USBs).
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>



--
Regards
Songgang

2011-05-16 20:16:12

by Gábor Stefanik

[permalink] [raw]
Subject: Re: rtl8192ce.ko doesn't work with 802.11n?

On Mon, May 16, 2011 at 5:20 PM, Flaminigo <[email protected]> wrote:
> Hi,
> ? ?I appreciate your help greatly. I am not very familiar with kernel
> programming. Actually, I am a graphics guy. I try to apply your patch
> but I failed. That was my process. FYI
>
> 1. Download RC7 code from
> http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.39-rc7.tar.bz2
> 2. Download the patch from
> http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.39-rc7.bz2
> 3. apply the patch.
> sunny@samunder:~/Downloads/kernel/linux-2.6.39-rc7$ bzip2 -dc
> patch-2.6.39-rc7.bz2 ?| patch -p1

You do not need this patch at all - it is already integrated into
linux-2.6.39-rc7.tar.bz2. The patch is for those who already
downloaded the linux-2.6.38 sources, and do not want to redownload a
kernel source tree (also, historically there was no
linux-whatever-rcX.tar.bz2, pre-releases were only distributed as
patches to the previous stable kernel).

> 4. copy and paste your patch
> https://bugzilla.kernel.org/attachment.cgi?id=57802 and place it in
> file `pa`
> 5. apply your patch by patch -p1 < pa.
>
> I failed :(
>
>
>
> On Mon, May 16, 2011 at 9:54 AM, Larry Finger <[email protected]> wrote:
>> On 05/16/2011 08:48 AM, Flaminigo wrote:
>>>
>>> I looked the patch you sent me. The patch is applied on 2.6.39-rc1,
>>> right? I browse the http://www.kernel.org but I cannot find the source code
>>> for RC1.
>>> What should I ?do ? Find the RC1 code. Apply your patch. Recompile the
>>> kernel and install it? I appreciate your help.
>>
>> At the moment, you should get 2.6.39-rc7 sources, apply the patch, and build
>> that kernel. The patch should apply for any of the ...39-rcX kernels, but I
>> did in fact test it with rc7.
>>
>> Larry
>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>



--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)