1.查看無線網卡芯片型號 是否被支持
www.linuxidc.com @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.下載 http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2
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 (之前選擇的類型)
無線連接成功!