看到有文章说,monitor模式下只能收,不能发送数据。我打开tcpdump后,别的机器相互ping,都收不到包?
怎么知道monitor设置成功了呢?
换成adhoc模式后。。。
-bash-3.1$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11b ESSID:"e_ad_hoc" Nickname:""
Mode:Ad-Hoc Frequency:2.437 GHz Cell: 06:0E:8E:0D:FD:7A
Bit Rate:0 kb/s Tx-Power:17 dBm Sensitivity=1/1
Retryff RTS thr

ff Fragment thr

ff

Power Managementff

Link Quality=21/70 Signal level=-77 dBm Noise level=-98 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
-bash-3.1$ sudo ifconfig ath0 10.1.1.3 netmask 255.255.255.0
-bash-3.1$ ping 10.1.1.2
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
Message from syslogd@nodew3 at Wed Nov 25 14:25:02 2009 ...
nodew3 last message repeated 2 times
Message from syslogd@nodew3 at Wed Nov 25 14:25:02 2009 ...
nodew3 kernel: send to unkonwn node 06:0e:8e:0d:fe:5e?
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=13.9 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=7.80 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=7.80 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 7.803/9.842/13.915/2.880 ms
[ 本帖最后由 tomorrow0530 于 2009-11-27 12:18 编辑 ]