Wireless-setup

From wikipost

Required files and packages to set up Wi-Fi for linux


 apt-get install wpa-supplicant wireless-tools


/etc/network/interfaces

 auto wlan0
 iface wlan0 inet dhcp
   wpa-conf /etc/wpa.conf


/etc/wpa.conf

 network={
 ssid="MYSSID"
 proto=RSN
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk="mypassword"
 }