Wifi USB adapter - TP-Link TL WN823N RTL8192EU

Issues related to hardware problems
Post Reply
sj507
Posts: 3
Joined: 2020/01/13 03:25:35

Wifi USB adapter - TP-Link TL WN823N RTL8192EU

Post by sj507 » 2020/01/13 03:38:11

Hi,

I have enabled hotspot on my mobile device (Moto G), but the wifi connection fails on the CentOS 8 when connecting using the Network Manager GUI.
The pop up message on top of the screen.

"Connection Failed.
Activation of network connection failed."

More information

uname -a

Linux localhost.localdomain 4.18.0-80.el8.x86_64 #1 SMP Tue Jun 4 09:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

------------------------------------------------------------------------------------------------

dmesg -w

.
.
[ 65.469372] usb 5-4: new high-speed USB device number 4 using xhci_hcd
[ 65.595770] usb 5-4: New USB device found, idVendor=2357, idProduct=0109, bcdDevice= 2.00
[ 65.595772] usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 65.595774] usb 5-4: Product: 802.11n NIC
[ 65.595775] usb 5-4: Manufacturer: Realtek
[ 65.595776] usb 5-4: SerialNumber: 00e04c000001
[ 65.643089] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 65.643506] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 65.643562] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 65.643563] cfg80211: failed to load regulatory.db
[ 65.747878] usb 5-4: Vendor: Realtek
[ 65.747879] usb 5-4: Product: 802.11n NI
[ 65.747880] usb 5-4: Serial:
[ 65.747881] usb 5-4: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
[ 65.747883] usb 5-4: 00: 29 81 00 7c 01 40 03 00
.
.
[ 65.747928] usb 5-4: 1f8: ff ff ff ff ff ff ff ff
[ 65.747929] usb 5-4: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
[ 65.747931] usb 5-4: RTL8192EU MAC: 18:d6:c7:1a:ba:7d
[ 65.747931] usb 5-4: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[ 65.748603] usb 5-4: Firmware revision 19.0 (signature 0x92e1)
[ 66.840479] usbcore: registered new interface driver rtl8xxxu
[ 66.848124] rtl8xxxu 5-4:1.0 wlp9s0f3u4: renamed from wlan0
[ 66.868763] IPv6: ADDRCONF(NETDEV_UP): wlp9s0f3u4: link is not ready
[ 66.914501] IPv6: ADDRCONF(NETDEV_UP): wlp9s0f3u4: link is not ready
[ 66.965207] IPv6: ADDRCONF(NETDEV_UP): wlp9s0f3u4: link is not ready
[ 66.981764] IPv6: ADDRCONF(NETDEV_UP): wlp9s0f3u4: link is not ready

------------------------------------------------------------------------------------------------

rfkill

ID TYPE DEVICE SOFT HARD
0 wlan phy0 unblocked unblocked

------------------------------------------------------------------------------------------------

lsusb

Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 004: ID 2357:0109 TP-Link TL WN823N RTL8192EU
Bus 005 Device 003: ID 046d:c07e Logitech, Inc. G402 Gaming Mouse
Bus 005 Device 002: ID 046d:c33a Logitech, Inc.
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

------------------------------------------------------------------------------------------------

nmcli con show

NAME UUID TYPE DEVICE
virbr0 3aaf7a5a-b54e-46ea-a06d-845a0e653554 bridge virbr0
enp6s0 59766213-0226-4db9-9443-705f5450e808 ethernet --
Moto G (4) 6723 2033a35b-843c-49c6-8d2a-d8b1526df03d wifi --

------------------------------------------------------------------------------------------------

nmcli dev show

GENERAL.DEVICE: virbr0
GENERAL.TYPE: bridge
GENERAL.HWADDR: 52:54:00:22:9B:D7
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: virbr0
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
IP4.ADDRESS[1]: 192.168.122.1/24
IP4.GATEWAY: --
IP4.ROUTE[1]: dst = 192.168.122.0/24, nh = 0.0.0.0, mt = 0
IP6.GATEWAY: --

GENERAL.DEVICE: wlp9s0f3u4
GENERAL.TYPE: wifi
GENERAL.HWADDR: CA:23:42:9B:33:50
GENERAL.MTU: 1500
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --

GENERAL.DEVICE: enp6s0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: 4C:ED:FB:7A:0B:43
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
WIRED-PROPERTIES.CARRIER: off

GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: --
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = ::1/128, nh = ::, mt = 256

GENERAL.DEVICE: virbr0-nic
GENERAL.TYPE: tun
GENERAL.HWADDR: 52:54:00:22:9B:D7
GENERAL.MTU: 1500
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --

------------------------------------------------------------------------------------------------

nmcli device status

DEVICE TYPE STATE CONNECTION
virbr0 bridge connected virbr0
wlp9s0f3u4 wifi disconnected --
enp6s0 ethernet unavailable --
lo loopback unmanaged --
virbr0-nic tun unmanaged --

------------------------------------------------------------------------------------------------

nmcli dev wifi list

IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
Moto G (4) 6723 Infra 1 65 Mbit/s 100 ▂▄▆█ WPA2


