記錄centos安裝tp-link WN821N驅動

1、首先查詢一下usb驅動的類型
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 046d:c05b Logitech, Inc.
Bus 001 Device 004: ID 413c:2107 Dell Computer Corp.
Bus 001 Device 005: ID 0cf3:7015 Atheros Communications, Inc. TP-Link TL-WN821N v3 802.11n [Atheros AR7010+AR9287]
Bus 002 Device 003: ID 18e3:9106 Fitipower Integrated Technology Inc

2、基於上面的輸出,在http://linuxwireless.org/en/users/Devices/USB 查詢Driver的信息。

3. 安裝必須要的軟件:

$ yum install gcc automake autoconf kernel-headers kernel-devel -y

4. 下載compat-wireless-3.3-1.tar.bz2包,下載地址 http://linuxwireless.org/en/users/Download/stable/.

Since the current server does not have internet connection, I will need to download the driver into my local PC and transfer to the server using USB hard drive. I then copy the package into/root directory in the destination server.

5、減壓並編譯

$ cd /root
$ tar -xjzf compat-wireless-3.3-1.tar.bz2
$ cd compat-wireless-*
$ ./scripts/driver-select ath9k_htc
$ make
$ make install
6、另外我們需要下載相對應的固件

$ cd /lib/firmware
$ wget http://linuxwireless.org/download/htc_fw/1.3/htc_7010.fw
$ init 6
7、restart機器


8、相關官方信息

http://wiki.centos.org/zh/HowTos/Laptops/Wireless#head-eec11ff1fc03aa2832412ee8a7e8168141c81aef

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章