Linux 命令之 iwlist 命令-从无线网卡获取更详细的无线信息

文章目录

介绍

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

常用选项

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

命令示例

示例1,搜索无线网络:

[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
......
上一篇:MessageBox


下一篇:STM32F103、FreeModbus从站设计(6)-让串口和Modbus初始化的参数同步起来