Wednesday, October 17, 2012

Setup WiFi (WPA2) connection on ubuntu via terminal



Add this: 

auto wlan0
iface wlan0 inet dhcp
wpa-ssid SSID
wpa-psk "password to wifi" 


  • wlan0 - name of the wireless interface 
  • auto wlan0 - auto connect on start 

To connect manually run command:

ifup wlan0

No comments:

Post a Comment