You are not logged in.
Hi!
I've got an "Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]" adapter and it won't connect to the wireless network of choice. I can see all the networks in networkmanager, but when I click on connect it won't do anything.
This is the output from "dmesg | grep rtl8192cu"
[ 3.191415] rtl8192cu: Chip version 0x10
[ 3.276144] rtl8192cu: MAC address: 80:1f:02:d3:26:07
[ 3.276149] rtl8192cu: Board Type 0
[ 3.276418] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw.bin
[ 3.276503] usbcore: registered new interface driver rtl8192cu
[ 3.297396] rtl8192cu: MAC auto ON okay!
[ 3.330150] rtl8192cu: Tx queue select: 0x05
[ 69.728860] rtl8192cu: MAC auto ON okay!
[ 69.761615] rtl8192cu: Tx queue select: 0x05
[ 70.273093] rtl8192cu: MAC auto ON okay!
[ 70.305846] rtl8192cu: Tx queue select: 0x05
[ 108.304482] rtl8192cu: MAC auto ON okay!
[ 108.337236] rtl8192cu: Tx queue select: 0x05
[ 142.212269] rtl8192cu: MAC auto ON okay!
[ 142.245135] rtl8192cu: Tx queue select: 0x05
[ 143.630585] rtl8192cu: MAC auto ON okay!
[ 143.663461] rtl8192cu: Tx queue select: 0x05
[ 144.147102] rtl8192cu: MAC auto ON okay!
[ 144.179957] rtl8192cu: Tx queue select: 0x05
[ 399.021547] rtl8192cu: Chip version 0x10
[ 399.106791] rtl8192cu: MAC address: 80:1f:02:d3:26:07
[ 399.106797] rtl8192cu: Board Type 0
[ 399.107075] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw.bin
[ 399.140665] rtl8192cu: MAC auto ON okay!
[ 399.173541] rtl8192cu: Tx queue select: 0x05Any ideas?
Last edited by purzel (2014-01-04 16:20:45)
Offline
Hi Purzel,
I've got the exact same model and had trouble getting it working to start with. It would work for a couple of seconds or minutes and the disconnect. In the end, I blacklisted the rtl8192cu module and installed the dkms-8192cu package from the AUR which installs the latest Realtek driver. It's now rock solid. I've been keeping an eye on the kernel.org changelogs, hoping that the in-kernel module is updated,but although a few improvements have occurred over the last few months, the AUR package still works better for me.
Offline
Hi
thanks for the answer, I tried it
added
blacklist rtl8192cu
to
/etc/modprobe.d/modprobe.conf
modprobe -r rtl8192cu
installed dkms-8192cu from AUR (no errors), reboot
and it still won't connect. However new: dmesg | grep 8192
[ 0.000000] PERCPU: Embedded 29 pages/cpu @ffff88021ec00000 s86464 r8192 d24128 u524288
[ 0.000000] pcpu-alloc: s86464 r8192 d24128 u524288 alloc=1*2097152
[ 0.469042] Write protecting the kernel read-only data: 8192k
[ 3.144471] rtl8192cu driver version=v4.0.2_9000.20130911
[ 3.144520] CHIP TYPE: RTL8188C_8192C
[ 3.144990] ====> ReadAdapterInfo8192C
[ 3.293252] readAdapterInfo_8192CU(): REPLACEMENT = 1
[ 3.293254] <==== ReadAdapterInfo8192C in 150 ms
[ 3.293549] usbcore: registered new interface driver rtl8192cu
[ 3.850471] rtl8192cu_hal_init in 536ms
[ 3.868995] rtl8192c_set_FwJoinBssReport_cmd mstatus(0)
[ 3.895124] rtl8192c_set_FwJoinBssReport_cmd mstatus(0)
[ 7.940239] ==> rtl8192cu_hal_deinit
[ 27.533199] rtl8192cu_hal_init in 533ms
[ 29.572778] ==> rtl8192cu_hal_deinit
[ 60.532252] rtl8192cu_hal_init in 533ms
[ 62.571831] ==> rtl8192cu_hal_deinit
[ 70.055443] rtl8192cu_hal_init in 530ms
[ 72.091646] ==> rtl8192cu_hal_deinit
[ 73.545338] rtl8192cu_hal_init in 546ms
[ 75.584909] ==> rtl8192cu_hal_deinit
[ 79.641757] rtl8192cu_hal_init in 533ms
[ 81.678085] ==> rtl8192cu_hal_deinit
[ 82.528414] rtl8192cu_hal_init in 530ms
[ 84.564619] ==> rtl8192cu_hal_deinit
[ 105.621288] rtl8192cu_hal_init in 550ms
[ 107.657367] ==> rtl8192cu_hal_deinit
[ 138.543594] rtl8192cu_hal_init in 546ms
[ 140.583161] ==> rtl8192cu_hal_deinit
[ 181.529198] rtl8192cu_hal_init in 530ms
[ 183.568776] ==> rtl8192cu_hal_deinit
[ 234.527729] rtl8192cu_hal_init in 533ms
[ 236.567305] ==> rtl8192cu_hal_deinit
[ 297.532805] rtl8192cu_hal_init in 540ms
[ 299.572384] ==> rtl8192cu_hal_deinit
[ 360.524635] rtl8192cu_hal_init in 533msuname -r 3.12.6-1-ARCH
Seems like I'm missing something :-/
Last edited by purzel (2014-01-04 15:25:11)
Offline
That looks a bit odd to me. Just looking at what I did, I've got no /etc/modprobe.d/modprobe.conf, but there's two config files in the same directory, added automatically by the dkms-8192cu install. One of these does the blacklisting of 3 modules. Just a quick thought but did you actually build the module for the kernel using "dkms autoinstall -k 3.12.6-1-ARCH" after installing the source files via the AUR?
Offline
Ok I did,
# dkms autoinstall -k 3.12.6-1-ARCH
now I've got the file with the three blacklisted modules! (modprobe.conf contains the blacklisting of the internal soundcard)
reboot --> still won't work >.<
[ 0.000000] PERCPU: Embedded 29 pages/cpu @ffff88021ec00000 s86464 r8192 d24128 u524288
[ 0.000000] pcpu-alloc: s86464 r8192 d24128 u524288 alloc=1*2097152
[ 0.476649] Write protecting the kernel read-only data: 8192k
[ 3.190943] rtl8192cu driver version=v4.0.2_9000.20130911
[ 3.190993] CHIP TYPE: RTL8188C_8192C
[ 3.191479] ====> ReadAdapterInfo8192C
[ 3.343217] readAdapterInfo_8192CU(): REPLACEMENT = 1
[ 3.343219] <==== ReadAdapterInfo8192C in 153 ms
[ 3.343508] usbcore: registered new interface driver rtl8192cu
[ 3.911435] rtl8192cu_hal_init in 530ms
[ 3.929835] rtl8192c_set_FwJoinBssReport_cmd mstatus(0)
[ 3.955320] rtl8192c_set_FwJoinBssReport_cmd mstatus(0)
[ 7.990817] ==> rtl8192cu_hal_deinit
[ 27.537417] rtl8192cu_hal_init in 530ms
[ 33.590238] ==> rtl8192cu_hal_deinit
[ 54.533416] rtl8192cu_hal_init in 530ms
[ 56.569644] ==> rtl8192cu_hal_deinit
[ 60.046907] rtl8192cu_hal_init in 0ms
[ 60.055189] =====> rtl8192c_free_hal_data =====
[ 60.055190] <===== rtl8192c_free_hal_data =====
[ 65.464026] CHIP TYPE: RTL8188C_8192C
[ 65.464560] ====> ReadAdapterInfo8192C
[ 65.612206] readAdapterInfo_8192CU(): REPLACEMENT = 1
[ 65.612208] <==== ReadAdapterInfo8192C in 150 ms
[ 66.179787] rtl8192cu_hal_init in 530ms
[ 66.199720] rtl8192c_set_FwJoinBssReport_cmd mstatus(0)
[ 66.212828] rtl8192c_set_FwJoinBssReport_cmd mstatus(0)
[ 70.254553] ==> rtl8192cu_hal_deinit
[ 89.539153] rtl8192cu_hal_init in 533ms
[ 95.588605] ==> rtl8192cu_hal_deinit
[ 116.535648] rtl8192cu_hal_init in 533ms
[ 118.574724] ==> rtl8192cu_hal_deinit
[ 149.534329] rtl8192cu_hal_init in 530ms
[ 151.573785] ==> rtl8192cu_hal_deinit unplugged and plugged in again.
Offline
Ha! Now it's working!
Ok here all the steps I did again:
$ yaourt dkms-8192cu
# dkms autoinstall -k 3.12.6-1-ARCH
# reboot
The problem was that networkmanager didn't carry the wifi password over to the other stick and didn't message me about a missing password!
Thanks @ drhill1!
Offline
Glad you've got it sorted. Just to let you know though, the module will need rebuilding for each new kernel that you install. DKMS can do this for you automatically, but I tend to run the dkms command immediately after upgrading the kernel to avoid the delay while it recompiles after a reboot. The DKMS page on the wiki explains it far better than I can though.
On my laptop, the interface name differs between the in-kernel and the dkms module, so you'll need to keep track of that if you try to go back to the in-kernel module at a later date.
Offline