Chinaunix首页 | 论坛 | 博客
  • 博客访问: 646968
  • 博文数量: 329
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 693
  • 用 户 组: 普通用户
  • 注册时间: 2015-01-05 23:37
个人简介

Do not panic!

文章存档

2021年(1)

2018年(3)

2017年(7)

2016年(98)

2015年(220)

我的朋友

分类: LINUX

2015-02-04 00:39:30


427

iwlist :获取无线网卡相关数据

语 法

iwlist[网卡][必要参数][选择参数]
功 能
iwlist 命令:用于对/proc/net/wireless文件进行分析,得出无线网卡相关信息
类似命令:        
相关教程:暂缺,去论坛找找?  
执行权限:超级用户 普通用户
命令属性:网络通讯

 

参数
必要参数

scanning 搜索当前无线网络
frequen  显示频道信息
rate  显示连接速度
power  显示电源模式
txpower 显示功耗
retry  显示重试连接次数(网络不稳定查看)
ap 显示热点信息




选择参数

--help 显示帮助信息
--version 显示版本信息

Linux命令查询

范例


范例1: 显示频道信息


snail@snail-laptop:~$ iwlist wlan0 frequen //显示频道信息
wlan0   13 channels in total; available frequencies :
     Channel 01 : 2.412 GHz
     Channel 02 : 2.417 GHz
     Channel 03 : 2.422 GHz
     Channel 04 : 2.427 GHz
     Channel 05 : 2.432 GHz
     Channel 06 : 2.437 GHz
     Channel 07 : 2.442 GHz
     Channel 08 : 2.447 GHz
     Channel 09 : 2.452 GHz
     Channel 10 : 2.457 GHz
     Channel 11 : 2.462 GHz
     Channel 12 : 2.467 GHz
     Channel 13 : 2.472 GHz
     Current Frequency:2.412 GHz (Channel 1)

snail@snail-laptop:~$ 





范例2:搜索热点

snail@snail-laptop:~$ iwlist wlan0 scanning  //搜索热点

iwlist scanning 
lo    Interface doesn't support scanning.

eth0   Interface doesn't support scanning.

wlan0   Scan completed :
     Cell 01 - Address: E0:05:C5:B6:53:A0
          Channel:1
          Frequency:2.412 GHz (Channel 1)
          Quality=41/70 Signal level=-69 dBm 
          Encryption key:off
          ESSID:"Web:192.168.1.2"
          Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
               11 Mb/s; 12 Mb/s; 18 Mb/s
          Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
          Mode:Master
          Extra:tsf=0000000342c72184
          Extra: Last beacon: 5220ms ago
          IE: Unknown: 000F5765623A3139322E3136382E312E32
          IE: Unknown: 010882848B0C12961824
          IE: Unknown: 030101
          IE: Unknown: 0706434E20010D14
          IE: Unknown: 200100
          IE: Unknown: 2A0100
          IE: Unknown: 32043048606C
          IE: Unknown: DD180050F2020101820003A4000027A4000042435E0062322F00
     Cell 02 - Address: 00:74:04:EE:45:83
          Channel:1
          Frequency:2.412 GHz (Channel 1)
          Quality=17/70 Signal level=-93 dBm 
          Encryption key:off
          ESSID:"AR7WRD"
          Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
          Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
               36 Mb/s; 48 Mb/s; 54 Mb/s
          Mode:Master
          Extra:tsf=000000014e9071e2
          Extra: Last beacon: 5156ms ago
          IE: Unknown: 0006415237575244
          IE: Unknown: 010582848B962C
          IE: Unknown: 030101
          IE: Unknown: 050401030000
          IE: Unknown: 2A0104
          IE: Unknown: 32080C1218243048606C
     Cell 03 - Address: 00:15:EB:61:3C:9C
          Channel:6
          Frequency:2.437 GHz (Channel 6)
          Quality=23/70 Signal level=-87 dBm 
          Encryption key:on
          ESSID:"ZTE-613C9C"
          Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
          Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
               36 Mb/s; 48 Mb/s; 54 Mb/s
          Mode:Master
          Extra:tsf=00000001a74dcfdf
          Extra: Last beacon: 12800ms ago
          IE: Unknown: 000A5A54452D363133433943
          IE: Unknown: 010482848B96
          IE: Unknown: 030106
          IE: Unknown: 0706434E20010D14
          IE: Unknown: 2A0100
          IE: Unknown: 32080C1218243048606C
     Cell 04 - Address: D8:5D:4C:65:2E:A4
          Channel:6
          Frequency:2.437 GHz (Channel 6)
          Quality=29/70 Signal level=-81 dBm 
          Encryption key:on
          ESSID:"xE9xC5xEDxC8"
          Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
               12 Mb/s; 24 Mb/s; 36 Mb/s
          Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
          Mode:Master
          Extra:tsf=0000003af3b62181
          Extra: Last beacon: 12460ms ago
          IE: Unknown: 0004E9C5EDC8
          IE: Unknown: 010882848B960C183048
          IE: Unknown: 030106
          IE: Unknown: 2A0100
          IE: Unknown: 32041224606C
          IE: IEEE 802.11i/WPA2 Version 1
            Group Cipher : TKIP
            Pairwise Ciphers (2) : TKIP CCMP
            Authentication Suites (1) : PSK
            Preauthentication Supported
          IE: WPA Version 1
            Group Cipher : TKIP
            Pairwise Ciphers (2) : TKIP CCMP
            Authentication Suites (1) : PSK
阅读(1220) | 评论(0) | 转发(0) |
0

上一篇:USB2.0速度识别

下一篇:linux无线网络命令

给主人留下些什么吧!~~