This page is for Setting up a USB WiFi dongle on your Raspberry Pi.
This setup information assumes that you are using a WiFi dongle that is already supported by the Kernel. If your WiFi is not supported, then you should search the Raspberry Pi forums for instructions for your adapter. It also assumes that you are using Either; a powered USB hub, or a modified RasPi, or a newer RasPi with the 0ohm (polymeric resettable fuses) polyfuses. Leave your WiFi adapter unplugged for now.
Many people seem to be having trouble getting their USB WiFi adapters to work. Most of the advice so far is towards using hand edited text files for setup. Though it wastes a little bit of memory, there is a way, to setup the WiFi with a application called network-manager-gnome in Raspbian or Wheezy. This allows you to put in your settings, while in the desktop, and have the WiFi work in or out of the desktop.
First I recommend that you update your Raspberry pi. Use “sudo apt-get update”. When complete run “sudo apt-get upgrade”. After that you should also run “sudo rpi-update” (if you installed it). If it says you need to reboot then do it now before continuing. For this to work best you need to be completely up to date especially in your firmware.
Once you have completed those steps you need to run “sudo su”. You need to be at root priveleges to install the next item. Now run,
sudo apt-get install network-manager-gnome. This will take a little while. Once complete I recommend you reboot again. Now run “sudo startx”. You will now enter LXDE. You should see a new icon near the clock. Network Manager will not setup your wireless connection properly unless you are at root priveleges. Once installed you do not need to be root for it to work properly.
Network Manager Settings
- Right click on the new icon choose “Edit Connections”
- Left click the Wireless tab
- left click “Add”
- Enter your “SSID”
- left click the Wireless Security tab
- use the drop down box to choose your security type
- enter your security “passphrase” or your Security “key”
- click save
- Plug in your WiFi adapter.
- Your Wifi should now be working!
Alternately: Edit Network Interfaces;
sudo nano interfaces
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet dhcp
wpa-ssid "Your SSID"
wpa-psk "Your Password"