tl-wn422g+ USB无线网卡的使用
现在有了一个tp-link tl-wn422g+ USB无线网卡。按照网上的说法,内核里有zd1211rw这个模块,并且装上zd1211-firmware之后就可以用了。
本座用的3.4.45内核,看config记录文件里,CONFIG_ZD1211RW=m.
另外装了zd1211-firmware这个包。
重启之后,iwconfig还是找不到这个无线网卡。
lsusb得到的是:
Bus 004 Device 002: ID 093a:2510 Pixart Imaging, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0cf3:1006 Atheros Communications, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
应该是Atheros那个。
现在该怎么搞? 原帖由 hxcan 于 2013-7-6 07:50 发表 http://forum.linuxfans.org/images/common/back.gif
现在有了一个tp-link tl-wn422g+ USB无线网卡。
按照网上的说法,内核里有zd1211rw这个模块,并且装上zd1211-firmware之后就可以用了。
本座用的3.4.45内核,看config记录文件里,CONFIG_ZD1211RW=m.
另外装了zd1211-firmwar ...
zd1211-firmware 这个包在2.6.3 的最近版本中早有包含,内核版本应该是 3.4.47,但不知道是否适用。 原帖由 haulm 于 2013-7-8 07:52 发表 http://forum.linuxfans.org/images/common/back.gif
zd1211-firmware 这个包在2.6.3 的最近版本中早有包含,内核版本应该是 3.4.47,但不知道是否适用。
升级到了kernel3.4.47.固件是之前从仓库里装的。
用户空间的工具好像还是没有发现这个无线网卡。wicd设置界面里无线网卡那里是空的。
以下是各个命令的输出结果:
bash-4.2# lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0cf3:1006 Atheros Communications, Inc.
Bus 002 Device 002: ID 12d1:1038 Huawei Technologies Co., Ltd.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 093a:2510 Pixart Imaging, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
bash-4.2# lsmod
Module SizeUsed by
ath9k_htc 490790
mac80211 1835921 ath9k_htc
ath9k_common 15011 ath9k_htc
ath9k_hw 3242542 ath9k_htc,ath9k_common
ath 121183 ath9k_htc,ath9k_common,ath9k_hw
cfg80211 1433803 ath9k_htc,mac80211,ath
rfkill 119531 cfg80211
nvidia 846227128
sunrpc 1442660
ipv6 23700970
fuse 587029
video 96400
sbs 86290
sbshc 27051 sbs
pci_slot 26150
acpi_pad 37800
uinput 57930
crc32c_intel 13520
wmi 69960
r8169 413530
k10temp 21000
i2c_piix4 71090
fam15h_power 20900
rtc_cmos 75650
mac_hid 24900
microcode 91140
ohci_hcd 338500
ssb 410201 ohci_hcd
mmc_core 728071 ssb
bash-4.2# iwconfig
lo no wireless extensions.
eth1 no wireless extensions.
bash-4.2# ifconfig
eth1 Link encap:EthernetHWaddr 8C:89:A5:8A:D5:DA
inet addr:192.168.2.105Bcast:255.255.255.255Mask:255.255.255.0
inet6 addr: fe80::8e89:a5ff:fe8a:d5da/64 Scope:Link
UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1
RX packets:10788 errors:0 dropped:0 overruns:0 frame:0
TX packets:13705 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10802246 (10.3 MiB)TX bytes:1353122 (1.2 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNINGMTU:16436Metric:1
RX packets:2071 errors:0 dropped:0 overruns:0 frame:0
TX packets:2071 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1378065 (1.3 MiB)TX bytes:1378065 (1.3 MiB) ifconfig -a 呢? 这就是驱动加载有问题,看看dmesg里的信息。 原帖由 jiangtao9999 于 2013-7-10 09:33 发表 http://forum.linuxfans.org/images/common/back.gif
ifconfig -a 呢?
bash-4.2# ifconfig -a
eth1 Link encap:EthernetHWaddr 8C:89:A5:8A:D5:DA
inet addr:192.168.2.105Bcast:255.255.255.255Mask:255.255.255.0
inet6 addr: fe80::8e89:a5ff:fe8a:d5da/64 Scope:Link
UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1
RX packets:18511 errors:0 dropped:0 overruns:0 frame:0
TX packets:26401 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14929418 (14.2 MiB)TX bytes:3539018 (3.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNINGMTU:16436Metric:1
RX packets:13629 errors:0 dropped:0 overruns:0 frame:0
TX packets:13629 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6738927 (6.4 MiB)TX bytes:6738927 (6.4 MiB)
vboxnet0Link encap:EthernetHWaddr 0A:00:27:00:00:00
BROADCAST MULTICASTMTU:1500Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b)TX bytes:0 (0.0 b) 原帖由 sejishikong 于 2013-7-10 10:24 发表 http://forum.linuxfans.org/images/common/back.gif
这就是驱动加载有问题,看看dmesg里的信息。
看了一下dmesg里跟ath有关的:
bash-4.2# dmesg | grep ath9k
ath9k_htc 2-2:1.0: usb_probe_interface
ath9k_htc 2-2:1.0: usb_probe_interface - got id
usb 2-2: ath9k_htc: Firmware htc_9271.fw requested
usbcore: registered new interface driver ath9k_htc
usb 2-2: ath9k_htc: Failed to get firmware htc_9271.fw
usb 2-2: ath9k_htc: USB layer deinitialized
是不是需要去找htc_9271.fw?
如果需要看到更全面的dmesg信息,我再贴上来。 http://wireless.kernel.org/download/htc_fw/1.3/
下载到 /lib/firmware 下试试
htc_9271.fw 我检查了一下,楼主是否一直都是升级上来的,没有重装过系统,mgc 2.6.3 已经用 linux-firmware 替代 kernel-firmware,包里已经有 htc_7010.fwhtc_9271.fw 原帖由 haulm 于 2013-7-11 07:52 发表 http://forum.linuxfans.org/images/common/back.gif
我检查了一下,楼主是否一直都是升级上来的,没有重装过系统,mgc 2.6.3 已经用 linux-firmware 替代 kernel-firmware,包里已经有 htc_7010.fwhtc_9271.fw
是的啊,一直升级的。从仓库安装linux-firmware是这样的输出:
Reading Package Lists...
Building Dependency Tree...
The following packages will be REPLACED:
netxen-firmware (by linux-firmware)rt61pci-firmware (by linux-firmware)
rt73usb-firmware (by linux-firmware)
The following NEW packages will be installed:
linux-firmware
0 upgraded, 1 newly installed, 3 replaced, 0 removed and 32 not upgraded.
Need to get 16.0MB of archives.
After unpacking 37.1MB of additional disk space will be used.
Do you want to continue?
Err http://jaist.dl.sourceforge.net update/soft linux-firmware 20130418-2mgc26
Connection failed
Failed to fetch http://jaist.dl.sourceforge.net/project/magiclinux-plus/update/RPMS.soft/linux-firmware-20130418-2mgc26.noarch.rpmConnection failed
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
现在有些包升级不到仓库里的最新版了,可能什么时候需要完全新安装一次。
去下载了htc_9271.fw,编译安装了compat-dirvers,modprobe了ath9k_htc,重启之后,无线网卡能够正常用了。
感谢各位专家。 原帖由 hxcan 于 2013-7-11 08:22 发表 http://forum.linuxfans.org/images/common/back.gif
是的啊,一直升级的。从仓库安装linux-firmware是这样的输出:
Reading Package Lists...
Building Dependency Tree...
The following packages will be REPLACED:
netxen-firmware (by linux-firmware)rt61pci ...
哦,是网络问题。记得之前也试过安装linux-firmware,好像哪里还是有依赖的冲突。等能连上服务器再试试。 原帖由 hxcan 于 2013-7-11 08:23 发表 http://forum.linuxfans.org/images/common/back.gif
哦,是网络问题。记得之前也试过安装linux-firmware,好像哪里还是有依赖的冲突。等能连上服务器再试试。
翻墙update了之后,再安装,返回404错误:
Reading Package Lists...
Building Dependency Tree...
The following packages will be REPLACED:
netxen-firmware (by linux-firmware)rt61pci-firmware (by linux-firmware)
rt73usb-firmware (by linux-firmware)
The following NEW packages will be installed:
linux-firmware
libtsocks: Unresolved symbol: close
libtsocks: Unresolved symbol: close
0 upgraded, 1 newly installed, 3 replaced, 0 removed and 32 not upgraded.
Need to get 16.0MB of archives.
After unpacking 37.1MB of additional disk space will be used.
Do you want to continue?
libtsocks: Unresolved symbol: close
libtsocks: Unresolved symbol: close
Err http://jaist.dl.sourceforge.net update/soft linux-firmware 20130418-2mgc26
404 Not Found
Failed to fetch http://jaist.dl.sourceforge.net/project/magiclinux-plus/update/RPMS.soft/linux-firmware-20130418-2mgc26.noarch.rpm404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
页:
[1]