useful_linux_802.11_commands_for_statistics_and_monitoring_purposes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
useful_linux_802.11_commands_for_statistics_and_monitoring_purposes [2020/03/13 00:33] – [Commands Useful for Access Points] sgriggs | useful_linux_802.11_commands_for_statistics_and_monitoring_purposes [2020/03/13 00:47] (current) – [Commands Useful for Access Points] sgriggs | ||
---|---|---|---|
Line 3: | Line 3: | ||
For the purposes of clarity, these are examples, not prototypes. | For the purposes of clarity, these are examples, not prototypes. | ||
+ | |||
+ | Get basic info, channel, mode, etc.. | ||
+ | < | ||
+ | # iw wlan0 info | ||
+ | Interface wlan0 | ||
+ | ifindex 3 | ||
+ | wdev 0x1 | ||
+ | addr b8: | ||
+ | ssid pg-guest | ||
+ | type AP | ||
+ | wiphy 0 | ||
+ | channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz | ||
+ | txpower 31.00 dBm | ||
+ | </ | ||
Get stats on all the wireless clients connected to your access point. | Get stats on all the wireless clients connected to your access point. | ||
< | < | ||
- | $ sudo iw dev wlan0 station dump | + | # iw dev wlan0 station dump |
Station 80: | Station 80: | ||
inactive time: 1000 ms | inactive time: 1000 ms | ||
Line 26: | Line 40: | ||
short slot time:yes | short slot time:yes | ||
connected time: 788 seconds | connected time: 788 seconds | ||
+ | </ | ||
+ | |||
+ | ==== Misc Useful Wifi Commands ==== | ||
+ | |||
+ | Scan for nearby WiFi Access Points | ||
+ | < | ||
+ | # iw wlx00160178e753 scan | ||
+ | BSS 74: | ||
+ | TSF: 111754387141 usec (1d, 07:02:34) | ||
+ | freq: 2462 | ||
+ | beacon interval: 100 TUs | ||
+ | capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431) | ||
+ | signal: -45.00 dBm | ||
+ | last seen: 284 ms ago | ||
+ | Information elements from Probe Response frame: | ||
+ | SSID: CBCI-96C7-2.4 | ||
+ | Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0* 9.0 12.0* 18.0 | ||
+ | DS Parameter set: channel 11 | ||
+ | Country: US | ||
+ | Channels [1 - 11] @ 30 dBm | ||
+ | ERP: <no flags> | ||
+ | Extended supported rates: 24.0* 36.0 48.0 54.0 | ||
+ | HT capabilities: | ||
+ | Capabilities: | ||
+ | RX LDPC | ||
+ | HT20 | ||
+ | SM Power Save disabled | ||
+ | RX HT20 SGI | ||
+ | TX STBC | ||
+ | RX STBC 1-stream | ||
+ | Max AMSDU length: 3839 bytes | ||
+ | No DSSS/CCK HT40 | ||
+ | Maximum RX AMPDU length 65535 bytes (exponent: 0x003) | ||
+ | Minimum RX AMPDU time spacing: 8 usec (0x06) | ||
+ | HT TX/RX MCS rate indexes supported: 0-23 | ||
+ | HT operation: | ||
+ | * primary channel: 11 | ||
+ | * secondary channel offset: no secondary | ||
+ | * STA channel width: 20 MHz | ||
+ | * RIFS: 1 | ||
+ | * HT protection: no | ||
+ | * non-GF present: 0 | ||
+ | * OBSS non-GF present: 0 | ||
+ | * dual beacon: 0 | ||
+ | * dual CTS protection: 0 | ||
+ | * STBC beacon: 0 | ||
+ | * L-SIG TXOP Prot: 0 | ||
+ | * PCO active: 0 | ||
+ | * PCO phase: 0 | ||
+ | Overlapping BSS scan params: | ||
+ | * passive dwell: 20 TUs | ||
+ | * active dwell: 10 TUs | ||
+ | * channel width trigger scan interval: 300 s | ||
+ | * scan passive total per channel: 200 TUs | ||
+ | * scan active total per channel: 20 TUs | ||
+ | * BSS width channel transition delay factor: 5 | ||
+ | * OBSS Scan Activity Threshold: 0.25 % | ||
+ | Extended capabilities: | ||
+ | WMM: * Parameter version 1 | ||
+ | * u-APSD | ||
+ | * BE: CW 15-1023, AIFSN 3 | ||
+ | * BK: CW 15-1023, AIFSN 7 | ||
+ | * VI: CW 7-15, AIFSN 2, TXOP 3008 usec | ||
+ | * VO: CW 3-7, AIFSN 2, TXOP 1504 usec | ||
+ | RSN: * Version: 1 | ||
+ | * Group cipher: TKIP | ||
+ | * Pairwise ciphers: CCMP TKIP | ||
+ | * Authentication suites: PSK | ||
+ | * Capabilities: | ||
+ | WPA: * Version: 1 | ||
+ | * Group cipher: TKIP | ||
+ | * Pairwise ciphers: CCMP TKIP | ||
+ | * Authentication suites: PSK | ||
+ | WPS: * Version: 1.0 | ||
+ | * Wi-Fi Protected Setup State: 2 (Configured) | ||
+ | * Response Type: 3 (AP) | ||
+ | * UUID: 28a71383-ce20-5dc8-9204-4e50ab93534f | ||
+ | * Manufacturer: | ||
+ | * Model: DPC3939B | ||
+ | * Model Number: DPC3939B | ||
+ | * Serial Number: 000000001 | ||
+ | * Primary Device Type: 6-0050f204-1 | ||
+ | * Device name: DPC3939B | ||
+ | * Config methods: | ||
+ | * RF Bands: 0x1 | ||
+ | * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 | ||
</ | </ |
useful_linux_802.11_commands_for_statistics_and_monitoring_purposes.txt · Last modified: 2020/03/13 00:47 by sgriggs