Created attachment 258097 [details] Journal after loading stock driver Using the default stock driver, my TP-LINK TL-WN823N V2 USB Wi-Fi adapter fails to authenticate with my access point. My network is very standard and uses WPA-PSK. Log attached. By using a modified driver from Realtek [1], I'm able to connect to the internet just fine. I've tested the stock driver on 4.12.7 too, and the problem remains the same. Another minor thing I've noticed is NetworkManager shows all the access points as having the lowest signal strength, but when using the Realtek driver they are as expected. I've previously had issues with an earlier model of the adapter, which had the rtl8192cu chip. [1] https://github.com/Mange/rtl8192eu-linux-driver
usb 2-5: This Realtek USB WiFi dongle (0x2c4e: 0x0100) is untested! usb 2-5: Please report results to Jes.Sorensen@gmail.com usb 2-5: Vendor: Realtek usb 2-5: Product: 802.11n NI usb 2-5: Serial: usb 2-5: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes): usb 2-5: 00: 29 81 00 7c 01 40 03 00 usb 2-5: 08: 40 74 04 50 14 00 00 00 usb 2-5: 10: 23 23 24 25 25 25 25 25 25 usb 2-5: 18: 25 26 26 10 ef ef ff ff usb 2-5: 20: ff ff ff ff ff ff ff ff usb 2-5: 28: ff ff ff ff ff ff ff ff usb 2-5: 30: ff ff ff ff ff ff ff ff usb 2-5: 38: ff ff 26 26 25 25 25 25 usb 2-5: 40: 26 26 25 25 25 10 ef ef usb 2-5: 48: ff ff ff ff ff ff ff ff usb 2-5: 50: ff ff ff ff ff ff ff ff usb 2-5: 58: ff ff ff ff ff ff ff ff usb 2-5: 60: ff ff ff ff ff ff ff ff usb 2-5: 68: ff ff ff ff ff ff ff ff usb 2-5: 70: ff ff ff ff ff ff ff ff usb 2-5: 78: ff ff ff ff ff ff ff ff usb 2-5: 80: ff ff ff ff ff ff ff ff usb 2-5: 88: ff ff ff ff ff ff ff ff usb 2-5: 90: ff ff ff ff ff ff ff ff usb 2-5: 98: ff ff ff ff ff ff ff ff usb 2-5: a0: ff ff ff ff ff ff ff ff usb 2-5: a8: ff ff ff ff ff ff ff ff usb 2-5: b0: ff ff ff ff ff ff ff ff usb 2-5: b8: 20 1f 1d 00 00 00 ff ff usb 2-5: c0: ff 01 00 10 00 00 00 ff usb 2-5: c8: 00 00 ff ff ff ff ff ff usb 2-5: d0: 4e 2c 00 01 e7 47 02 c8 usb 2-5: d8: e7 d8 a6 d9 b5 0a 03 52 usb 2-5: e0: 65 61 6c 74 65 6b 20 0e usb 2-5: e8: 03 38 30 32 2e 31 31 6e usb 2-5: f0: 20 4e 49 43 20 00 00 ff usb 2-5: f8: ff ff ff ff ff ff ff ff usb 2-5: 100: ff ff ff ff ff ff ff ff usb 2-5: 108: ff ff ff ff ff ff ff ff usb 2-5: 110: ff ff ff ff ff ff ff 0d usb 2-5: 118: 03 00 05 00 30 00 00 00 usb 2-5: 120: 00 93 ff ff ff ff ff ff usb 2-5: 128: ff ff ff ff ff ff ff ff usb 2-5: 130: f6 a8 98 2d 03 92 98 00 usb 2-5: 138: fc 8c 00 11 9b 44 02 0a usb 2-5: 140: ff ff ff ff ff ff ff ff usb 2-5: 148: ff ff ff ff ff ff ff ff usb 2-5: 150: ff ff ff ff ff ff ff ff usb 2-5: 158: ff ff ff ff ff ff ff ff usb 2-5: 160: ff ff ff ff ff ff ff ff usb 2-5: 168: ff ff ff ff ff ff ff ff usb 2-5: 170: ff ff ff ff ff ff ff ff usb 2-5: 178: ff ff ff ff ff ff ff ff usb 2-5: 180: ff ff ff ff ff ff ff ff usb 2-5: 188: ff ff ff ff ff ff ff ff usb 2-5: 190: ff ff ff ff ff ff ff ff usb 2-5: 198: ff ff ff ff ff ff ff ff usb 2-5: 1a0: ff ff ff ff ff ff ff ff usb 2-5: 1a8: ff ff ff ff ff ff ff ff usb 2-5: 1b0: ff ff ff ff ff ff ff ff usb 2-5: 1b8: ff ff ff ff ff ff ff ff usb 2-5: 1c0: ff ff ff ff ff ff ff ff usb 2-5: 1c8: ff ff ff ff ff ff ff ff usb 2-5: 1d0: ff ff ff ff ff ff ff ff usb 2-5: 1d8: ff ff ff ff ff ff ff ff usb 2-5: 1e0: ff ff ff ff ff ff ff ff usb 2-5: 1e8: ff ff ff ff ff ff ff ff usb 2-5: 1f0: ff ff ff ff ff ff ff ff usb 2-5: 1f8: ff ff ff ff ff ff ff ff usb 2-5: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi = 1, BT = 0, GPS = 0, HI PA = 0 usb 2-5: RTL8192EU MAC: c8: e7: d8: a6: d9: b5 usb 2-5: rtl8xxxu: Loading firmware rtlwifi / rtl8192eu_nic.bin usb 2-5: firmware revision 19.0 (signature 0x92e1) usb 2-5: rtl8192eu_rx_iqk_path_b: Path B RX IQK failed! usb 2-5: rtl8192eu_rx_iqk_path_b: Path B RX IQK failed! usbcore: rtl8xxxu registered new interface driver RTL871X: module init start RTL871X: rtl8192eu v4.4.1_17696.20160509_BTCOEX20160412-0042 RTL871X: build time: Mar 23 2019 17:32:03 RTL871X: rtl8192eu BT-Coex version = BTCOEX20160412-0042 usbcore: registered new interface driver rtl8192eu RTL871X: module init ret ret = 0 wlan0: authenticate with 00: 18: e7: be: 6b: de wlan0: send auth to 00: 18: e7: be: 6b: de (try 1/3) wlan0: send auth to 00: 18: e7: be: 6b: de (try 2/3) wlan0: send auth to 00: 18: e7: be: 6b: de (try 3/3) wlan0: authentication with 00: 18: e7: be: 6b: de timed out
Sorry, pasted dmesg output in the wrong place :( I confirm the same problem with the Mercusys MW300UM adapter, kernel 5.3.11. The adapter sees access points, but when trying to connect, dmesg shows wlan0: authentication with 00: 18: e7: be: 6b: de timed out but with the third-party module from the link above - everything works fine.
Here another user with same issue like @Aleksandr Same problem with ID 2357:0107 TP-Link TL-WN821N Version 5 RTL8192EU. I run on 4.19.97-gentoo kernel.
In my case it is "solved" by disconnecting and connecting the USB dongle and restarting NetworkManager. In my case it happens usually when rebooting with the dongle connected all the time My device is Bus 001 Device 008: ID 2357:0109 TP-Link TL WN823N RTL8192EU Running kernel 5.6.13
Can y'all test these patches? This probably fixes the authentication failures: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/drivers/net/wireless/realtek/rtl8xxxu?id=edd5747aa12ed61a5ecbfa58d3908623fddbf1e8 This may fix the "Path B RX IQK failed!" messages: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/drivers/net/wireless/realtek/rtl8xxxu?id=e963a19c64ac0d2f8785d36a27391abd91ac77aa I think they will be in kernel 6.1.
Please check if this patch: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git/commit/?id=c6015bf3ff1ffb3caa27eb913797438a0fc634a0 fixes your problem. Jun ASAKA.