Search notes:
Shell command: iw
iw
shows and manipulates wireless devices and their configuration.
iw [ OPTIONS ] { help [ command ] | OBJECT COMMAND }
OBJECT
is one of
dev <interface name> | network interface |
phy <phy name> | wireless hardware device (by name) |
phy#<phy index> | wireless hardware device (by index) |
reg | regulatory agent |
COMMAND
depends on OBJECT
.
Show the information for a given device:
$ iw dev wlp0s20f3 info
Interface wlp0s20f3
ifindex 3
wdev 0x1
addr 61:f0:94:82:93:6c
ssid livingroom
type managed
wiphy 0
channel 108 (5540 MHz), width: 80 MHz, center1: 5530 MHz
txpower 22.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 0 0 0 0 0 0 0
Print the information about the current link (if available):
livecd ~ # iw dev wlp0s20f3 link
Connected to e2:6a:51:c3:39:ba (on wlp0s20f3)
SSID: livingroom
freq: 5540
RX: 2194248 bytes (15376 packets)
TX: 543448 bytes (2394 packets)
signal: -76 dBm
rx bitrate: 40.5 MBit/s VHT-MCS 2 40MHz VHT-NSS 1
tx bitrate: 520.0 MBit/s VHT-MCS 5 80MHz short GI VHT-NSS 2
bss flags: short-slot-time
dtim period: 2
beacon int: 100