source: http://linuxcommando.blogspot.kr/2013/10/how-to-connect-to-wpawpa2-wifi-network.html This is a step-to-step guide for connecting to a WPA/WPA2 WiFi network via the Linux command line interface. The tools are: wpa_supplicant iw ip ping iw is the basic tool for WiFi network-related tasks, such as finding the WiFi device name, and scanning access points. wpa_supplicant is the wireless tool for connecting to a WPA/WPA2 network. ip is used for enabling/disabling devices, and finding out general network interface information. The steps for connecting to a WPA/WPA2 network are: Find out the wireless device name. $ /sbin/iw dev phy#0 Interface wlan0 ifindex 3 type managed The above output showed that the system has 1 physical WiFi card, designated as phy#0 . The device name is wlan0 . The type specifies the operation mode of the wireless device. managed means the device is a WiFi station or client that connects to an access point. Check that the wireless