您也可以在命令行上使用nm-tool(这是Ubuntu的默认网络管理器,通常使用其GUI)。在的输出中的某处nm-tool
包含以下找到的访问点部分:
Wireless Access Points (* = current AP)
Neighbors: Infra, 00:XX:XX:XX:XX:04, Freq 2437 MHz, Rate 54 Mb/s, Strength 44 WPA WPA2
*network-2C5A6: Infra, 00:XX:XX:XX:XX:79, Freq 2437 MHz, Rate 54 Mb/s, Strength 100 WPA
bbox2-8afd: Infra, 00:XX:XX:XX:XX:0F, Freq 2412 MHz, Rate 54 Mb/s, Strength 42 WPA WPA2
要将频率转换为频道号,请使用以下命令iwlist frequency
:
wlan0 32 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
[snip]
Channel 140 : 5.7 GHz
Current Frequency:2.437 GHz (Channel 6)