Machine does not accept other Wi-Fi adapter

I installed openSUSE Tumbleweed some time ago, and on the installation I connected it on Wi-Fi in a prompt before the installation starts. Since then, I use the same USB Wi-Fi adapter (Ralink Technology, Corp. MT7601U Wireless Adapter) and it is “linked” to my home Wi-Fi connection, as seen here: https://imgur.com/a/Z8Yh94L

As if they were the same thing. Of course, wlp0s20f0u1 is the device and ADFERAS1 is the name of my Wi-Fi connection. But this specific Wi-Fi network it does not connect unless this device is connected.

Now I want to use another USB Wi-Fi device (TP-Link TL-WN821N v5/v6 [RTL8192EU]), but as already said, it cannot connect with that network unless it’s with the “old” adapter.


> uname -a
Linux localhost.localdomain 5.16.15-1-default #1 SMP PREEMPT Wed Mar 16 23:33:05 UTC 2022 (d8f0e40) x86_64 x86_64 x86_64 GNU/Linux

> lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
Bus 001 Device 004: ID 04d9:fc30 Holtek Semiconductor, Inc. Gaming Mouse [Redragon M711] 
Bus 001 Device 003: ID 258a:002a SINO WEALTH Gaming KB 
Bus 001 Device 010: ID 2357:0107 TP-Link TL-WN821N v5/v6 [RTL8192EU] 
Bus 001 Device 009: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter 
Bus 001 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


Both USBs here are connected, but just for showing purposes.


> /sbin/lspci -nnk | grep -iA3 net
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (7) I219-V [8086:15bc] (rev 10)
    DeviceName: Onboard - Ethernet
    Subsystem: ASUSTeK Computer Inc. Device [1043:8672]
    Kernel driver in use: e1000e
    Kernel modules: e1000e


> /usr/sbin/hwinfo --netcard 

19: PCI 1f.6: 0200 Ethernet controller   [Created at pci.386]   Unique ID: wcdH.mcH707zJa0F   SysFS ID: /devices/pci0000:00/0000:00:1f.6   SysFS BusID: 0000:00:1f.6   Hardware Class: network   Device Name: "Onboard - Ethernet"   Model: "Intel Ethernet Connection (7) I219-V"   Vendor: pci 0x8086 "Intel Corporation"   Device: pci 0x15bc "Ethernet Connection (7) I219-V"   SubVendor: pci 0x1043 "ASUSTeK Computer Inc."   SubDevice: pci 0x8672   Revision: 0x10   Driver: "e1000e"   Driver Modules: "e1000e"   Device File: eno1   Memory Range: 0xa4200000-0xa421ffff (rw,non-prefetchable)   IRQ: 127 (1656 events)   HW Address: 3c:7c:3f:78:5a:2d   Permanent HW Address: 3c:7c:3f:78:5a:2d   Link detected: no   Module Alias: "pci:v00008086d000015BCsv00001043sd00008672bc02sc00i00"   Driver Info #0:     Driver Status: e1000e is active     Driver Activation Cmd: "modprobe e1000e"   Config Status: cfg=no, avail=yes, need=no, active=unknown  24: USB 00.0: 0282 WLAN controller   [Created at usb.122]   Unique ID: Opph.HBCnGJKMwR8   Parent ID: k4bc.2DFUsyrieMD   SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0   SysFS BusID: 1-14:1.0   Hardware Class: network   Model: "TP-Link TL-WN821N v5/v6 [RTL8192EU]"   Hotplug: USB   Vendor: usb 0x2357 "TP-Link"   Device: usb 0x0107 "TL-WN821N v5/v6 [RTL8192EU]"   Revision: "2.00"   Serial ID: "00e04c000001"   Driver: "rtl8xxxu"   Driver Modules: "rtl8xxxu"   Device File: wlp0s20f0u14   Features: WLAN   Speed: 480 Mbps   HW Address: 5e:31:ae:82:df:7f   Permanent HW Address: b4:b0:24:d3:af:56   Link detected: no   WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 14   WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 2.484   WLAN encryption modes: WEP40 WEP104 TKIP CCMP   WLAN authentication modes: open sharedkey wpa-psk wpa-eap   Module Alias: "usb:v2357p0107d0200dc00dsc00dp00icFFiscFFipFFin00"   Driver Info #0:     Driver Status: rtl8xxxu is active     Driver Activation Cmd: "modprobe rtl8xxxu"   Config Status: cfg=new, avail=yes, need=no, active=unknown   Attached to: #29 (Hub)  31: USB 00.0: 0282 WLAN controller   [Created at usb.122]   Unique ID: ADDn.pN+A6IzbQa4   Parent ID: k4bc.2DFUsyrieMD   SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0   SysFS BusID: 1-1:1.0   Hardware Class: network   Model: "Ralink MT7601U Wireless Adapter"   Hotplug: USB   Vendor: usb 0x148f "Ralink Technology, Corp."   Device: usb 0x7601 "MT7601U Wireless Adapter"   Serial ID: "1.0"   Driver: "mt7601u"   Driver Modules: "mt7601u"   Device File: wlp0s20f0u1   Features: WLAN   Speed: 480 Mbps   HW Address: 20:e5:17:0d:52:97   Permanent HW Address: 20:e5:17:0d:52:97   Link detected: yes   WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 14   WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 2.484   WLAN encryption modes: WEP40 WEP104 TKIP CCMP   WLAN authentication modes: open sharedkey wpa-psk wpa-eap   Module Alias: "usb:v148Fp7601d0000dc00dsc00dp00icFFiscFFipFFin00"   Driver Info #0:     Driver Status: mt7601u is active     Driver Activation Cmd: "modprobe mt7601u"   Config Status: cfg=no, avail=yes, need=no, active=unknown   Attached to: #29 (Hub)

