如何在 Debian Wheezy armhf 上安装 TP-Link TL-WN722N USB 无线适配器?

Ray*_*nda 6 wireless-networking debian-wheezy

我插入了一个TP-Link WN722N USB 加密狗:

root@udoo-debian-hfp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.4 (wheezy)
Release:    7.4
Codename:   wheezy

root@udoo-debian-hfp:~# uname -a
Linux udoo-debian-hfp 3.0.35 #1 SMP PREEMPT Mon Mar 3 15:17:07 CET 2014 armv7l GNU/Linux
Run Code Online (Sandbox Code Playgroud)

我使用以下方法识别设备:

root@udoo-debian-hfp:~# 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 002 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 002 Device 096: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 002 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Run Code Online (Sandbox Code Playgroud)

根据wireless.kernel.org供应商 id:0cf3 产品 id:9271 使用 ath9k_htc 驱动程序。据我所知,该驱动程序应该已经随我当前的内核包一起提供了。奇怪的是我在任何地方都找不到它:

root@udoo-debian-hfp:~# lsmod
Module                  Size  Used by
vivante                  943  1 
drm                   141896  2 vivante

root@udoo-debian-hfp:~# modinfo ath9k_htc
ERROR: Module ath9k_htc not found.
Run Code Online (Sandbox Code Playgroud)

我按照 Debian 说明进行了ath9k_htc 安装。这与之前的 lsmod 具有相同的结果。它也没有出现在网络接口列表中。我尝试重新启动设备并拔下 USB 加密狗。

root@udoo-debian-hfp:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

usb0      no wireless extensions.

wlan0     IEEE 802.11bgn  Mode:Master  Frequency:2.437 GHz  Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

mon.wlan0  IEEE 802.11bgn  Mode:Monitor  Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
Run Code Online (Sandbox Code Playgroud)

wlan0 是板载 wifi 模块 Ralink Technology, Corp. RT5370 无线适配器,配置为运行 hostapd。我打算使用加密狗作为另一个网络上的客户端。

此时我可以做些什么来排除安装故障?

小智 5

这是一个很长的镜头,对于一个相当古老的问题,我希望你已经找到了答案......

我做了以下工作来让它在我的系统上工作,还有 Wheezy。

将非免费软件包添加到 /etc/apt/sources.list

apt-get update

apt-get install firmware-atheros

reboot
Run Code Online (Sandbox Code Playgroud)

它出现在 iw 列表中 :)

某人!