iwconfig eth0 mode 。。为什么不好使??
运行 iwconfig eth0 mode Monitor,为什么从来都不好使。这时无线网卡已经可以正常工作了。可以在ML的无线助手里面可以发现很多的AP信号了。
网卡是intel的2200bg,芯片是 Centrino的。驱动用ipw2200
运行了相关的软件结果如下:
Interface Chipset Driver
eth0 Centrino b/g ipw2200 (Module version 1.0.6/1.0.9 or 1.0.10 required)
eth0 unassociatedESSID:"FreeboxConnexion"
Mode:ManagedFrequency=2.462 GHzAccess Point: 00:01:36:08:B3:CB
Bit Rate=0 kb/s Tx-Power=20 dBm
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0Signal level:0Noise level:0
Rx invalid nwid:0Rx invalid crypt:0Rx invalid frag:0
Tx excessive retries:0Invalid misc:0 Missed beacon:0
但是每次运行iwconfig eth0 mode Monitor都提示错误。错误是。。
Error for wireless request "Set Mode" (8B06) :
SET failed on device eth0 ; Invalid argument.
请高人指点一下我怎么也想不明白 modinfo ipw2200
filename: /lib/modules/2.6.15.3/kernel/drivers/net/wireless/ipw2200.ko
description: Intel(R) PRO/Wireless 2200/2915 Network Driver
version: git-1.0.8
author: Copyright(c) 2003-2005 Intel Corporation
license: GPL
vermagic: 2.6.15.3 686 REGPARM gcc-3.4
depends: ieee80211
alias: pci:v00008086d00001043sv00008086sd00002701bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002702bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002711bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002712bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002721bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002722bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002731bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002732bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002741bc*sc*i*
alias: pci:v00008086d00001043sv0000103Csd00002741bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002742bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002751bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002752bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002753bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002754bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002761bc*sc*i*
alias: pci:v00008086d00001043sv00008086sd00002762bc*sc*i*
alias: pci:v00008086d0000104Fsv*sd*bc*sc*i*
alias: pci:v00008086d00004220sv*sd*bc*sc*i*
alias: pci:v00008086d00004221sv*sd*bc*sc*i*
alias: pci:v00008086d00004223sv*sd*bc*sc*i*
alias: pci:v00008086d00004224sv*sd*bc*sc*i*
srcversion: 8AB738ABEC2DEB95F55EF54
parm: cmdlog:allocate a ring buffer for logging firmware commands (int )
parm: hwcrypto:enable hardware crypto (default on) (int)
parm: mode:network mode (0=BSS,1=IBSS) (int)
parm: channel:channel to limit associate to (default 0 ) (int)
parm: debug:debug output mask (int)
parm: led:enable led control on some systems (default 0 off)
(int)
parm: auto_create:auto create adhoc network (default on) (int)
parm: associate:auto associate when scanning (default on) (int)
parm: disable:manually disable the radio (default 0 ) (int) 找到一个表 http://www.linux-wlan.org/docs/wlan_adapters.html.gz
不过似乎和我软件的结果不同亚? 只有这些驱动:
ls /lib/modules/2.6.15.3/kernel/drivers/net/wireless/
airo_cs.ko atmel_pci.konetwave_cs.ko orinoco_tmd.kowavelan_cs.ko
airo.ko hermes.ko orinoco_cs.ko prism54 wavelan.ko
arlan.ko hostap orinoco.ko ray_cs.ko wl3501_cs.ko
atmel_cs.koipw2100.ko orinoco_pci.kospectrum_cs.ko
atmel.ko ipw2200.ko orinoco_plx.kostrip.ko Google之后 ,发现有如下内容:
The patched Orinoco drivers don't support the wireless extensions method of enabling monitor mode. Try "iwpriv eth0 monitor 2 1" where "2" is monitor mode and "1" is the channel number. Running "iwpriv eth0 monitor 0 1" should revert to managed mode, but it's often better just to run "cardctl eject ; cardctl insert" instead.
不过还是不行。
#iwpriv eth0 monitor 2 1
Invalid command : monitor 你确认你的无线网卡就是eth0吗。。。
把ifconfig的结果贴一贴
页:
[1]