我最近从亚马逊为我的 Ubuntu 服务器购买了一个 USB Wi-fi 适配器。评论说它与 Ubuntu 20.04 兼容,但 Ubuntu 的驱动程序不在随附的驱动程序 CD 上。我想知道在哪里可以找到适配器的正确驱动程序。适配器链接如下。如果有人能帮忙,我将不胜感激。
适配器型号为UGREEN USB WiFi Adapter AC650:亚马逊产品页面。
journalctl
——遵循有趣的路线:
Sep 04 06:07:47 bzoit snapd[754]: starteengine.go:150: state ensure error: persistent network error: Get https://api.snapcraft.io/api/v1/snaps/sections: dial tcp: lookup api.snapcraft.io: Temporary failure in name resuolution
Sep 04 06:08:21 bzoit kernel: usb 1-14: USB disconnect, device number 4
Sep 04 06:08:58 bzoit sudo[1146]: pam_unix(sudo:auth): authentication failure; logname=wilsont uid=1000 euid=0 tty=/dev/tty1 ruser=wilsont rhost= user=wilsont
Sep 04 06:09:31 bzoit kernel: usb 1-14: new high-speed USB device number 5 using xhci_hcd
Sep 04 06:09:31 bzoit kernel: usb 1-14: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
Sep 04 06:09:31 bzoit kernel: usb 1-14: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 04 06:09:31 bzoit kernel: usb 1-14: Product: 802.11ac NIC
Sep 04 06:09:31 bzoit kernel: usb 1-14: Manufacturer: Realtek
Sep 04 06:09:31 bzoit kernel: usb 1-14: SerialNumber: 123456
lsusb
输出
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 1c4f:0026 SiGma Micro Keyboard
Bus 001 Device 004: ID 0bda:c811 Realtek Semiconductor Corp. 802.11ac NIC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb -v output
对于 wifi 适配器(显示终端的屏幕照片):
答案1
根据您发布的 journalctl 结果,您的 USB 无线适配器idVendor=0bda, idProduct=c811
需要rtl8821CU
驱动程序。
您可以从此 GitHub 存储库安装驱动程序:
sudo apt update
sudo apt install build-essential git dkms
git clone https://github.com/brektrou/rtl8821CU.git
cd rtl8821CU
chmod +x dkms-install.sh
sudo ./dkms-install.sh