d-link DWA-171(C) 网卡安装失败 官网有linux 的驱动,但不知道怎么安装 http://www.dlinktw.com.tw/home/product?id=1032&hid=18 zip 解压缩之后里面有一个 tar.gz 档 但不知怎么安装这个档 我的作业系统是 kubuntu 21.10 跟 ubuntu 21.10 因为不会装“tar.gz”网络上找到这个办法 https://forums.linuxmint.com/viewtopic.php?t=334017 ubuntu21.10的环境,试了 sudo apt install build-essential -y mkdir -p ~/build cd ~/build sudo apt install git git clone https://github.com/brektrou/rtl8821CU.git cd rtl8821CU make sudo make install 虽然可以用但… 但kubuntu 21.10 的环境 试上面这个没有用 再试 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 sudo modprobe 8821cu 依然没用 linux 弱鸡 只是不想丢旧电脑才安装的kubuntu 跟ubuntu 请问能教我怎么安装驱动吗 感谢 ============================================================ 第二次求救 使用usb_modeswitch 依然安装失败 看起来是因为有别的装置在使用,因为我同时有插另一张网卡在上网 怎么?拜托高手!! 过程如下 lsusb后得: Bus 001 Device 005: ID 2001:331d D-Link Corp. DWA-171 输入 sudo usb_modeswitch -KW -v 2001 -p 331d 得 Take all parameters from the command line * usb_modeswitch: handle USB devices with multiple modes * Version 2.6.1 (C) Josua Dietze 2017 * Based on libusb1/libusbx ! PLEASE REPORT NEW CONFIGURATIONS ! DefaultVendor= 0x2001 DefaultProduct= 0x331d StandardEject=1 Look for default devices ... found USB ID 3938:1059 found USB ID 046d:c534 found USB ID 8087:0024 found USB ID 1d6b:0002 found USB ID 0bda:0158 found USB ID 2001:331d vendor ID matched product ID matched found USB ID 8087:0024 found USB ID 1d6b:0002 found USB ID 1d6b:0003 found USB ID 0bda:8178 found USB ID 1d6b:0002 Found devices in default mode (1) Access device 005 on bus 001 Get the current device configuration ... Current configuration number is 1 Use interface number 0 with class 255 Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort ================================================================ 求救!还是无法安装啊!第三次失败,试了好几种 第一种: 我先按照这里的说明装 https://github.com/morrownr/8821cu 系统有叫重新启动,但启动后还是不能动 过程如下 sudo apt update sudo apt install -y dkms git mkdir ~/src cd ~/src git clone https://github.com/morrownr/8821cu.git cd ~/src/8821cu sudo ./install-driver.sh sudo reboot 请问 mkdir ~/sr 中的 ~ 有特别意思吗?因为他用红色标 另外[NoPrompt]要打吗 第二种 sudo apt update sudo apt install build-essential git dkms git clone https://github.com/morrownr/8821cu 最后再 sudo ./install-driver.sh 第三种 sudo apt update sudo apt install build-essential git dkms git clone https://github.com/morrownr/8821cu 最后再 sudo ./install-driver.sh