# _____ __
# |_ _\ \ / /
# | | \ \ /\ / /
# | | \ V V /
# |___| \_/\_/
#
The iw command is the new CLI interface to Linux kernel wireless drivers. It was written with the intent to
eventually replace iwconfig, and as so should be adopted soon. There are only two documents describing it’s
features, the man page, the kernel wiki page,
and the cheatsheet for moving from iwconfig to it.
Just as the linux kernel will perpetually be in a process of development, so will the iw command. Features for
this command will be created on a as needed basis. Documentation for these features will arise much
afterwards.
Below is a cheatsheet providing commonly used commands for iw.
iw dev $DEVICE interface add $MON_DEVICE type monitor flags $FLAGSiw dev $DEVICE reg set XXiw dev wlan0mon deliw dev $DEVICE set power_save oniw dev $DEVICE set txpower <auto|fixed|limit> [<tx power in mBm>]iw dev $DEVICE station dumpiw dev $DEVICE station get $PEERiw dev $DEVICE linkiw dev $DEVICE switch $CHANNELiw dev $DEVICE scaniw dev $DEVICE set type monitoriw dev $DEVICE set monitor $FLAGiw phy $PHYNAME set distance <auto|$DISTANCE>iw phy $PHYNAME antenna $BITMAPThe following are flags you can specify:
none
fcsfail
plcpfail
control
otherbss
cook
active