Modify

Opened 3 years ago

Last modified 19 months ago

#17649 new defect

rtl8192cu not authenticating

Reported by: andrkuli76@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Barrier Breaker 14.07
Keywords: rtl8192cu usb Cc:

Description

router tp1043 rev.1
usb dongle rtl8192cu
Scan is work fine, but authenticate not working
On PC x64 with linux kernel this dongle works.
I install with opkg:
kmod-rtl8192c-common - 3.10.49+2014-05-22-1
kmod-rtl8192cu - 3.10.49+2014-05-22-1
kmod-rtlwifi - 3.10.49+2014-05-22-1
kmod-rtlwifi-usb - 3.10.49+2014-05-22-1

Attachments (1)

dmesg.txt (10.9 KB) - added by andrkuli76@… 3 years ago.

Download all attachments as: .zip

Change History (16)

Changed 3 years ago by andrkuli76@…

comment:1 in reply to: ↑ description Changed 3 years ago by anonymous

Replying to andrkuli76@…:

router tp1043 rev.1
usb dongle rtl8192cu
Scan is work fine, but authenticate not working
On PC x64 with linux kernel this dongle works.
I install with opkg:
kmod-rtl8192c-common - 3.10.49+2014-05-22-1
kmod-rtl8192cu - 3.10.49+2014-05-22-1
kmod-rtlwifi - 3.10.49+2014-05-22-1
kmod-rtlwifi-usb - 3.10.49+2014-05-22-1

comment:2 follow-up: Changed 3 years ago by ScimitarTech

I've heard using the latest driver from Realtek fixes these problems.

Can someone integrate the new driver into OpenWRT?

comment:3 Changed 3 years ago by anonymous

I have exactly the same problem.
Barrier Breaker 14.07
GL.iNet 6416A
kmod-rtl8192c-common - 3.10.49+2014-05-22-1
kmod-rtl8192cu - 3.10.49+2014-05-22-1
kmod-rtlwifi - 3.10.49+2014-05-22-1
kmod-rtlwifi-usb - 3.10.49+2014-05-22-1

comment:4 in reply to: ↑ 2 Changed 3 years ago by anonymous

Replying to ScimitarTech:

I've heard using the latest driver from Realtek fixes these problems.

Can someone integrate the new driver into OpenWRT?

I'd like to know how you do that?

comment:5 Changed 3 years ago by anonymous

rtl8192cu driver was absolutely broken in kernel 3.8. So that it worked it is necessary to wait for updating of kernel to 3.14 or to port https://github.com/pvaret/rtl8192cu-fixes

comment:6 Changed 3 years ago by anonymous

rtl8192cu driver was absolutely broken in kernel 3.8. So that it worked it is necessary to wait for updating of kernel to 3.14 or to port https://github.com/pvaret/rtl8192cu-fixes

comment:7 follow-up: Changed 3 years ago by anonymous

I tried with kernel 3.14.8 with the latest trunk and compat-wireless-2014-09-26 that comes with it, it still doesn't work, but it's not the same problem.

looks like this, but nothing more:
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.320000] rtl8192cu: Chip version 0x11
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.400000] rtl8192cu: MAC address: 00:e0:4c:00:1e:9f
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.410000] rtl8192cu: Board Type 0
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.410000] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.420000] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.420000] usbcore: registered new interface driver rtl8192cu

I won't even let me scan and it does't show up in "iw list".
Same problem with kernel 3.10.49 and same compat-wireless (in compat-wireless-2014-09-2 trunk and BB 14.07).
It doesn't look a kernel problem because changing the kernel does't solve the problem.

However, when using compat-wireless-2014-05-22, it's the same problem of not authenticating, it does't matter what version (kernel or openwrt) either.
Same here, kernel does't change anything.

In conclusion, looks like the problem is the compat-wireless drivers which needs to be updated/patched.
Unfortunately, I don't have the skills to fix it.

Can provide more info if needed.

