论坛风格切换切换到宽版
  • 1080阅读
  • 2回复

[问题求助][CentOS] 无线网卡设monitor后linkquality为0 [复制链接]

上一主题 下一主题
离线wwwfu80com.
 
发帖
1976
C币
-235639
威望
352
贡献值
1
银元
0
铜钱
4319
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
无线网卡设monitor后l.inkqualit.y为0[成人用品]
在采用别的模式,如adho.c下是可以和别的节点连通,linkqualit.y也不为0。教育

但按下面的方法设成monitor后,就连不通了。.域名
$ sud.o wlanconfig at.h0 destroy.
$. sudo modprobe .-r ath_pci    美容
$ sudo mod.probe ath_pci. autocreate=monitor    外汇
$ sudo iwconfig ath0 mode mo.n.itor投资
$ iwconfig ath.0           女人
ath0    .  I.EEE 802.11b  ESSID:""  Nickname:""(广告)
       .   Mode:Monitor  Frequency:2.412 GHz  Access P.oint: 00:0E:8E:0D:FF.:30   .
  .        Bit Rate:0 kb/s   Tx-Power:.17 dBm   Sensitivity=1/1  外贸
          Retryff   RTS thrhttp://upload.bbs.csuboy.com/Mon_1004/126_6759_c83c7cca86332e4.gif[/img]ff   Fragment thrhttp://upload.bbs.csuboy.com/Mon_1004/126_6759_c83c7cca86332e4.gif[/img]ffhttp://upload.bbs.csuboy.com/Mon_1004/126_6759_c83c7cca86332e4.gif[/img].
          Power Managementffhttp://upload.bbs.csuboy.com/Mon_1004/126_6759_c83c7cca86332e4.gif[/img]域名
          Lin.k Quality=0/7.0  Signal level=-98 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健康
$ ifconfig a.th0    美容
ath0      Link encap:UNSPEC  HWaddr 0..0-0E-8E-0D-FF-30-20-25-00-00-00-00-00-00-00-.00  [成人用品]
          UP BROADCAST RUNNING MULTICAST  M.TU:1500  Metri.c:1           女人
  .        RX packets:0 errors:0 dropp.ed:0 overruns:0 frame:0[成人用品]
       .   TX packets:0 errors:0 dropped:0 overruns:0 carr.ier:0.
  .      .  collisions:0 txqueuelen:0 .
          R.X bytes:0 (0.0 b)  .TX bytes:0 (0.0 b)           建材


$ .sudo. ifconfig ath0 10.1.1.3 netmask 255.255.255.0             电子
$ ifconfi.g ath0--- 印刷
ath.0      Link encap:UNS.PE.C  HWaddr 00-0E-8E-0D-FF-30-20-C5-00-00-00-00-00-00-00-00               汽车
          inet addr:10.1.1.3  Bcast:10.1.1.255  Mask:255.255.2.55..0             汽车
          UP BROADCA.ST RUNNING MULTICAST  MTU:1500 . Metric:1<性病>
          RX packets:6 errors:0 dr.opped:0 overruns:0. frame:0.
          TX packets:6 e.rrors:0 dropped:0 overruns.:0 carrier:0.
  .        coll.isions:0 txqueuelen:0 电影
          RX bytes:378 (3.78.0 b)  TX bytes:252 (25.2.0 b).

$ sudo ifconfig ath.0 up.

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线grassgrass.
发帖
2055
C币
-140287
威望
348
贡献值
1
银元
-1
铜钱
4591
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:[CentOS]
看到有文章说,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 thrff   Fragment thrff
          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 编辑 ]

离线qq273580105.
发帖
2049
C币
-235857
威望
381
贡献值
1
银元
-1
铜钱
4522
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:[CentOS]
ifconfig ath1 up
看看。可能换设备名了。详情google

好像monitor模式下的问题很多。
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个