przejście do zawartości
Jan Kończak
Narzędzia użytkownika
Zaloguj
Narzędzia witryny
Narzędzia
Pokaż stronę
Poprzednie wersje
Odnośniki
Ostatnie zmiany
Menadżer multimediów
Indeks
Zaloguj
Ostatnie zmiany
Menadżer multimediów
Indeks
Jesteś tutaj:
start
»
sk2
»
wlan
»
linux_basic_commands-examples
sk2:wlan:linux_basic_commands-examples
Ta strona jest tylko do odczytu. Możesz wyświetlić źródła tej strony ale nie możesz ich zmienić.
==== Przykładowe wyniki komend ==== ++++ iw dev / iw [dev] <if> info | <html><pre> <b>lab-sec-1:~ # iw dev</b> phy#0 Interface wlan0 ifindex 5 wdev 0x1 addr 94:e6:f7:17:08:72 type managed txpower 0.00 dBm <b>lab-sec-1:~ # iw wlan0 info</b> Interface wlan0 ifindex 5 wdev 0x1 addr 94:e6:f7:17:08:72 type managed wiphy 0 txpower 0.00 dBm </pre></html> ++++ ++++ iw phy | <html><pre> <b>lab-sec-1:~ # iw phy</b> Wiphy phy0 max # scan SSIDs: 20 max scan IEs length: 422 bytes max # sched scan SSIDs: 20 max # match sets: 11 max # scan plans: 2 max scan plan interval: 65535 max scan plan iterations: 254 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Device supports RSN-IBSS. Device supports AP-side u-APSD. Device supports T-DLS. <span style="background-color:rgba(255,0,0,0.2)" title="Sprzętowo wspierane szyfrowanie, wykorzystywane w zabezpieczeniach m. inn. WPA"> Supported Ciphers: * WEP40 (00-0f-ac:1) * WEP104 (00-0f-ac:5) * TKIP (00-0f-ac:2) * CCMP-128 (00-0f-ac:4) * GCMP-128 (00-0f-ac:8) * GCMP-256 (00-0f-ac:9) * CMAC (00-0f-ac:6) * GMAC-128 (00-0f-ac:11) * GMAC-256 (00-0f-ac:12)</span> <span style="background-color:rgba(0,0,255,0.15)" title="Maska binarna informująca o ilości anten - np. 0x7 to 3 anteny, a 0x5 to pierwsza i trzecia antenta"> Available Antennas: TX 0x3 RX 0x3 Configured Antennas: TX 0x3 RX 0x3</span> <span style="background-color:rgba(0,255,0,0.2)" title="Wspierane tryby pracy karty (wspierane kombinacje są niżej)"> Supported interface modes: * IBSS * managed * AP * AP/VLAN * monitor * P2P-client * P2P-GO * P2P-device</span> <div style="background-color:rgba(255,255,0,0.05)" title="Informacje o pierwszym paśmie"> Band 1: <span style="background-color:rgba(255,127,127,0.15)" title="Wspierane opcje, dotyczy głównie standardu 802.11n (High Throughput)"> Capabilities: 0x19ef RX LDPC <span style="background-color:rgba(255,0,0,0.15)" title="Wsparcie dla kanałów 20 i 40 MHz">HT20/HT40</span> SM Power Save disabled RX HT20 <span style="background-color:rgba(255,0,0,0.15)" title="Wsparcie dla krótkich pauz - Short Guard Interval">SGI</span> RX HT40 <span style="background-color:rgba(255,0,0,0.15)" title="Wsparcie dla krótkich pauz - Short Guard Interval">SGI</span> TX STBC RX STBC 1-stream Max AMSDU length: 7935 bytes DSSS/CCK HT40</span> Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) <span style="background-color:rgba(255,0,0,0.15)" title="Indeksy wspieranych par modulacji i kodowania w 802.11n (i wynikająca z nich maksymalna prędkość)"> HT Max RX data rate: 300 Mbps HT TX/RX MCS rate indexes supported: 0-15</span> Bitrates (non-HT): * 1.0 Mbps * 2.0 Mbps (short preamble supported) * 5.5 Mbps (short preamble supported) * 11.0 Mbps (short preamble supported) * 6.0 Mbps * 9.0 Mbps * 12.0 Mbps * 18.0 Mbps * 24.0 Mbps * 36.0 Mbps * 48.0 Mbps * 54.0 Mbps Frequencies: <span style="background-color:rgba(255,0,0,0.15)" title="Lista dostępnych kanałów / częstotliwości"> * 2412 MHz [1] (22.0 dBm) * 2417 MHz [2] (22.0 dBm) * 2422 MHz [3] (22.0 dBm) * 2427 MHz [4] (22.0 dBm) * 2432 MHz [5] (22.0 dBm) * 2437 MHz [6] (22.0 dBm) * 2442 MHz [7] (22.0 dBm) * 2447 MHz [8] (22.0 dBm) * 2452 MHz [9] (22.0 dBm) * 2457 MHz [10] (22.0 dBm) * 2462 MHz [11] (22.0 dBm) * 2467 MHz [12] (22.0 dBm) * 2472 MHz [13] (22.0 dBm) * 2484 MHz [14] (22.0 dBm)</span></div><div style="background-color:rgba(0,255,255,0.05)" title="Informacje o drugim paśmie"> Band 2: Capabilities: 0x19ef RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 7935 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT Max RX data rate: 300 Mbps HT TX/RX MCS rate indexes supported: 0-15 <span style="background-color:rgba(255,127,127,0.15)" title="Wspierane opcje standardu 802.11ac (Very High Throughput)"> VHT Capabilities (0x039071f6): Max MPDU length: 11454 <span style="background-color:rgba(255,0,0,0.15)" title="Wsparcie dla kanałów do szerokości 160MHz">Supported Channel Width: 160 MHz</span> RX LDPC short GI (80 MHz) short GI (160/80+80 MHz) TX STBC <span style="background-color:rgba(255,0,0,0.15)" title="Karta umie dograć z nadawcą kształtowanie sygnału (beamforming) podczas transmisji do jednego/wielu użytkonwików">SU Beamformee</span> <span style="background-color:rgba(255,0,0,0.15)" title="Karta umie dograć z nadawcą kształtowanie sygnału (beamforming) podczas transmisji do jednego/wielu użytkonwików">MU Beamformee</span></span> <span style="background-color:rgba(127,255,127,0.15)" title="Indeksy wspieranych par modulacji i kodowania w 802.11ac dla różnych liczb anten"> VHT RX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 0 Mbps VHT TX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 0 Mbps</span> Bitrates (non-HT): * 6.0 Mbps * 9.0 Mbps * 12.0 Mbps * 18.0 Mbps * 24.0 Mbps * 36.0 Mbps * 48.0 Mbps * 54.0 Mbps Frequencies: * 5180 MHz [36] (22.0 dBm) * 5200 MHz [40] (22.0 dBm) * 5220 MHz [44] (22.0 dBm) * 5240 MHz [48] (22.0 dBm) * 5260 MHz [52] (22.0 dBm) * 5280 MHz [56] (22.0 dBm) * 5300 MHz [60] (22.0 dBm) * 5320 MHz [64] (22.0 dBm) * 5340 MHz [68] (22.0 dBm) * 5360 MHz [72] (22.0 dBm) * 5380 MHz [76] (22.0 dBm) * 5400 MHz [80] (22.0 dBm) * 5420 MHz [84] (22.0 dBm) * 5440 MHz [88] (22.0 dBm) * 5460 MHz [92] (22.0 dBm) * 5480 MHz [96] (22.0 dBm) * 5500 MHz [100] (22.0 dBm) * 5520 MHz [104] (22.0 dBm) * 5540 MHz [108] (22.0 dBm) * 5560 MHz [112] (22.0 dBm) * 5580 MHz [116] (22.0 dBm) * 5600 MHz [120] (22.0 dBm) * 5620 MHz [124] (22.0 dBm) * 5640 MHz [128] (22.0 dBm) * 5660 MHz [132] (22.0 dBm) * 5680 MHz [136] (22.0 dBm) * 5700 MHz [140] (22.0 dBm) * 5720 MHz [144] (22.0 dBm) * 5745 MHz [149] (22.0 dBm) * 5765 MHz [153] (22.0 dBm) * 5785 MHz [157] (22.0 dBm) * 5805 MHz [161] (22.0 dBm) * 5825 MHz [165] (22.0 dBm) * 5845 MHz [169] (22.0 dBm) * 5865 MHz [173] (22.0 dBm) * 5885 MHz [177] (22.0 dBm) * 5905 MHz [181] (22.0 dBm)</div> Supported commands: * new_interface * set_interface * new_key * start_ap * new_station * new_mpath * set_mesh_config * set_bss * authenticate * associate * deauthenticate * disassociate * join_ibss * join_mesh * remain_on_channel * set_tx_bitrate_mask * frame * frame_wait_cancel * set_wiphy_netns * set_channel * set_wds_peer * tdls_mgmt * tdls_oper * start_sched_scan * probe_client * set_noack_map * register_beacons * start_p2p_device * set_mcast_rate * connect * disconnect * channel_switch * set_qos_map * add_tx_ts * Unknown command (121) Supported TX frame types: * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 Supported RX frame types: * IBSS: 0x40 0xb0 0xc0 0xd0 * managed: 0x40 0xb0 0xd0 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * mesh point: 0xb0 0xc0 0xd0 * P2P-client: 0x40 0xd0 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * P2P-device: 0x40 0xd0 WoWLAN support: * wake up on disconnect * wake up on magic packet * wake up on pattern match, up to 20 patterns of 16-128 bytes, maximum packet offset 0 bytes * can do GTK rekeying * wake up on GTK rekey failure * wake up on EAP identity request * wake up on 4-way handshake * wake up on rfkill release * wake up on network detection, up to 11 match sets <span style="background-color:rgba(0,255,0,0.2)" title="Wspierane kombinacje trybów pracy karty"> software interface modes (can always be added): * AP/VLAN * monitor valid interface combinations: * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1, total <= 3, #channels <= 2</span> HT Capability overrides: * MCS: ff ff ff ff ff ff ff ff ff ff * maximum A-MSDU length * supported channel width * short GI for 40 MHz * max A-MPDU length exponent * min MPDU start spacing Device supports TX status socket option. Device supports HT-IBSS. Device supports SAE with AUTHENTICATE command Device supports low priority scan. Device supports scan flush. Device supports per-vif TX power setting P2P GO supports CT window setting P2P GO supports opportunistic powersave setting Driver supports full state transitions for AP/GO clients Driver supports a userspace MPM Driver/device bandwidth changes during BSS lifetime (AP/GO mode) Device adds DS IE to probe requests Device can update TPC Report IE Device supports static SMPS Device supports dynamic SMPS Device supports WMM-AC admission (TSPECs) Device supports configuring vdev MAC-addr on create. Device supports VHT-IBSS. </pre></html> ++++ ++++ zmiana tryby pracy i kanału / częstotliwości | <html><pre> <b>lab-sec-1:~ # ip link set wlan0 down</b> <b>lab-sec-1:~ # iw wlan0 set type monitor</b> <b>lab-sec-1:~ # ip link set wlan0 up</b> <b>lab-sec-1:~ # iw wlan0 info</b> Interface wlan0 ifindex 5 wdev 0x1 addr 94:e6:f7:17:0f:b1 type monitor wiphy 0 channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz txpower 0.00 dBm <b>lab-sec-1:~ # iw wlan0 set channel 1 <span style="background-color:rgba(0,0,0,0.15)" title="HT40+ oznacza że kanał ma mieć 40MHz i być połączeniem głównego kanału (tutaj: 1) z kolejnym nienakładającym się kanałem o wyższym numerze (tutaj: 5)">HT40+</span></b> <b>lab-sec-1:~ # iw wlan0 info</b> Interface wlan0 ifindex 5 wdev 0x1 addr 94:e6:f7:17:0f:b1 type monitor wiphy 0 channel 1 (2412 MHz), width: 40 MHz, center1: 2422 MHz txpower 0.00 dBm <b>lab-sec-1:~ # iw dev wlan0 set freq <span style="background-color:rgba(255,0,0,0.15)" title="Główny kanał (primary channel) numer 20MHz kanału używany jeśli druga strona nie obsługuje szerszych kanałów">5180</span> <span style="background-color:rgba(0,255,0,0.15)" title="Szerokość kanału">160</span> <span style="background-color:rgba(0,0,255,0.1)" title="Środek kanału o podanej wcześniej szerokości">5250</span></b> <b>lab-sec-1:~ # iw wlan0 info </b> Interface wlan0 ifindex 5 wdev 0x1 addr 94:e6:f7:17:0f:b1 type monitor wiphy 0 channel 36 (5180 MHz), width: 160 MHz, center1: 5250 MHz txpower 0.00 dBm </pre></html> ++++ ++++ iw <if> scan | <html><pre> <b>lab-sec-1:~ # iw wlan0 scan</b> (…) BSS <span style="background-color:rgba(255,0,0,0.15)" title="BSSID">94:9b:2c:09:86:10</span>(on wlan0) last seen: 1707.440s [boottime] TSF: 7310209378470 usec (84d, 14:36:49) <span style="background-color:rgba(255,255,0,0.1)" title="Kanał / częstotliwość na jakiej znaleziono sieć">freq: 5180</span> beacon interval: 100 TUs capability: ESS Privacy SpectrumMgmt ShortSlotTime RadioMeasure (0x1511) signal: -76.00 dBm last seen: 0 ms ago Information elements from Probe Response frame: <span style="background-color:rgba(255,0,0,0.15)" title="SSID / ESSID">SSID: eduroam</span> Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 <span style="background-color:rgba(255,255,0,0.1)" title="Kanał / częstotliwość na jakiej działa sieć">DS Parameter set: channel 36</span> Country: PL Environment: Indoor only Channels [36 - 64] @ 23 dBm Channels [100 - 140] @ 30 dBm BSS Load: * station count: 9 * channel utilisation: 15/255 * available admission capacity: 31250 [*32us] TPC report: TX power: 16 dBm Power constraint: 0 dB HT capabilities: Capabilities: 0x86f RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 7935 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: No restriction (0x00) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 36 * secondary channel offset: above * STA channel width: any * RIFS: 0 * HT protection: no * non-GF present: 1 * 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: HT Information Exchange Supported, Extended Channel Switching, Proxy ARP Service, SSID List, 6 VHT capabilities: VHT Capabilities (0x33895832): Max MPDU length: 11454 Supported Channel Width: neither 160 nor 80+80 RX LDPC short GI (80 MHz) SU Beamformer SU Beamformee MU Beamformer RX antenna pattern consistency TX antenna pattern consistency VHT RX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 0 Mbps VHT TX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 0 Mbps VHT operation: * channel width: 0 (20 or 40 MHz) * center freq segment 1: 0 * center freq segment 2: 0 * VHT basic MCS set: 0xfffc WMM: * Parameter version 1 * 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 <span style="background-color:rgba(0,0,255,0.1)" title="Informacje o zabezpieczeniach sieci"> RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: IEEE 802.1X * Capabilities: 1-PTKSA-RC 1-GTKSA-RC MFP-capable (0x0080)</span> BSS <span style="background-color:rgba(255,0,0,0.15)" title="BSSID drugiej sieci BSS wchodzącej w skład ESS eduroam">94:9b:2c:0a:78:f0</span>(on wlan0) last seen: 1887.729s [boottime] TSF: 8138126260614 usec (94d, 04:35:26) freq: 5220 beacon interval: 100 TUs capability: ESS Privacy SpectrumMgmt ShortSlotTime RadioMeasure (0x1511) signal: -85.00 dBm last seen: 12 ms ago Information elements from Probe Response frame: <span style="background-color:rgba(255,0,0,0.15)">SSID: eduroam</span></span> (…) </pre></html> ++++ ++++ inny, przydługi wynik komendy 'iw <if> scan' dla 2 sieci 802.11ax | BSS 94:3c:96:01:23:45(on wlan0) TSF: 269206425661 usec (3d, 02:46:46) freq: 5500 beacon interval: 100 TUs capability: ESS Privacy SpectrumMgmt RadioMeasure (0x1111) signal: -85.00 dBm last seen: 15377 ms ago SSID: Orange_Swiatlowod_ABCD Supported rates: 6.0* 9.0 12.0 18.0 24.0* 36.0 48.0 54.0 TIM: DTIM Count 1 DTIM Period 3 Bitmap Control 0x0 Bitmap[0] 0x0 Country: PL Environment: bogus Channels [36 - 64] @ 23 dBm Channels [100 - 140] @ 30 dBm Power constraint: 0 dB TPC report: TX power: 22 dBm RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c) BSS Load: * station count: 0 * channel utilisation: 4/255 * available admission capacity: 0 [*32us] AP Channel Report: * operating class: 4 * channel(s): 11 RM enabled capabilities: Capabilities: 0x33 0x4f 0x00 0x00 0x00 Link Measurement Neighbor Report Beacon Passive Measurement Beacon Active Measurement Frame Measurement Channel Load Noise Histogram Measurement Statistics Measurement Transmit Stream/Category Measurement Nonoperating Channel Max Measurement Duration: 0 Measurement Pilot Capability: 0 Supported operating classes: * current operating class: 129 * operating class: 1 * operating class: 2 * operating class: 3 * operating class: 5 * operating class: 6 * operating class: 7 * operating class: 8 * operating class: 9 * operating class: 10 * operating class: 115 * operating class: 116 * operating class: 117 * operating class: 118 * operating class: 119 * operating class: 120 * operating class: 121 * operating class: 122 * operating class: 123 * operating class: 128 * operating class: 129 HT capabilities: Capabilities: 0x1e3 RX LDPC HT20/HT40 Static SM Power Save RX HT20 SGI RX HT40 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: 4 usec (0x05) HT RX MCS rate indexes supported: 0-31 HT TX MCS rate indexes are undefined HT operation: * primary channel: 100 * secondary channel offset: above * STA channel width: any * RIFS: 0 * 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 Extended capabilities: * Extended Channel Switching * Event * BSS Transition * Interworking * Operating Mode Notification * Channel Schedule Management * Channel Schedule Management * Max Number Of MSDUs In A-MSDU is 802.11u Interworking: Network Options: 0x0 Network Type: 0 (Private) 802.11u Advertisement: Query Response Info: 0x7f Query Response Length Limit: 127 ANQP VHT capabilities: VHT Capabilities (0x0f8b79f6): Max MPDU length: 11454 Supported Channel Width: 160 MHz RX LDPC short GI (80 MHz) short GI (160/80+80 MHz) TX STBC SU Beamformer SU Beamformee MU Beamformer VHT RX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: MCS 0-9 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 0 Mbps VHT TX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: MCS 0-9 4 streams: MCS 0-9 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 0 Mbps VHT extended NSS: supported VHT operation: * channel width: 1 (80 MHz) * center freq segment 1: 106 * center freq segment 2: 114 * VHT basic MCS set: 0x0000 Transmit Power Envelope: * Local Maximum Transmit Power For 20 MHz: 23 dBm * Local Maximum Transmit Power For 40 MHz: 23 dBm * Local Maximum Transmit Power For 80 MHz: 23 dBm * Local Maximum Transmit Power For 160/80+80 MHz: 23 dBm HE capabilities: HE MAC Capabilities (0x000112081000): +HTC HE Supported BSR OM Control Maximum A-MPDU Length Exponent: 2 OM Control UL MU Data Disable RX HE PHY Capabilities: (0x4c2002c06f5b951800cc00): HE40/HE80/5GHz HE160/5GHz 242 tone RUs/5GHz LDPC Coding in Payload NDP with 4x HE-LTF and 3.2us GI Rx HE MU PPDU from Non-AP STA SU Beamformer SU Beamformee MU Beamformer Beamformee STS <= 80Mhz: 3 Beamformee STS > 80Mhz: 3 Sounding Dimensions <= 80Mhz: 3 Sounding Dimensions > 80Mhz: 3 Ng = 16 SU Feedback Codebook Size SU Feedback Triggered SU Beamforming Feedback Triggered CQI Feedback PPE Threshold Present Max NC: 3 TX 1024-QAM RX 1024-QAM HE RX MCS and NSS set <= 80 MHz 1 streams: MCS 0-11 2 streams: MCS 0-11 3 streams: MCS 0-11 4 streams: MCS 0-11 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported HE TX MCS and NSS set <= 80 MHz 1 streams: MCS 0-11 2 streams: MCS 0-11 3 streams: MCS 0-11 4 streams: MCS 0-11 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported HE RX MCS and NSS set 160 MHz 1 streams: MCS 0-11 2 streams: MCS 0-11 3 streams: MCS 0-11 4 streams: MCS 0-11 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported HE TX MCS and NSS set 160 MHz 1 streams: MCS 0-11 2 streams: MCS 0-11 3 streams: MCS 0-11 4 streams: MCS 0-11 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported PPE Threshold 0x7b 0x1c 0xc7 0x71 0x1c 0xc7 0x71 0x1c 0xc7 0x71 0x1c 0xc7 0x71 Unknown Extension ID (36): 04 00 01 35 fc ff Unknown Extension ID (38): 00 00 a4 08 20 a4 08 40 43 08 60 32 08 Vendor specific: OUI 00:26:86, data: 14 01 WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * AP setup locked: 0x01 * RF Bands: 0x3 * Version2: 2.0 Vendor specific: OUI 00:90:4c, data: 04 17 Vendor specific: OUI 00:10:18, data: 02 00 00 9c 00 00 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 BSS e8:c7:cf:12:34:56(on wlan0) TSF: 939636729168 usec (10d, 21:00:36) freq: 2452 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble ShortSlotTime APSD RadioMeasure (0x1c31) signal: -86.00 dBm last seen: 9604 ms ago Information elements from Probe Response frame: SSID: MyNetwork Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 DS Parameter set: channel 9 ERP: <no flags> Extended supported rates: 6.0 12.0 24.0 48.0 RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC MFP-capable (0x0080) * 0 PMKIDs * Group mgmt cipher suite: AES-128-CMAC HT capabilities: Capabilities: 0x19ef RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 7935 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-15, 32 HT TX MCS rate indexes are undefined HT operation: * primary channel: 9 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: 20 MHz * non-GF present: 1 * 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: * HT Information Exchange Supported * BSS Transition * Interworking * Max Number Of MSDUs In A-MSDU is unlimited BSS Load: * station count: 7 * channel utilisation: 13/255 * available admission capacity: 31250 [*32us] 802.11u Interworking: Network Options: 0x0 Network Type: 0 (Private) Venue Group: 0 (Unspecified) Venue Type: 8 HESSID: 00:00:00:00:00:00 802.11u Advertisement: Query Response Info: 0x7f Query Response Length Limit: 127 ANQP 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 RM enabled capabilities: Capabilities: 0x02 0x00 0x01 0x00 0x00 Neighbor Report AP Channel Report Nonoperating Channel Max Measurement Duration: 0 Measurement Pilot Capability: 0 AP Channel Report: * operating class: 83 * channel(s): 1 2 3 4 5 6 7 8 9 Power constraint: 0 dB TPC report: TX power: 22 dBm Transmit Power Envelope: Country: CE Environment: bogus Channels [1 - 9] @ 20 dBm VHT capabilities: VHT Capabilities (0x33c979b1): Max MPDU length: 7991 Supported Channel Width: neither 160 nor 80+80 RX LDPC short GI (80 MHz) TX STBC SU Beamformer SU Beamformee MU Beamformer +HTC-VHT RX antenna pattern consistency TX antenna pattern consistency VHT RX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 360 Mbps VHT TX MCS set: 1 streams: MCS 0-9 2 streams: MCS 0-9 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 360 Mbps VHT extended NSS: not supported VHT operation: * channel width: 0 (20 or 40 MHz) * center freq segment 1: 9 * center freq segment 2: 0 * VHT basic MCS set: 0xfffc HE capabilities: HE MAC Capabilities (0x00011a081044): +HTC HE Supported BSR OM Control Maximum A-MPDU Length Exponent: 3 BQR A-MSDU in A-MPDU OM Control UL MU Data Disable RX HE PHY Capabilities: (0x0220ce926f09af08000c00): HE40/2.4GHz LDPC Coding in Payload NDP with 4x HE-LTF and 3.2us GI STBC Tx <= 80MHz STBC Rx <= 80MHz Full Bandwidth UL MU-MIMO Partial Bandwidth UL MU-MIMO DCM Max Constellation: 2 DCM Max Constellation Rx: 2 SU Beamformer SU Beamformee MU Beamformer Beamformee STS <= 80Mhz: 3 Beamformee STS > 80Mhz: 3 Sounding Dimensions <= 80Mhz: 1 Sounding Dimensions > 80Mhz: 1 Codebook Size SU Feedback Codebook Size MU Feedback Triggered SU Beamforming Feedback Triggered MU Beamforming Feedback Partial Bandwidth Extended Range PPE Threshold Present Max NC: 1 TX 1024-QAM RX 1024-QAM HE RX MCS and NSS set <= 80 MHz 1 streams: MCS 0-11 2 streams: MCS 0-11 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported HE TX MCS and NSS set <= 80 MHz 1 streams: MCS 0-11 2 streams: MCS 0-11 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported PPE Threshold 0x19 0x1c 0xc7 0x71 Unknown Extension ID (36): f4 3f 00 04 fc ff Unknown Extension ID (39): 03 Unknown Extension ID (38): 00 00 ff 00 20 ff 00 40 ff 00 60 ff 00 WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 00000000-0000-0000-0000-000000000000 * Manufacturer: T-Mobile * Model: T-Mobile 5G Box IDU * Model Number: AX1800_PL * Serial Number: 0000LN100000 * Primary Device Type: 6-0050f204-1 * Device name: T-Mobile 5G Box IDU * Config methods: Label * RF Bands: 0x1 * Version2: 2.0 Vendor specific: OUI 00:0c:43, data: 08 00 00 00 Vendor specific: OUI 00:0c:e7, data: 08 00 00 00 bf 0c b1 01 c0 33 2a ff 92 04 2a ff 92 04 c0 05 00 00 00 2a ff c3 03 01 02 02 WFA 0x16, data: 01 01 40 Unknown IE (240): 00 00 ++++ ++++ konfiguracja sieci ad-hoc | <html><pre> <b>lab-sec-1:~ # iw wlan0 set type ibss</b> <b>lab-sec-1:~ # ip l set dev wlan0 up</b> <b>lab-sec-1:~ # iw wlan0 info</b> Interface wlan0 ifindex 5 wdev 0x1 addr 94:e6:f7:17:0f:b1 type IBSS wiphy 0 txpower 0.00 dBm <b>lab-sec-1:~ # iw wlan0 ibss join ExampleIBSS 2472 HT40-</b> <b>lab-sec-1:~ # iw wlan0 link</b> <span style="background-color:rgba(0,255,0,0.1)" title="Po zleceniu dołączenia do sieci wpierw sprawdza się czy sieć nie istnieje i dołącza do istniejącej albo tworzy nową. Stąd przez chwilę jest raportowany brak połączenia.">Not connected.</span> <b>lab-sec-1:~ # iw wlan0 link</b> Joined IBSS 4a:65:c8:86:c3:6a (on wlan0) SSID: ExampleIBSS freq: 2472 <b>lab-sec-1:~ # iw wlan0 info</b> Interface wlan0 ifindex 5 wdev 0x1 addr 94:e6:f7:17:0f:b1 ssid ExampleIBSS type IBSS wiphy 0 channel 13 (2472 MHz), width: 40 MHz, center1: 2462 MHz txpower 22.00 dBm <b>lab-sec-2:~ # iw wlan0 scan</b> BSS 4a:65:c8:86:c3:6a(on wlan0) last seen: 2195.057s [boottime] TSF: 33016826 usec (0d, 00:00:33) freq: 2472 beacon interval: 100 TUs capability: IBSS (0x0002) signal: -47.00 dBm last seen: 0 ms ago SSID: ExampleIBSS Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 DS Parameter set: channel 13 IBSS ATIM window: 0 TUs Extended supported rates: 24.0 36.0 48.0 54.0 HT capabilities: Capabilities: 0x19ef RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 7935 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT Max RX data rate: 300 Mbps HT TX/RX MCS rate indexes supported: 0-15 HT operation: * primary channel: 13 * secondary channel offset: below * STA channel width: any * RIFS: 0 * 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 WMM: information: 01 00 </pre></html> ++++
sk2/wlan/linux_basic_commands-examples.txt
· ostatnio zmienione: 2023/12/06 23:43 przez
jkonczak
Narzędzia strony
Pokaż stronę
Poprzednie wersje
Odnośniki
Złóż / rozłóż wszystko
Do góry