Linux wireless scanning local broadcast SSID list via CLI

From thelinuxwiki
Jump to: navigation, search

scanning for list of available wireless networks

using iwconfig

 iwlist wlan0 scan

using wpa_cli

 #wpa_cli -i wlan0 scan
 #wpa_cli -i wlan0 scan_results
      • wpa_cli can be run in interactive mode
 #wpa_cli
 >scan
 >scan_results