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?