iw Wireless tool

iw [options] command Options: --debug enable netlink debugging --version show version (4.9) Commands: help [command] event [-t|-r] [-f] features commands phy list phy phynameinfo phy phynamechannels dev dev devnameinfo dev devnamedel dev devnameinterface add nametype type[mesh_id meshid>] [4addr on|off] [flags flag>*] [addr mac-addr>] phy phynameinterface add nametype type[mesh_id meshid>] [4addr on|off] [flags flag>*] [addr mac-addr>] dev devnameibss join SSIDfreq in MHz[NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [fixed bssid>] [beacon-interval TU>] [basic-rates rate in Mbps,rate2,...>] [mcast-rate rate in Mbps>] [key d:0:abcde] dev devnameibss leave dev devnamestation set MAC addressplink_action open|block> dev devnamestation set MAC addressvlan ifindex> dev devnamestation set MAC addressmesh_power_mode active|light|deep> dev devnamestation dump [-v] dev devnamestation del MAC address[subtype subtype>] [reason-code code>] dev devnamestation get MAC address> dev devnamesurvey dump dev devnameocb leave dev devnameocb join freq in MHz5MHz|10MHz> dev devnamemesh leave dev devnamemesh join mesh ID[[freq freq in MHzNOHT|HT20|HT40+|HT40-|80MHz>] [basic-rates rate in Mbps,rate2,...>]], [mcast-rate rate in Mbps>] [beacon-interval time in TUs>] [dtim-period value>] [vendor_sync on|off] [param>=value>]* dev devnamempath dump dev devnamempath set destination MAC addressnext_hop next hop MAC address> dev devnamempath new destination MAC addressnext_hop next hop MAC address> dev devnamempath del MAC address> dev devnamempath get MAC address> dev devnamempp dump dev devnamempp get MAC address> dev devnamescan [-u] [freq freq>*] [ies hex as 00:11:..>] [meshid meshid>] [lowpri,flush,ap-force] [randomise[=addr>/mask>]] [ssid ssid>*|passive] dev devnamescan sched_stop dev devnamescan sched_start [interval in_msecs| scan_plans [interval_secs:iterations>*] interval_secs>] [delay in_secs>] [freqs freq>+] [matches [ssid ssid>]+]] [active [ssid ssid>]+|passive] [randomise[=addr>/mask>]] dev devnamescan abort dev devnamescan trigger [freq freq>*] [ies hex as 00:11:..>] [meshid meshid>] [lowpri,flush,ap-force] [randomise[=addr>/mask>]] [ssid ssid>*|passive] dev devnamescan dump [-u] phy phynamereg get reg get reg set ISO/IEC 3166-1 alpha2> dev devnameauth SSIDbssidtype:open|sharedfreq in MHz[key 0:abcde d:1:6162636465] dev devnameconnect [-w] SSID[freq in MHz>] [bssid>] [key 0:abcde d:1:6162636465] dev devnamedisconnect dev devnamelink dev devnameoffchannel freqduration> dev devnamecqm rssi threshold|off[hysteresis>] phy phynamewowlan show phy phynamewowlan disable phy phynamewowlan enable [any] [disconnect] [magic-packet] [gtk-rekey-failure] [eap-identity-request] [4way-handshake] [rfkill-release] [net-detect [interval in_msecs| scan_plans [interval_secs:iterations>*] interval_secs>] [delay in_secs>] [freqs freq>+] [matches [ssid ssid>]+]] [active [ssid ssid>]+|passive] [randomise[=addr>/mask>]]] [tcp config-file>] [patterns [offset1+]pattern1...] phy phynamecoalesce show phy phynamecoalesce disable phy phynamecoalesce enable config-file> dev devnameroc start freqtime in ms> wdev idxp2p stop wdev idxp2p start dev devnamevendor recvbin ouisubcmdfilename|-|hex data> dev devnamevendor recv ouisubcmdfilename|-|hex data> dev devnamevendor send ouisubcmdfilename|-|hex data> phy phynameset antenna bitmap| all | tx bitmaprx bitmap> dev devnameset txpower auto|fixed|limit[tx power in mBm>] phy phynameset txpower auto|fixed|limit[tx power in mBm>] phy phynameset distance auto|distance> phy phynameset coverage coverage class> phy phynameset netns { pid| name nsname} phy phynameset retry [short limit>] [long limit>] phy phynameset rts rts threshold|off> phy phynameset frag fragmentation threshold|off> dev devnameset channel channel[HT20|HT40+|HT40-] phy phynameset channel channel[HT20|HT40+|HT40-] dev devnameset freq freq[HT20|HT40+|HT40-] dev devnameset freq control freq[20|40|80|80+80|160] [center freq 1>] [center freq 2>] phy phynameset freq freq[HT20|HT40+|HT40-] phy phynameset name new name> dev devnameset mcast_rate rate in Mbps> dev devnameset peer MAC address> dev devnameset noack_map map> dev devnameset 4addr on|off> dev devnameset type type> dev devnameset meshid meshid> dev devnameset monitor flag>* dev devnameset mesh_param param>=value[param>=value>]* dev devnameset power_save on|off> dev devnameset bitrates [legacy-2.4|5legacy rate in Mbps>*] [ht-mcs-2.4|5MCS index>*] [vht-mcs-2.4|5NSS:MCSx,MCSy... | NSS:MCSx-MCSy>*] [sgi-2.4|lgi-2.4] [sgi-5|lgi-5] dev devnameget mesh_param [param>] dev devnameget power_save param> Commands that use the netdev ('dev') can also be given the 'wdev' instead to identify the device. You can omit the 'phy' or 'dev' if the identification is unique, e.g. "iw wlan0 info" or "iw phy0 info". (Don't when scripting.) Do NOT screenscrape this tool, we don't consider its output stable.