comment:8 in reply to: ↑ 7 ; follow-up: Changed 3 years ago by anonymous

Replying to anonymous:

I tried with kernel 3.14.8 with the latest trunk and compat-wireless-2014-09-26 that comes with it, it still doesn't work, but it's not the same problem.

looks like this, but nothing more:
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.320000] rtl8192cu: Chip version 0x11
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.400000] rtl8192cu: MAC address: 00:e0:4c:00:1e:9f
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.410000] rtl8192cu: Board Type 0
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.410000] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.420000] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
Fri Oct 10 14:26:20 2014 kern.info kernel: [ 13.420000] usbcore: registered new interface driver rtl8192cu

I won't even let me scan and it does't show up in "iw list".
Same problem with kernel 3.10.49 and same compat-wireless (in compat-wireless-2014-09-2 trunk and BB 14.07).
It doesn't look a kernel problem because changing the kernel does't solve the problem.

However, when using compat-wireless-2014-05-22, it's the same problem of not authenticating, it does't matter what version (kernel or openwrt) either.
Same here, kernel does't change anything.

In conclusion, looks like the problem is the compat-wireless drivers which needs to be updated/patched.
Unfortunately, I don't have the skills to fix it.

Can provide more info if needed.

Have you tried with kernel 3.3.8(Attitude Adjustment)?

comment:9 in reply to: ↑ 8 Changed 3 years ago by anonymous

Replying to anonymous:

Have you tried with kernel 3.3.8(Attitude Adjustment)?

No, I didn't.
Tried only BB 14.07 and CC trunk.
Should it work?
Seems too old to work.
If there is any chance it would work, I am willing to try.
Did it or any other version ever worked with the rtl8192cu for someone?
If the answer is yes, how?

comment:10 follow-up: Changed 3 years ago by anonymous

After compiling it, tried Attitude Adjustment with kernel 3.3.8, but still compat-wireless-2014-05-22.
Recognized, but as before, recognized and scan works, but Still not authenticating...
Final conclusion: kernel is not the problem.

Best solution will be to port the Realtek driver (not the Compat-Wireless version).
This version works best.
Meanwhile, the Realtek driver can be compiled and insmod the 819cu.ko file.
But it has other problems...

Maybe this can be helpful:
https://github.com/CapnBry/HeaterMeter/tree/master/openwrt/package

comment:11 in reply to: ↑ 10 Changed 3 years ago by anonymous

Replying to anonymous:

After compiling it, tried Attitude Adjustment with kernel 3.3.8, but still compat-wireless-2014-05-22.
Recognized, but as before, recognized and scan works, but Still not authenticating...
Final conclusion: kernel is not the problem.

Best solution will be to port the Realtek driver (not the Compat-Wireless version).
This version works best.
Meanwhile, the Realtek driver can be compiled and insmod the 819cu.ko file.
But it has other problems...

Maybe this can be helpful:
https://github.com/CapnBry/HeaterMeter/tree/master/openwrt/package

I compiled and insmod 8192cu.ko
Every thing works perfect until I run "iwlist scan" and "iwconfig wlan1 essid" .
The interface down and LED of usb adpater off....

comment:12 Changed 3 years ago by anonymous

What kernel version and Driver version did you use?
It has the same problem (kernel panic) with Attitude Adjustment and Realtek driver version v3.4.3, tried with multiple options (also cfg80211 enabled, then it crashed on iw wlan1 scan).
Patches from the HeaterMeter project won't solve the problem.
Maybe it works on newer versions...

comment:13 Changed 3 years ago by anonymous

install wpad package, everything will work fine

comment:14 Changed 2 years ago by anonymous

Installing wpad did not make a difference for me. Still got the reported issue (14.07, r42625)

comment:15 Changed 19 months ago by anonymous

Every thing works perfect until I run "iwlist scan" and "iwconfig wlan1 essid" .
The interface down and LED of usb adpater off....

could it be a hardware issue? power etc.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.