HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

iw — Show and manipulate wireless devices. See also: `iw dev`, `nmcli`, `iwctl`. More information: <https

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commanddevicesiwshowandmanipulatecliwireless
linux

Problem

How to use the iw command: Show and manipulate wireless devices. See also: iw dev, nmcli, iwctl. More information: <https://wireless.docs.kernel.org/en/latest/en/users/documentation/iw.html>.

Solution

iw — Show and manipulate wireless devices. See also: iw dev, nmcli, iwctl. More information: <https://wireless.docs.kernel.org/en/latest/en/users/documentation/iw.html>.

Scan for available wireless networks:
iw dev {{wlp}} scan


Join an open wireless network:
iw dev {{wlp}} connect {{SSID}}


Close the current connection:
iw dev {{wlp}} disconnect


Show information about the current connection:
iw dev {{wlp}} link


List all physical and logical wireless network interfaces:
iw dev


List all wireless capabilities for all physical hardware interfaces:
iw phy


List the kernel's current wireless regulatory domain information:
iw reg get


Display help:
iw help

Code Snippets

Scan for available wireless networks

iw dev {{wlp}} scan

Join an open wireless network

iw dev {{wlp}} connect {{SSID}}

Close the current connection

iw dev {{wlp}} disconnect

Show information about the current connection

iw dev {{wlp}} link

List all physical and logical wireless network interfaces

iw dev

Context

tldr-pages: linux/iw

Revisions (0)

No revisions yet.