Suse 12.3, TP-LINK TL-WN821N - Authentication failure

Dear All,

I just bought a wireless dongle. It works perfectly under Windows 7, seems to configure fine under Suse 12.3, but according to KDE Network Management it fails authentication. I double checked all settings against the Windows 7 config. and they seem to be identical. I have a suspicion that the rtl8192cu driver that is automatically loaded for this device does not support the 8178 chipset. (According to the docs, it supports only the 8188 and 8198) So, I am suspicious that I should somehow associate the carl9170 driver to this device, but I have no clue how to do that… Any help would be more than welcome!

Thank you,

Sandor

Here are the details:

Bus 001 Device 002: ID 13fd:2040 Initio Corporation
Bus 001 Device 003: ID 050d:0237 Belkin Components F5U237 USB 2.0 7-Port Hub
Bus 002 Device 003: ID 03f0:6a11 Hewlett-Packard PhotoSmart C6200 series
Bus 006 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

I checked the dmesg output and found something like this:

2.407146] usb 1-2.6: new high-speed USB device number 4 using ehci_hcd
2.493404] usb 1-2.6: New USB device found, idVendor=0bda, idProduct=8178
2.493405] usb 1-2.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2.493407] usb 1-2.6: Product: USB WLAN
2.493408] usb 1-2.6: Manufacturer: 802.11n
2.493409] usb 1-2.6: SerialNumber: 00e04c000001

14.496614] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
14.577339] r8169 0000:06:00.0 eth0: link down
14.577354] r8169 0000:06:00.0 eth0: link down
14.577421] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
14.610558] NET: Registered protocol family 17
16.303186] r8169 0000:06:00.0 eth0: link up
16.303195] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
34.155386] wlan0: authenticate with 38:60:77:f1:f0:a1
34.179014] wlan0: send auth to 38:60:77:f1:f0:a1 (try 1/3)
34.181617] wlan0: authenticated
34.182308] wlan0: associate with 38:60:77:f1:f0:a1 (try 1/3)
34.198961] wlan0: RX AssocResp from 38:60:77:f1:f0:a1 (capab=0x411 status=0 aid=5)
34.198986] wlan0: associated
34.199004] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
38.150530] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
40.867158] fuse init (API version 7.20)
44.214654] wlan0: disassociating from 38:60:77:f1:f0:a1 by local choice (reason=3)
44.230695] cfg80211: Calling CRDA to update world regulatory domain
44.231164] wlan0: deauthenticating from 38:60:77:f1:f0:a1 by local choice (reason=3)
44.232321] cfg80211: World regulatory domain updated:
44.232323] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
44.232325] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
44.232326] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
44.232327] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
44.232328] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
44.232329] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
46.014657] wlan0: authenticate with 38:60:77:f1:f0:a1
46.027245] wlan0: send auth to 38:60:77:f1:f0:a1 (try 1/3)
46.041342] wlan0: authenticated
46.042126] wlan0: associate with 38:60:77:f1:f0:a1 (try 1/3)
46.052455] wlan0: RX AssocResp from 38:60:77:f1:f0:a1 (capab=0x411 status=0 aid=5)
46.052493] wlan0: associated
56.049850] wlan0: disassociating from 38:60:77:f1:f0:a1 by local choice (reason=3)
56.063929] wlan0: deauthenticating from 38:60:77:f1:f0:a1 by local choice (reason=3)
56.064144] cfg80211: Calling CRDA to update world regulatory domain
56.065748] cfg80211: World regulatory domain updated:
56.065750] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
56.065752] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
56.065753] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
56.065754] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
56.065755] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
56.065756] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
57.844307] wlan0: authenticate with 38:60:77:f1:f0:a1
57.856746] wlan0: send auth to 38:60:77:f1:f0:a1 (try 1/3)
57.882058] wlan0: authenticated
57.882653] wlan0: associate with 38:60:77:f1:f0:a1 (try 1/3)
57.896792] wlan0: RX AssocResp from 38:60:77:f1:f0:a1 (capab=0x411 status=0 aid=5)
57.896814] wlan0: associated
59.072128] wlan0: deauthenticating from 38:60:77:f1:f0:a1 by local choice (reason=3)
59.088855] cfg80211: Calling CRDA to update world regulatory domain
59.090666] cfg80211: World regulatory domain updated:
59.090669] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
59.090670] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
59.090671] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
59.090672] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
59.090673] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
59.090674] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

iwconfig output:

linux-anwv:~ # iwconfig
eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off

iwlist scan output:

linux-anwv:~ # iwlist scan
eth0 Interface doesn’t support scanning.

lo Interface doesn’t support scanning.

wlan0 No scan results

hwinfo --wlan output:

linux-anwv:~ # hwinfo --wlan
32: USB 00.0: 0282 WLAN controller
[Created at usb.122]
Unique ID: 0R9X.jrYmOdSjfr1
Parent ID: cLrx.yPyIopB0au0
SysFS ID: /devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2.6/1-2.6:1.0
SysFS BusID: 1-2.6:1.0
Hardware Class: network
Model: “Realtek USB WLAN”
Hotplug: USB
Vendor: usb 0x0bda “Realtek Semiconductor Corp.”
Device: usb 0x8178 “USB WLAN”
Revision: “2.00”
Serial ID: “00e04c000001”
Driver: “rtl8192cu”
Driver Modules: “rtl8192cu”
Device File: wlan0
Features: WLAN
Speed: 480 Mbps
HW Address: 64:66:b3:1a:09:d4
Link detected: no
WLAN channels: 1 2 3 4 5 6 7 8 9 10 11
WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462
WLAN encryption modes: WEP40 WEP104 TKIP CCMP
WLAN authentication modes: open sharedkey wpa-psk wpa-eap
Module Alias: “usb:v0BDAp8178d0200dc00dsc00dp00icFFiscFFipFFin00”
Driver Info #0:
Driver Status: rtl8192cu is active
Driver Activation Cmd: “modprobe rtl8192cu”
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #43 (Hub)