Setup Wireless Network Access on Rapsberry Pi



This information was taken largely from here.

Once an acceptable wireless dongle is attached to the Pi, the device should be able to recognize available networks. The shell command is

Your network ID should appear after "ESSID:". Open the network configuration file using nano.

At the end of the file, add the following lines:

Here, the values inside the quotation marks should be replaced by your network ID and login password. I did include a tab character at the beginning of the two lines, but I'm not sure that it's necessary. After saving the configuration file and exiting nano, your network adapter should eventually reset, but I went ahead and reset it manually using the following commands:

If successful, you should now be able to run the command  and your new IP address under "inet addr:". You can also try to ping google by typing the command.

I also had some issues getting the wireless to startup on reboot. There are a few changes that need to be made here: Change the first line to Then at the bottom, add or edit the following:  allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp

