「iwlist」

  LINUX MANUAL PAGES

iwlist,获取无线接口的某些附加的信息,这些信息是iwconfig(8)所显示不了的。

命令行语法及含义

iwlist [interface] scanning
iwlist [interface] frequency
iwlist [interface] rate
iwlist [interface] keys
iwlist [interface] power
iwlist [interface] txpower
iwlist [interface] retry
iwlist [interface] event
iwlist [interface] auth
iwlist [interface] wpakeys
iwlist [interface] genie
iwlist [interface] modulation
iwlist –help
iwlist –version

主要参数用于选择要显示的信息类别,iwlist以详细的形式显示与此类别相关的所有信息,包括iwconfig(8)已显示的信息。

命令选项及含义

scan[ning]
Give the list of Access Points and Ad-Hoc cells in range, and
optionally a whole bunch of information about them (ESSID, Quality,
Frequency, Mode…). The type of information returned depends on
what the card supports.
Triggering scanning is a privileged operation (root only) and normal
users can only read left-over scan results. By default, the way
scanning is done (the scope of the scan) is dependant on the card
and card settings.
This command takes optional arguments, however most drivers will
ignore those. The option essid is used to specify a scan on a spe‐
cific ESSID. With some card/driver, this enables to see hidden net‐
works. The option last does not trigger a scan and read left-over
scan results.

freq[uency]/channel
Give the list of available frequencies in the device and the number
of defined channels. Please note that usually the driver returns the
total number of channels and only the frequencies available in the
present locale, so there is no one-to-one mapping between frequen‐
cies displayed and channel numbers.

rate/bit[rate]
List the bit-rates supported by the device.

keys/enc[ryption]
List the encryption key sizes supported and list all the encryption
keys set in the device.

power
List the various Power Management attributes and modes of the device.

txpower
List the various Transmit Powers available on the device.

retry
List the transmit retry limits and retry lifetime on the device.

ap/accesspoint/peers
Give the list of Access Points in range, and optionally the quality
of link to them. This feature is obsolete and now deprecated in
favor of scanning support (above), and most drivers don’t support
it.
Some drivers may use this command to return a specific list of Peers
or Access Points, such as the list of Peers associated/registered
with the card. See your driver documentation for details.

event
List the wireless events supported by the device.

auth
List the WPA authentication parameters currently set.

wpa[keys]
List all the WPA encryption keys set in the device.

genie
List the Generic Information Elements set in the device (used for WPA support).

modu[lation]
List the modulations supported by the device and the modulations
currently enabled.

–version
显示工具的版本、可以用于工具的WE版本,各种的无线接口的推荐WE版本和编译的WE版本。

–help
显示帮助信息。

相关文件

/proc/net/wireless

相关的手册

iwconfig(8), iwspy(8). iwevent(8), iwpriv(8), wireless(7).

参考文献

  • man 8 iwlist, version Wireless-Tools version 30 Compatible with Wireless Extension v11 to v22.