iwconfig, iwevent, iwlist, iwspy, iwpriv

来源:互联网 发布:数控模拟软件下载 编辑:程序博客网 时间:2024/05/29 03:22

iwconfig

ath48     IEEE 802.11ng  ESSID:"?p埤`?C銓TD缢???5?WF"  
          Mode:Master  Frequency:2.412 GHz  Access Point: E6:8B:42:20:01:92   
          Bit Rate:144.4 Mb/s   Tx-Power=15 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=94/94  Signal level=-96 dBm  Noise level=-95 dBm
          Rx invalid nwid:213497  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


iwlist --help
Usage: iwlist [interface] scanning [essid NNN] [last]
              [interface] frequency 
              [interface] channel 
              [interface] bitrate 
              [interface] rate 
              [interface] encryption 
              [interface] keys 
              [interface] power 
              [interface] txpower 
              [interface] retry 
              [interface] ap 
              [interface] accesspoints 
              [interface] peers 
              [interface] event 
              [interface] auth 
              [interface] wpakeys 
              [interface] genie 
              [interface] modulation 
~ # iwlist ath0 rate
ath0      8 available bit-rates :
          6 Mb/s
          12 Mb/s
          24 Mb/s
          9 Mb/s
          18 Mb/s
          36 Mb/s
          48 Mb/s
          54 Mb/s
          Current Bit Rate:300 Mb/s

~ # iwevent
Waiting for Wireless Events from interfaces...
16:44:51.989688   ath48    Custom driver event:Manage.beacon 158
16:44:51.998187   ath16    Custom driver event:Manage.beacon 241

~ # cat /proc/net/wireless 
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 22
 ath16: 0001   94.  -96.  -95.   54241      0      0      0      0        0
 ath48: 0001   94.  -96.  -95.  211881      0      0      0      0        0
  ath0: 0001   94.  -96.  -95.   28778      0      0      0      0        0
 ath32: 0001   94.  -96.  -95.  107933      0      0      0      0        0
~ # 

0 0