To setup the wireless connection on the Raspberry Pi you will need to:
- Buy a USB wireless adapter such as this one
- Plug it into the USB slot on your Raspberry Pi
- Configure it to join a wireless network
To configure the Raspberry Pi to connect to a wireless network perform the following steps:
Login to your Raspberry Pi either with a keyboard and mouse connected by pressing ‘startx’ at the prompt, or connect remotely using VNC viewer as shown in this post.
The first thing to do is double click on the wireless config item on the start screen:

Double click on the wireless configuration icon in order to add password details for your wireless network.
This will bring up the following prompt:
You then need to click on the Scan button:
Double click on the network you want to connect to which should bring up the following screen:
You can then enter your password into the PSK field and click Add. Note that you may need to change the encryption method to the one that your wireless network uses:
From a terminal you should now be able to ping google:
You can also inspect the network connection by typing the following into a terminal:
sudo /sbin/ifconfig
This should give you a screen similar to the following:
Pingback: Set up remote access to your Raspberry Pi | Pi-Cars