WLAN Informationen ermitteln per CLI
Dies ist eine Auflistung diverse Tools zur Ermittlung von WLAN-Information bei Linux.
iwlist
Diese Programm hilft, wenn man mehr Informationen über das WLAN haben möchte.
Aktuelle Geschwindigkeit
iwlist wlp3s0 bit | grep "Current" Current Bit Rate=135 Mb/s iwlist wlp3s0 bitrate | grep "Current" Current Bit Rate=135 Mb/s iwlist wlp3s0 rate | grep "Current" Current Bit Rate=135 Mb/s
Aktueller Kanal
iwlist wlp3s0 channel | grep "Current" Current Frequency:5.5 GHz (Channel 100) iwlist wlp3s0 freq | grep "Current" Current Frequency:5.5 GHz (Channel 100) iwlist wlp3s0 frequency | grep "Current" Current Frequency:5.5 GHz (Channel 100)
Scann der Umgebung
iwlist wlp3s0 scan wlp3s0 Scan completed : Cell 01 - Address: 68:92:34:6B:83:4C Channel:100 Frequency:5.5 GHz (Channel 100) Quality=49/70 Signal level=-61 dBm Encryption key:on ESSID:"Heiniger_CNET" Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=0000000005b36846 Extra: Last beacon: 96ms ago IE: Unknown: 000D4865696E696765725F434E4554 IE: Unknown: 01088C129824B048606C IE: Unknown: 030164 IE: Unknown: 070A434820240817640A1E00 IE: Unknown: DD1E00904C33CE011BFFFF000000000000000000001000000000000000000000 IE: Unknown: 2D1ACE011BFFFF000000000000000000001000000000000000000000 IE: Unknown: DD1A00904C3464050000000000000000000000000000000000000000 IE: Unknown: 3D1664050000000000000000000000000000000000000000 IE: Unknown: 7F0400000000 IE: Unknown: DD180050F20201018E0003A4000027A4000042435E0062322F00 IE: Unknown: DD080013920100010525 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK Cell 02 - Address: C8:CB:B8:E8:0C:D1 Channel:13 Frequency:2.472 GHz (Channel 13) Quality=44/70 Signal level=-66 dBm Encryption key:on ESSID:"W30KM98" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 9 Mb/s; 12 Mb/s; 18 Mb/s Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=3200099a7f352ec3 Extra: Last beacon: 3867ms ago IE: Unknown: 00075733304B4D3938 IE: Unknown: 010882848B960C121824 IE: Unknown: 03010D IE: Unknown: 23021300 IE: Unknown: 2A0100 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : 802.1x IE: Unknown: 32043048606C IE: Unknown: 470104 IE: Unknown: 2D1AAC0103FFFF000000000000000000000000000000000000000000 IE: Unknown: 3D160D080400000000000000000000000000000000000000 IE: Unknown: 4A0E14000A002C01C800140005001900 IE: Unknown: 7F0101 IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : TKIP Authentication Suites (1) : 802.1x IE: Unknown: DD180050F20201018E0003A4000027A4000042435E0062322F00 Cell 03 - Address: C8:CB:B8:E8:0C:D0 Channel:13 Frequency:2.472 GHz (Channel 13) Quality=41/70 Signal level=-69 dBm Encryption key:on ESSID:"" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 9 Mb/s; 12 Mb/s; 18 Mb/s Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=0000099a7f352180 Extra: Last beacon: 3871ms ago IE: Unknown: 0000 IE: Unknown: 010882848B960C121824 IE: Unknown: 03010D IE: Unknown: 050400010000 IE: Unknown: 23021300 IE: Unknown: 2A0100 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK IE: Unknown: 32043048606C IE: Unknown: 470104 IE: Unknown: 2D1AAC0103FFFF000000000000000000000000000000000000000000 IE: Unknown: 3D160D080400000000000000000000000000000000000000 IE: Unknown: 4A0E14000A002C01C800140005001900 IE: Unknown: 7F0101 IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : TKIP Authentication Suites (1) : PSK IE: Unknown: DD180050F20201018E0003A4000027A4000042435E0062322F00
/proc/net/wireless
Mit Hilfe dieser Datei kann man das Hintergrundrauschen ermittel und somit auf allfällige Störquellen reagieren.
Hier nun ein Beispiel:
cat /proc/net/wireless Inter-| sta-| Quality | Discarded packets | Missed | WE face | tus | link level noise | nwid crypt frag retry misc | beacon | 22 wlp3s0: 0000 52. -58. -256 0 0 0 45 95 0
Der interessanteste Wert ist noise
, je tiefer dieser ist, desto näher ist man der Störquell.
Der andere Wert ist level
, dieser gibt die Signalstärke in db aus.