Wifi setup on the raspberry pi - easy method with WPA

From ETCwiki
Jump to navigationJump to search

If 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

  1. Install Raspbian on the pi
  2. Boot to command line
  3. Run Command
    1. sudo nano /etc/network/interfaces
  4. 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.

External Links