2013-03-08 00:54:37

by Larry Finger

[permalink] [raw]
Subject: Re: PROBLEM: linux kernel 3.9 rc1 and rtl8187 wireless, unable to connect to any available hotspots.

On 03/06/2013 11:16 PM, Jenya Y wrote:
> Larry, thank you for reply.
> I set up my router with WPA2 // the USB ID Device 008: ID 0bda:8187 Realtek
> Semiconductor Corp. RTL8187 Wireless Adapter.
> (I used lsusb in my 3.8.2, I hope it makes no difference, it's the vendor device
> id I suppose...)

*Never* drop the Cc to any mailing list unless you are prepared to pay for
private consulting!!

I generated a 64-bit version of Linus's current mainline tree. The results for
carious commands are as follows:

[email protected]:~/linux-2.6> sudo iwlist wlan1 scan
wlan1 Scan completed :
Cell 01 - Address: C0:3F:0E:BE:2B:44
Frequency:2.422 GHz (Channel 3)
Quality=70/70 Signal level=-36 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Extra: Last beacon: 4ms ago
IE: Unknown: 00086C7766646A662D6E
IE: Unknown: 010882848B962430486C
IE: Unknown: 030103
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown:
IE: Unknown: 3D1603051300000000000000000000000000000000000000
IE: Unknown:
IE: Unknown: DD090010180201F0050000
IE: Unknown:
IE: Unknown:
IE: Unknown:

[email protected]:~/linux-2.6> iwconfig wlan1
wlan1 IEEE 802.11bg ESSID:"lwfdjf-n"
Mode:Managed Frequency:2.422 GHz Access Point: C0:3F:0E:BE:2B:44
Bit Rate=48 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-39 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:49 Missed beacon:0

[email protected]:~/linux-2.6> ifconfig wlan1
wlan1 Link encap:Ethernet HWaddr 00:1B:2F:A2:07:CA
inet addr: Bcast: Mask:
inet6 addr: fe80::21b:2fff:fea2:7ca/64 Scope:Link
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6137 (5.9 Kb) TX bytes:11066 (10.8 Kb)

[email protected]:~/linux-2.6> uname -r

[email protected]:~/linux-2.6> lsusb
Bus 002 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0846:6a00 NetGear, Inc. WG111v2 54 Mbps Wireless [RealTek

As you can see, my system connected to a WPA2-encrypted network running 3.9-rc1
from the mainline tree. I do not know what problem you are having, but I cannot
reproduce it. My USB ID is different, but the chip is the same.