clnhub / rtl8192eu-linux

Realtek rtl8192eu official Linux driver, versions: 5.2.19.1 (master), 5.6.3.1, 5.6.4 and 5.11.2.1 (default)
443 stars 90 forks source link

Association request to the driver failed #27

Closed AnatoliyAksenov closed 3 years ago

AnatoliyAksenov commented 3 years ago

Hi!

I have installed driver using install_wifi.sh script. But after reboot I still can't connect to the my WiFi network. I see the below message:

wpa_supplicant -c /etc/wpa_supplicant.conf  -i wlx503eaa23e06a 
Successfully initialized wpa_supplicant
wlx503eaa23e06a: Trying to associate with 50:d2:f5:82:84:91 (SSID='ananax' freq=2437 MHz)
wlx503eaa23e06a: Association request to the driver failed
wlx503eaa23e06a: Trying to associate with 50:d2:f5:82:84:91 (SSID='ananax' freq=2437 MHz)
wlx503eaa23e06a: Association request to the driver failed
wlx503eaa23e06a: Trying to associate with 50:d2:f5:82:84:91 (SSID='ananax' freq=2437 MHz)
wlx503eaa23e06a: Association request to the driver failed
wlx503eaa23e06a: Trying to associate with 50:d2:f5:82:84:91 (SSID='ananax' freq=2437 MHz)
wlx503eaa23e06a: Association request to the driver failed

Maybe it additional info can help to solve my issue:

# uname -a
Linux adamant 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

And next:

# iw dev
phy#0
    Interface wlx503eaa23e06a
        ifindex 4
        wdev 0x1
        addr 50:3e:aa:23:e0:6a
        ssid ananax
        type managed
        txpower 12.00 dBm

and next:

#lshw -C network
  *-network:1 DISABLED
       description: Wireless interface
       physical id: 3
       bus info: usb@2:1.1
       logical name: wlx503eaa23e06a
       serial: 50:3e:aa:23:e0:6a
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192eu multicast=yes wireless=unassociated
AnatoliyAksenov commented 3 years ago

The issue was solved by this answer. Just this two lines:

echo "options 8192eu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/8192eu.conf
echo "blacklist rtl8xxxu" | sudo tee /etc/modprobe.d/rtl8xxxu.conf