云网牛站
所在位置:首页 > Linux常用命令大全 > 更多实用命令 > iwlist命令

iwlist命令

iwlist命令用于对/proc/net/wireless文件进行分析,得出无线网卡相关信息。

参数

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

实例

[root@linux ~]#  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
.......

[root@linux ~]# 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: 000F5765623A3139322
......

相关命令