OpenWrt Forum Archive

Topic: rtl8192su driver?

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all, I don't know, if I post this topic in correct forum, but I am new to openwrt, sorry...
I was trying to find out if rtl8192su usb wifi is supported by openwrt, and what driver should I use.

1st I have tried rtl818x usb kernel driver from trunk, but I failed
2nd I have tried to use rtl8192u_usb from staging (also from trunk), but failed too sad
3rd I have tried to use rtl8712 usb staging (also from trunk) kernel driver, I have particular succeed, usb device is recognized by OpenWRT, but not by wpa-supplicant sad, and I need to use it as client/station in network with WPA2-enterprise encryption...

On my desktop, running Ubuntu this usb-wifi is using rt8192su driver, which seems to be disappeared since 2.6.37 kernel version...

Please help to make it working!

Sorry for my English,
NewUse.

(Last edited by NewUse on 16 Jul 2011, 22:18)

I have tried to use rtl8192u_usb from staging (also from trunk), but failed too

I use a rtl8192su device on r27150 (kirkwood / 2.6.37.6), with staging drivers, and it works.
Can you describe fail ?

wpa_supplicant doesn't  understand the driver sad
I have tried with new RTL8712 driver, the device is detected, and recognized by driver, but If I am trying to run wpa_supplicant with nl80211 driver key -- it say that driver is not supported...

And with wext driver ?

not supported:
here are all logs I can get
you can see, that driver is working, but not wpa_supplicant sad((

What I am doing wrong?

usb 2-1: new high speed USB device number 5 using ohci_hcd
r8712u: module is from the staging directory, the quality is unknown, you have been warned.
r8712u: DriverVersion: v7_0.20100831
r8712u: register rtl8712_netdev_ops to netdev_ops
r8712u: USB_SPEED_HIGH with 4 endpoints
r8712u: Boot from EFUSE: Autoload OK
r8712u: CustomerID = 0x0000
r8712u: MAC Address from efuse = 00:e0:4c:04:64:c2
usbcore: registered new interface driver r8712u
usb 2-1: USB disconnect, device number 5
usb 2-1: new high speed USB device number 6 using ohci_hcd
r8712u: DriverVersion: v7_0.20100831
r8712u: register rtl8712_netdev_ops to netdev_ops
r8712u: USB_SPEED_HIGH with 4 endpoints
r8712u: Boot from EFUSE: Autoload OK
r8712u: CustomerID = 0x0000
r8712u: MAC Address from efuse = 00:e0:4c:04:64:c2

root@OpenWrt:/etc/config# iwconfig wlan1
wlan1     unassociated  Mode:Auto  Access Point: Not-Associated
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@OpenWrt:/etc/config# iwlist wlan1 scan
wlan1     Scan completed :
          Cell 01 - Address: 00:15:6D:4C:45:70
                    ESSID:"ChepelevoNET"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:rsn_ie=30140100000fac040100000fac040100000fac010000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                    Signal level=47/100
          Cell 02 - Address: 06:15:6D:4C:45:70
                    ESSID:"ChepelevoFree"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Signal level=46/100
          Cell 03 - Address: 00:90:4C:C1:00:00
                    ESSID:"OpenWrt"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Frequency:2.462 GHz (Channel 11)
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Signal level=100/100
          Cell 04 - Address: 00:15:6D:4C:45:C6
                    ESSID:"ChepelevoNET"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.462 GHz (Channel 11)
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:rsn_ie=30140100000fac040100000fac040100000fac010000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                    Signal level=26/100
          Cell 05 - Address: 06:15:6D:4C:45:C6
                    ESSID:"ChepelevoFree"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.462 GHz (Channel 11)
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Signal level=42/100

root@OpenWrt:/etc/config# wpa_supplicant -B -P /var/run/wifi-wlan1.pid -D nl80211 -i wlan1 -c /etc/config/wwan.conf
wlan1: Failed to initialize driver interface
root@OpenWrt:/etc/config# wpa_supplicant -B -P /var/run/wifi-wlan1.pid -D wext -i wlan1 -c /etc/config/wwan.conf
wlan1: Unsupported driver 'wext'
root@OpenWrt:/etc/config#
root@OpenWrt:/lib/firmware# ifconfig wlan1
wlan1     Link encap:Ethernet  HWaddr 00:E0:4C:04:64:C2
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@OpenWrt:/lib/firmware#

Sorry for my English,
NewUse.

(Last edited by NewUse on 21 Jul 2011, 15:44)

The discussion might have continued from here.