1.查看无线网卡芯片型号 是否被支持
@debian:~$ lsusb
Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 002: ID 046d:c315 Logitech, Inc. Classic New Touch Keyboard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 1307:0165 Transcend Information, Inc. 2GB/4GB Flash Drive
Bus 001 Device 004: ID 0cf3:1006 Atheros Communications, Inc. TP-Link TL-WN422G v2 802.11g [Atheros AR9271]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
2.下载
3.解压 tar jxvf compat-wireless-$(date -I).tar.bz2
4.进入解压目录
./scripts/driver-select
5.选择型号安装
./scripts/driver-select ath9k_htc
或者全部
./scripts/driver-select restore
6.build
cd compat-wireless-$(date -I) make
7.install
sudo make install
8.根据提示操作,如果之前有无线网卡驱动,先卸载再重启
第一次安装的话,直接
sudo modprobe ath9k_htc (之前选择的类型)
无线连接成功!