IWLIST(8)

πŸ“¦
version 30_pre9 Β· 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ IWLIST πŸ’–

okay so bestie, real talk β€” iwlist is a section 8 system admin tool from the Linux Programmer's Manual, and it's literally your go-to for snooping on wireless interfaces. it's giving "iwconfig's nosy little sister" and we're obsessed. let's get into it 🫢


πŸ’– SYNOPSIS πŸ’–

like, here's the whole mood board of how you run it:

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

periodt. that's the whole thing. ✨


🌸 DESCRIPTION 🌸

so iwlist is the tool you use to pull extra info from a wireless network interface β€” the juicy stuff that iwconfig(8) doesn't show you. the main argument picks which category of info you want, and then iwlist spills all the tea in detailed form for that category, including the stuff iwconfig(8) already showed you. it's giving "why not both" energy πŸ’…


πŸŽ€ PARAMETERS πŸŽ€

  • scan[ning] β€” bestie, this one shows you the list of Access Points and Ad-Hoc cells in range, plus (if you're lucky) a whole bunch of extra info about them: ESSID, Quality, Frequency, Mode, the works. the type of info you actually get back depends on what your card supports, no cap.
⚠️ heads up: triggering a scan is a privileged operation (root only, fr fr), and normal users can only read left-over scan results. by default, how the scan happens (the scope) depends on your card and your card settings.

this command takes optional arguments, BUT lowkey most drivers will ignore them πŸ™ˆ. the essid option lets you scan on a specific ESSID β€” and with some card/driver combos, that lets you see hidden networks πŸ‘€. the last option does not trigger a scan, it just reads the left-over scan results. iconic.

  • freq[uency]/channel β€” shows the list of available frequencies on the device and the number of defined channels. ngl, here's the catch: usually the driver returns the total number of channels but only the frequencies available in your present locale, so there's no one-to-one mapping between frequencies displayed and channel numbers. the math is not mathing on purpose πŸ’€
  • rate/bit[rate] β€” lists the bit-rates your device supports. slay.
  • keys/enc[ryption] β€” lists the encryption key sizes supported and all the encryption keys set in the device. πŸ”
  • power β€” lists all the various Power Management attributes and modes of the device. ⚑
  • txpower β€” lists all the various Transmit Powers available on the device. πŸ”₯
  • retry β€” lists the transmit retry limits and retry lifetime on the device. πŸ”
  • ap/accesspoint/peers β€” gives you the list of Access Points in range, plus optionally the quality of the link to them. BUT β€” and I cannot stress this enough β€” this feature is obsolete and now deprecated in favor of scanning support (that's the scan[ning] one above), and most drivers don't support it anymore. rip to a real one 😭. some drivers may use this command to return a specific list of Peers or Access Points, like the list of Peers associated/registered with the card β€” see your driver documentation for the details, iykyk.
  • event β€” lists the wireless events supported by the device. πŸ¦‹
  • auth β€” lists the WPA authentication parameters currently set (the original says "curently," and honestly, we respect the spelling journey πŸ’…).
  • wpa[keys] β€” lists all the WPA encryption keys set in the device. πŸ”‘
  • genie β€” lists the Generic Information Elements set in the device (used for WPA support). 🧚
  • modu[lation] β€” lists the modulations supported by the device and the modulations currently enabled. 🌈
  • --version β€” displays the version of the tools, plus the recommended and current Wireless Extensions version for the tool and the various wireless interfaces. ⭐
  • --help β€” displays a short help message. the bare minimum and we love that for us πŸŽ€

πŸ—‚οΈ FILES πŸ—‚οΈ

  • /proc/net/wireless

πŸ‘€ SEE ALSO πŸ‘€

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


okay that's the whole page, bestie β€” you're officially an iwlist main character now πŸ‘‘πŸ’œ

πŸ’œ bye bestie πŸ’œ β€” this was wireless-tools, dated 13 April 2006 (yes, she's an elder icon and we stan her anyway) πŸŽ€βœ¨