Use iw dev link
para ver as informações do link de Wi-Fi:
$ iw wlan0 link Connected to 24:a4:3d:9e:a2:16 (on wlan0) SSID: Home freq: 2462 RX: 912692438 bytes (1247502 packets) TX: 77739414 bytes (744392 packets) signal: -37 dBm tx bitrate: 65.0 MBit/s MCS 7 bss flags: short-preamble short-slot-time dtim period: 1 beacon int: 100
Informações mais detalhadas podem ser exibidas usando iw dev station dump
:
$ iw wlan0 station dump Station b8:d3:41:f1:5a:83 (on wlan0) inactive time: 186 ms rx bytes: 2697906 rx packets: 12566 tx bytes: 698344 tx packets: 3350 tx retries: 480 tx failed: 0 signal: -51 [-51] dBm signal avg: -49 [-49] dBm tx bitrate: 150.0 MBit/s MCS 7 40MHz short GI rx bitrate: 150.0 MBit/s MCS 7 40MHz short GI expected throughput: 47.350Mbps authorized: yes authenticated: yes preamble: long WMM/WME: yes MFP: no TDLS peer: no
Para determinados drivers mais antigos que suportam apenas o WEXT, mas não o nl80211, use o comando iwconfig dev
:
$ iwconfig wlan0 wlan0 IEEE 802.11bgn ESSID:"Home" Mode:Managed Frequency:2.437 GHz Access Point: D8:A3:83:F1:58:80 Bit Rate=150 Mb/s Tx-Power=15 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=45/70 Signal level=-65 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:149 Missed beacon:0