I have an old MacMini from 2009 running Debian 12 (stable). Its built-in WiFi adapter seems to be quite slow since I get around 5 Mbit/s compared to 50 Mbit/s with a newer laptop (in the same location). I therefor bought a USB WiFi adapter which presents itself as
[21658.544330] usb 1-7: new high-speed USB device number 18 using ehci-pci
[21658.706136] usb 1-7: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[21658.706148] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[21658.706152] usb 1-7: Product: 802.11ac NIC
[21658.706155] usb 1-7: Manufacturer: Realtek
[21658.706158] usb 1-7: SerialNumber: 123456
According to an answer on Ask Ubuntu the driver for this adapter is included in the Linux kernel from version 6.3, however, Debian 12 currently runs version 6.1 so I followed the instructions in the answer to install the driver from GitHub:
https://askubuntu.com/a/1463799
After rebooting the computer the
ip link
command shows that the new WiFi interface is in a dormant state. I tried to bring it up but nothing changes. How do I enable the USB WiFi adapter and disable the build-in WiFi adapter?
$ sudo ip link set wlx00e04c5cc5e9 up
$ ip link
1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s10: mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether d4:9a:20:f8:dc:a8 brd ff:ff:ff:ff:ff:ff
3: wlan0: mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether 90:84:0d:f3:85:7e brd ff:ff:ff:ff:ff:ff
4: wlx00e04c5cc5e9: mtu 1500 qdisc mq state DORMANT mode DORMANT group default qlen 1000
link/ether 7e:09:b0:4f:84:ee brd ff:ff:ff:ff:ff:ff permaddr 00:e0:4c:5c:c5:e9
Asked by August Karlstrom
(1986 rep)
Jul 7, 2025, 02:46 PM
Last activity: Jul 15, 2025, 07:51 PM
Last activity: Jul 15, 2025, 07:51 PM