How to “unbind” the device and the network?

Show output of

nmcli dev | cat

And please, pay attention when you paste something - your previous post contains completely unreadable command output without like breaks. Next time use preview button to check your post before submitting.


> nmcli dev | cat

DEVICE           TYPE      STATE                   CONNECTION
wlp0s20f0u1      wifi      conectado               ADFERAS1
br-53ef34fee5e3  bridge    connected (externally)  br-53ef34fee5e3
docker0          bridge    connected (externally)  docker0
eno1             ethernet  não disponível          --
lo               loopback  não gerenciável         --


Sorry. I don’t know why the command came without line break.


>hwinfo --netcard
19: PCI 1f.6: 0200 Ethernet controller   
[Created at pci.386]   
Unique ID: wcdH.mcH707zJa0F   
SysFS ID: /devices/pci0000:00/0000:00:1f.6 
  SysFS BusID: 0000:00:1f.6   
Hardware Class: network   
Device Name: "Onboard - Ethernet"   
Model: "Intel Ethernet Connection (7) I219-V" 
  Vendor: pci 0x8086 "Intel Corporation" 
  Device: pci 0x15bc "Ethernet Connection (7) I219-V"   
SubVendor: pci 0x1043 "ASUSTeK Computer Inc."   
SubDevice: pci 0x8672 
  Revision: 0x10 
  Driver: "e1000e" 
  Driver Modules: "e1000e" 
  Device File: eno1 
  Memory Range: 0xa4200000-0xa421ffff (rw,non-prefetchable) 
  IRQ: 127 (4015 events)   
HW Address: 3c:7c:3f:78:5a:2d   
Permanent HW Address: 3c:7c:3f:78:5a:2d   
Link detected: no   
Module Alias: "pci:v00008086d000015BCsv00001043sd00008672bc02sc00i00"   
Driver Info #0:     
   Driver Status: e1000e is active     
   Driver Activation Cmd: "modprobe e1000e" 
  Config Status: cfg=no, avail=yes, need=no, active=unknow

I’m using USB:


> hwinfo --netcard
30: USB 00.0: 0282 WLAN controller   
[Created at usb.122] 
  Unique ID: ADDn.pN+A6IzbQa4   
