Wifi setup on the raspberry pi - easy method with WPA
From ETCwiki
Jump to navigationJump to searchIf you just got a Raspberry Pi, here is how to setup the wifi (as long as your hardware is detected!) using command line on Raspbian Wheezy 7 (debian 7 for ARM).
Steps
- Install Raspbian on the pi
- Boot to command line
- Run Command
- sudo nano /etc/network/interfaces
- Replace content with content below
auto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 auto wlan0 iface wlan0 inet dhcp wpa-ssid "ssid" wpa-psk "password"
When you are done, press Ctrl + X, then Y to save before quitting. Reboot the pi, and you should be connected with an IP.