It took me while to figure this out but it is very rewarding once you finally get it to work.

This configuration is for WPA2-PSK.

You can have a WiPI after these7 Easy Steps.

Open up the command line LX Terminal on the Raspbian GUI.

1. First things first make sure your Raspberry Pi recognizes the device in the USB hub.

lsusb

You should see Bus / Device Edimax Technologies Co. Ltd EW- 7811Un

2.

Check to see if you have the right kernals

lsmod

Look for 8192cu

3. Set up your Network Interface

sudo nano /etc/network/interfaces

Mine is EXACTLY as follows.

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

hit ctrl-x, y to save, then enter

4. Set up WPA Supplicant

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="_YOUR SSID_"
proto=WPA2
key_mgmt=WPA-PSK
pairwise= CCMP TKIP
group= CCMP TKIP
psk="_YOUR PASSWORD"
}

hit ctrl-x, hit y to save, then enter

5. Your network is now configured.

To see if it is working type

iwconfig

You should see wlan0 with your SSID AP and Bit Rate

6. Reboot the Rasp Pi

sudo shutdown -r now
ifconfig wlan0

should have your IP adresss and packets hot!

Let me know if this was helpful/ you have questions

7 comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s