RTL8192EU on OpenWrt 18.06

Hi,

I'm trying to make raspberry pi a wifi router. I have usb wifi card on RTL8192EU. Currently i see this card and can search for wifi networks but i can't connect to the network and can't set up access point. I constantly see ' Wireless is not associated' in web gui. Can you help me?

lsusb

Bus 001 Device 004: ID 0bda:818b Realtek Semiconductor Corp. RTL8192EU 802.11b/g/n WLAN Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg | grep rtl

[    7.683186] usb 1-1.2: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
[    8.112242] usb 1-1.2: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[    9.269116] usbcore: registered new interface driver rtl8xxxu

opkg list-installed | grep rtl

kmod-rtl8xxxu - 4.9.120+2017-11-01-9
kmod-rtlwifi - 4.9.120+2017-11-01-9
kmod-rtlwifi-usb - 4.9.120+2017-11-01-9

iw dev wlan0 scan

BSS 5c:c3:07:01:71:2c(on wlan0)
        TSF: 3305608806805 usec (38d, 06:13:28)
        freq: 2412
        beacon interval: 100 TUs
        capability: ESS (0x1411)
        signal: -98.00 dBm
        last seen: 1020 ms ago
        Information elements from Probe Response frame:
        SSID: HUAWEI-B315-712C
................
1 Like

I have the same issue with the RTL8192EU on OpenWRT on the Raspberry Pi.

I'm only trying to connect to a WiFi network, not even create an AP, but even this client connection does not work properly.

My behaviour is when I enable a WiFi client connection on the OpenWRT Wireless page, the UI shows the connection to the external network as intermittent (shows up, disconnects, shows up, disconnects, etc.). This occurs for a while, then the WiFi network simply lands on Wireless is not associated, as is the case in the OP.

Any help is appreciated.

are you using the packages described in Configuring TL-WN822N USB Wifi Adapter - #6 by LorneMalvo

Yes, all those packages are installed (kmod-rtl8xxxu, rtl8192eu-firmware, kmod-usb2).

I have verified that the adapter works using a Windows PC.

Sidenote, can there be clashes between firmware/drivers? I may have installed incorrect packages in my pursuit to solve this problem. Will the correct packages be used for the correct devices, or may incorrect firmware/drivers packages interfere with the correct operation of the adapter?