|
|
我的无线网卡是intel 5100AGN的, 今天照着
http://www.linuxsir.cn/bbs/thread346497.html
的方法以及手册中说的方法试了一下, 均没有成效, 现在贴出部分东西
首先是我的lsmod
- # lsmod | grep iw
- iwlagn 141524 0
- iwlcore 123856 1 iwlagn
- lib80211 5940 1 iwlcore
- mac80211 114420 2 iwlagn,iwlcore
- cfg80211 33092 3 iwlagn,iwlcore,mac80211
- rfkill 9616 2 iwlcore
- led_class 3684 1 iwlcore
复制代码
到这里, 模块加载的应该是没有问题了
接下来是ifconfig和ifconfig -a
- # ifconfig
- eth0 Link encap:Ethernet HWaddr 00:23:5a:5d:11:ba
- inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::223:5aff:fe5d:11ba/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:945 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1146 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:619824 (605.2 KiB) TX bytes:270570 (264.2 KiB)
- Interrupt:29 Base address:0x6000
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric: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:0
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- %%%%%%%%%%%%%%%%%%%%%%%%%%
- # ifconfig -a
- eth0 Link encap:Ethernet HWaddr 00:23:5a:5d:11:ba
- inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::223:5aff:fe5d:11ba/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:946 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1149 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:619888 (605.3 KiB) TX bytes:272203 (265.8 KiB)
- Interrupt:29 Base address:0x6000
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric: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:0
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- wlan0 Link encap:Ethernet HWaddr 00:21:6b:20:fb:74
- BROADCAST MULTICAST MTU:1500 Metric: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)
- wmaster0 Link encap:UNSPEC HWaddr 00-21-6B-20-FB-74-65-74-00-00-00-00-00-00-00-00
- BROADCAST MULTICAST MTU:1500 Metric: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)
- %%%%%%%%%%%%%%%%%%%%%%
- # ifconfig wlan0 up
- SIOCSIFFLAGS: No such file or directory
复制代码
这个地方就出问题了, ifconfig的时候没有wlan0, 但是ifconfig -a的时候却有
ifconfig wlan0 up却出错, 百思不得其解
接着贴上我的dmesg部分信息
- # dmesg|grep iw
- iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27kds
- iwlagn: Copyright(c) 2003-2008 Intel Corporation
- iwlagn 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
- iwlagn 0000:04:00.0: setting latency timer to 64
- iwlagn: Detected Intel Wireless WiFi Link 5100AGN REV=0x54
- iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
- [color=red][b]iwlagn 0000:04:00.0: PCI INT A disabled[/b][/color]
- [color=red][b]wmaster0 (iwlagn): not using net_device_ops yet[/b][/color]
- phy0: Selected rate control algorithm 'iwl-agn-rs'
- wlan0 (iwlagn): not using net_device_ops yet
- iwlagn 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
- iwlagn 0000:04:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006)
- iwlagn 0000:04:00.0: irq 30 for MSI/MSI-X
- iwlagn 0000:04:00.0: firmware: requesting iwlwifi-5000-1.ucode
- iwlagn: iwlwifi-5000-1.ucode firmware file req failed: Reason -2
- iwlagn: Could not read microcode: -2
- [color=red][b]iwlagn 0000:04:00.0: PCI INT A disabled[/b][/color]
复制代码
现在不知道应该怎么办了, iwlist wlan0 scan根本就不好使..
有没有朋友能帮忙解决一下呢?
p.s.:
- # uname -r
- 2.6.29-gentoo-r4
复制代码 |
|