Parent ID: k4bc.2DFUsyrieMD   
SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0 
  SysFS BusID: 1-1:1.0 
Hardware Class: network   
Model: "Ralink MT7601U Wireless Adapter"   
Hotplug: USB   
Vendor: usb 0x148f "Ralink Technology, Corp."   
Device: usb 0x7601 "MT7601U Wireless Adapter"   
Serial ID: "1.0"   
Driver: "mt7601u"   
Driver Modules: "mt7601u"   
Device File: wlp0s20f0u1 
  Features: WLAN   Speed: 480 Mbps   
HW Address: 20:e5:17:0d:52:97   
Permanent HW Address: 20:e5:17:0d:52:97   
Link detected: yes   
WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 14   
WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 2.484   
WLAN encryption modes: WEP40 WEP104 TKIP CCMP   
WLAN authentication modes: open sharedkey wpa-psk wpa-eap 
  Module Alias: "usb:v148Fp7601d0000dc00dsc00dp00icFFiscFFipFFin00"   
Driver Info #0: 
  Driver Status: mt7601u is active 
  Driver Activation Cmd: "modprobe mt7601u" 
  Config Status: cfg=no, avail=yes, need=no, active=unknown   
Attached to: #28 (Hub)

Well, system only recognized one USB adapter. Is it with both adapters plugged in? Post full output of dmesg (upload to https://susepaste.org)

Sorry again. I took off the other adapter. Output with both adapters (the newest is below, wlp0s20f0u9):


> nmcli dev | cat

DEVICE           TYPE      STATE                      CONNECTION
wlp0s20f0u1      wifi      conectado                  ADFERAS1
br-53ef34fee5e3  bridge    connected (externally)     br-53ef34fee5e3
docker0          bridge    connected (externally)     docker0
wlp0s20f0u9      wifi      conectando (configurando)  ADFERAS1
eno1             ethernet  não disponível             --
lo               loopback  não gerenciável            --

**Dmesg output: **SUSE Paste

OK, so please show full output of

LANG=C nmcli connection show ADFERAS1 | cat

There it is: SUSE Paste

You have two different connection profiles for the same AP for different interfaces. According to dmesg output, authentication using the second interface fails. Is it possible that you have some restrictions on AP side? Please show full output of

LANG=C journalctl -b

Output: SUSE Paste

Did you run t as root? Because there are no normal boot messages.

Please, unplug both USB adapters, reboot, plug in the “non-working” one and provide output of journalctl as root, as well as output of "LANG=C nmcli dev "

Yes, I ran it as root.

Doing as you asked, output of LANG=C sudo journalctl -b: SUSE Paste


> LANG=C nmcli dev

DEVICE           TYPE      STATE                     CONNECTION
br-53ef34fee5e3  bridge    connected (externally)    br-53ef34fee5e3
docker0          bridge    connected (externally)    docker0
wlp0s20f0u1      wifi      connecting (configuring)  ADFERAS1
eno1             ethernet  unavailable               --
lo               loopback  unmanaged  

This looks like kernel driver issue.

Aug 07 10:45:02 localhost.localdomain kernel: usb 1-1: This Realtek USB WiFi dongle (0x2357:0x0107) is untested!
Aug 07 10:45:02 localhost.localdomain kernel: usb 1-1: Please report results to Jes.Sorensen@gmail.com
...
Aug 07 10:45:06 localhost.localdomain kernel: wlp0s20f0u1: authenticate with fc:bc:d1:c0:bb:c8
Aug 07 10:45:06 localhost.localdomain kernel: wlp0s20f0u1: send auth to fc:bc:d1:c0:bb:c8 (try 1/3)
Aug 07 10:45:06 localhost.localdomain kernel: wlp0s20f0u1: send auth to fc:bc:d1:c0:bb:c8 (try 2/3)
Aug 07 10:45:06 localhost.localdomain kernel: wlp0s20f0u1: send auth to fc:bc:d1:c0:bb:c8 (try 3/3)
Aug 07 10:45:06 localhost.localdomain kernel: wlp0s20f0u1: authentication with fc:bc:d1:c0:bb:c8 timed out

From NetworkManager side everything looks correct.

You may try alternative driver from @sauerland repository:

zypper addrepo https://download.opensuse.org/repositories/home:Sauerland:hardware/openSUSE_Tumbleweed/home:Sauerland:hardware.repo
zypper refresh
zypper install rtl8192eu

There is no package rtl8192eu, so please:

zypper in rtl8192eu-kmp-default

I made the installation, rebooted, but now, the OS doesn’t recognizes the USB stick anymore. Before, it recognized and established Wi-Fi connection, but did not connect with a certain network. Curious

Post as root with Stick:

joutnalctl -b | grep -Ei 'rtl81|firm|rtl8x'

Is secure boot enabled?
Have you rebooted your PC?

Yes for both. Secure boot is enabled and I’ve rebooted.

Output:


Aug 08 06:57:35 localhost kernel: Spectre V2 : Enabling Restricted Speculation for firmware calls 
Aug 08 09:57:37 localhost systemd[1]: Store a System Token in an EFI Variable was skipped because of a failed condition check (ConditionPathExists=/sys/firmware/efi/efivars/LoaderFeatures-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f). 
Aug 08 09:57:39 localhost NetworkManager[778]:   [1659963459.0792] manager[0x564c783fd040]: monitoring kernel firmware directory '/lib/firmware'. 
Aug 08 09:57:46 localhost.localdomain systemd[1]: Startup finished in 12.007s (firmware) + 3.205s (loader) + 806ms (kernel) + 1.724s (initrd) + 10.133s (userspace) = 27.878s.

Did you see MokManager screen after reboot? Did you agree to enroll certificate used to sign additional module?

Show full “LANG=C journalctl -b” output as root.

No, MokManager didn’t show up.

Journactl output as root: SUSE Paste

OK, so are packages installed?

zypper se -s rtl8192eu

?
Is module loaded?

lsmod | grep 8192

What happens when you load module manually?

modprobe 8192eu
dmesg | tail -20

I installed the package rtl8192eu-kmp-default, as said by Sauerland. Img: Imgur: The magic of the Internet

lsmod | grep 8192 does not output anything.


> sudo modprobe 8192eu 
modprobe: FATAL: Module 8192eu not found in directory /lib/modules/5.16.15-1-default


> dmesg | tail -20

   41.977594] mt7601u 1-1:1.0: ASIC revision: 76010001 MAC revision: 76010500 
   41.987066] mt7601u 1-1:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____ 
   42.396619] mt7601u 1-1:1.0: EEPROM ver:0d fae:00 
   42.606232] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' 
   42.608186] usbcore: registered new interface driver mt7601u 
   42.616139] mt7601u 1-1:1.0 wlp0s20f0u1: renamed from wlan0 
   42.807780] NET: Registered PF_PACKET protocol family 
   44.138201] wlp0s20f0u1: authenticate with fc:bc:d1:c0:bb:c8 
   44.154195] wlp0s20f0u1: send auth to fc:bc:d1:c0:bb:c8 (try 1/3) 
   44.155688] wlp0s20f0u1: authenticated 
   44.158272] wlp0s20f0u1: associate with fc:bc:d1:c0:bb:c8 (try 1/3) 
   44.163499] wlp0s20f0u1: RX AssocResp from fc:bc:d1:c0:bb:c8 (capab=0x1431 status=0 aid=39) 
   44.194465] wlp0s20f0u1: associated 
   44.319537] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f0u1: link becomes ready 
 7384.570585] usb 1-9: new high-speed USB device number 6 using xhci_hcd 
 7384.719164] usb 1-9: New USB device found, idVendor=2357, idProduct=0107, bcdDevice= 2.00 
 7384.719177] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3 
 7384.719183] usb 1-9: Product: 802.11n NIC 
 7384.719187] usb 1-9: Manufacturer: Realtek 
 7384.719190] usb 1-9: SerialNumber: 00e04c000001