Linuxで無線LANのアクセスポイントを一覧表示する!(iwlist)

Linuxで、iwlistコマンドを使用して、無線LAN(Wi-Fi)のアクセスポイントを一覧表示します。

無線LANのネットワークインターフェースを確認する!

iwlistコマンドを実行して、無線LANのネットワークインターフェースを指定して、無線LANのアクセスポイントを確認します。

$ sudo iwlist wlp3s0 scan
wlp3s0    Scan completed :
          Cell 01 - Address: 88:57:EE:86:B9:6B
                    Channel:44
                    Frequency:5.22 GHz (Channel 44)
                    Quality=69/70  Signal level=-41 dBm  
                    Encryption key:on
                    ESSID:"lakeside-c5"
                    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=000001764664699e
                    Extra: Last beacon: 172ms ago
                    IE: Unknown: 000B6C616B65736964652D6335
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 03012C
                    IE: Unknown: 2D1A6F0017FFFF0000010000000000000000000000000C1406A60800
                    IE: Unknown: 3D162C050400000000000000000000000000000000000000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 7F080000000000000000
                    IE: Unknown: DD180050F2020101000003A5000027A4000042435E0062322F00
                    IE: Unknown: 200103
                    IE: Unknown: C304020F0F00
                    IE: Unknown: 07064A5020241310
                    IE: Unknown: BF0C3028C131FAFF0C03FAFF0C03
                    IE: Unknown: C005012A00FAFF
                    IE: Unknown: DD850050F204104A0001101044000102103B000103104700102880288028801880A8808857EE86B96A1021000C42756666616C6F20496E632E1023000C5753522D3131363644485032102400065254323836301042000831323334353637381054000800060050F20400011011000357505310080002208C103C0001021049000600372A000120
                    IE: Unknown: DD07000C4304000000
                    IE: Unknown: DD07000CE700000000
                    IE: Unknown: DD09000740010109000000
          Cell 02 - Address: 36:76:C5:46:76:32
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=31/70  Signal level=-79 dBm  
                    Encryption key:on
                    ESSID:"Guest30258"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000007a1427cf4
                    Extra: Last beacon: 5160ms ago
                    IE: Unknown: 000A47756573743330323538
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030101
                    IE: Unknown: 32040C183060
                    IE: Unknown: 33082001020304050607
                    IE: Unknown: 33082105060708090A0B
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0104
                    IE: Unknown: 2D1AEE1117FFFF0000010000000000000000000000000C0000000000
                    IE: Unknown: 3D1601000000000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B05000086127A
                    IE: Unknown: DD07000C4307000000
...

おわりに

Linuxで無線LANのアクセスポイントを探す場合は、iwlistコマンドを使用します。

関連記事