记录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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值