下面是安装过程:01?root@bt:~#?lsusb02?bus 001 device 003: id 0cf3:9271 atheros communications, inc. ar9271 802.11n03?bus 001 device 001: id 1d6b:0002 linux foundation 2.0 root hub04?bus 002 device 001: id 1d6b:0001 linux foundation 1.1 root hub05?root@bt:~#?mkdir ar927106?root@bt:~#?cd?ar9271/07?root@bt:~/ar9271#?git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git08?root@bt:~/ar9271#?cp ./linux-firmware/ar9271.fw /lib/firmware09?root@bt:~/ar9271#?wget?http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz210?root@bt:~/ar9271#?tar -jxvf compat-wireless-2.6.tar.bz211?root@bt:~/ar9271#?cd?compat-wireless-2010-10-04/12?root@bt:~/ar9271/compat-wireless-2010-10-04#?./scripts/driver-select ath9k_htc13?processing new driver-select request…14?backing up makefile: makefile.bk15?backup exists: makefile.bk16?backup exists: makefile.bk17?backing up makefile: drivers/net/wireless/makefile.bk18?backing up makefile: drivers/net/wireless/ath/makefile.bk19?backing up makefile: net/wireless/makefile.bk20?backing up makefile: drivers/net/makefile.bk21?backing up makefile: drivers/ssb/makefile.bk22?backing up makefile: drivers/misc/eeprom/makefile.bk23?root@bt:~/ar9271/compat-wireless-2010-10-04#?make24?root@bt:~/ar9271/compat-wireless-2010-10-04#?make install25?root@bt:~/ar9271/compat-wireless-2010-10-04#?cd?~/ar9271/26?root@bt:~/ar9271#?reboot重启后,用?iwconfig??就能看到?wlan0?了。
值得一提的问题:如果重启后看不到 wlan0 ,用?dmesg | grep -e ath -e wlan?看下是不是有错误。usb 1-1: ath9k_htc: firmware - ar9271.fw not found(我的opensuse显示的是htc_9271.fw not found,那就在下面的网址中找htc_9271.fw即可)如果是这个not found错误,那说明你没有把 ar9271.fw 拷贝到 /lib/firmware 下面。ar9271.fw(或htc_9271.fw) 的来源,可以直接到?下载,不过只能通过raw?下载,否则下载的文件大小都是0字节的。用 raw 连接下载需要更改文件名。