Are you using wireless encryption? This assumes you are not:
in a terminal to find the name of your wireless interface.
Suppose it is wlan0
Make the interfaces file look like this:
iface lo inet loopback
iface wlan0 inet dhcp
Then reboot or do sudo /etc/init.d/networking restart