------------------------------------------------------------------------------------------------

nmcli general status

STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
connected (local only) limited enabled enabled enabled enabled

------------------------------------------------------------------------------------------------

lshw -C network

.
.
*-network:0
description: Ethernet interface
physical id: 1
bus info: usb@5:4
logical name: wlp9s0f3u4
serial: be:a7:af:ee:87:f4
capabilities: ethernet physical
configuration: broadcast=yes driver=rtl8xxxu driverversion=4.18.0-80.el8.x86_64 firmware=N/A link=no multicast=yes
.
.
.

------------------------------------------------------------------------------------------------

cat /var/log/messages | grep -i Network


Jan 13 08:27:44 localhost NetworkManager[1187]: <info> [1578884264.5871] wifi-nl80211: (wlan0): using nl80211 for WiFi device control
Jan 13 08:27:44 localhost NetworkManager[1187]: <info> [1578884264.5882] manager: (wlan0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/5)
Jan 13 08:27:44 localhost NetworkManager[1187]: <info> [1578884264.5913] rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:07.1/0000:09:00.3/usb5/5-4/5-4:1.0/ieee80211/phy0/rfkill0) (driver rtl8xxxu)
Jan 13 08:27:44 localhost NetworkManager[1187]: <info> [1578884264.5924] supplicant: wpa_supplicant running
Jan 13 08:27:44 localhost NetworkManager[1187]: <info> [1578884264.6063] device (wlan0): interface index 5 renamed iface from 'wlan0' to 'wlp9s0f3u4'
Jan 13 08:27:44 localhost NetworkManager[1187]: <info> [1578884264.6141] device (wlp9s0f3u4): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Jan 13 08:27:44 localhost NetworkManager[1187]: <info> [1578884264.6654] device (wlp9s0f3u4): set-hw-addr: set MAC address to BA:0A:82:97:BA:F0 (scanning)
Jan 13 08:27:44 localhost NetworkManager[1187]: <info> [1578884264.7269] sup-iface[0x55692ac7cad0,wlp9s0f3u4]: supports 4 scan SSIDs
Jan 13 08:27:44 localhost NetworkManager[1187]: <info> [1578884264.7274] device (wlp9s0f3u4): supplicant interface state: starting -> ready
Jan 13 08:27:44 localhost NetworkManager[1187]: <info> [1578884264.7274] device (wlp9s0f3u4): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Jan 13 08:33:28 localhost NetworkManager[1187]: <info> [1578884608.8115] device (wlp9s0f3u4): set-hw-addr: set MAC address to CA:23:42:9B:33:50 (scanning)
Jan 13 08:33:28 localhost NetworkManager[1187]: <info> [1578884608.8201] device (wlp9s0f3u4): supplicant interface state: ready -> disabled
Jan 13 08:33:28 localhost NetworkManager[1187]: <info> [1578884608.8365] device (wlp9s0f3u4): supplicant interface state: disabled -> inactive
Jan 13 08:38:43 localhost NetworkManager[1187]: <info> [1578884923.7973] device (wlp9s0f3u4): set-hw-addr: set MAC address to BE:A7:AF:EE:87:F4 (scanning)
Jan 13 08:38:43 localhost NetworkManager[1187]: <info> [1578884923.8435] device (wlp9s0f3u4): supplicant interface state: inactive -> disabled
Jan 13 08:38:43 localhost NetworkManager[1187]: <info> [1578884923.8625] device (wlp9s0f3u4): supplicant interface state: disabled -> inactive
Jan 13 08:43:50 localhost NetworkManager[1187]: <info> [1578885230.8112] device (wlp9s0f3u4): set-hw-addr: set MAC address to 06:47:94:2D:74:C8 (scanning)
Jan 13 08:43:50 localhost NetworkManager[1187]: <info> [1578885230.8198] device (wlp9s0f3u4): supplicant interface state: inactive -> disabled
Jan 13 08:43:50 localhost NetworkManager[1187]: <info> [1578885230.8357] device (wlp9s0f3u4): supplicant interface state: disabled -> inactive

Any help to get the connection sorted.

Thanks

BShT
Posts: 276
Joined: 2019/10/09 12:31:40

Re: Wifi USB adapter - TP-Link TL WN823N RTL8192EU

Post by BShT » 2020/01/13 17:12:05

can you connect this computer to another wifi router? and can another computer connect to your moto?

sj507
Posts: 3
Joined: 2020/01/13 03:25:35

Re: Wifi USB adapter - TP-Link TL WN823N RTL8192EU

Post by sj507 » 2020/01/13 17:19:38

can you connect this computer to another wifi router?

Will try that.

and can another computer connect to your moto?

Yes. Works on Windows 10.

sj507
Posts: 3
Joined: 2020/01/13 03:25:35

Re: Wifi USB adapter - TP-Link TL WN823N RTL8192EU

Post by sj507 » 2020/01/14 03:45:30

As suggested connecting to another phone hotspot fails with the same result.

Failure connecting after 3 attempts.

Thankfully USB tethering works.

Post Reply

Return to “CentOS 8 - Hardware Support”