Wifi not connecting to internet?

I’m using the wifi dongle provided with the BrickPi/RPi and have set it up with a static IP. I’m able to connect to it via VNC and SSH, but oddly it can’t access the internet. When I use an ethernet cable directly to the router, I get an internet connection no problem. Is there something I forgot to do? I’d love to get my robots to be internet enabled…

(The reason I’m asking here is due to the fact that the software installed appears different than the usual Raspbian, so I thought I’d check here first!)

Thanks!

I had the same problem. The fix for me was to check my /etc/network/interfaces file because I had one of the addresses wrong, can’t remember which one though sorry.

This is what I have… I just find it odd that I can connect to it from my laptop via wifi, but I can’t get it to connect anywhere…

auto lo

iface lo inet loopback
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0

iface wlan0 inet static
address 192.168.2.31
netmask 255.255.255.0
network 192.168.2.1
broadcast 255.255.255.255
gateway 192.168.2.1
wpa-ssid "[ssid]"
wpa-psk “[passphrase]”

Nevermind all, I figured it out. I needed to add:

dns-nameservers 192.168.2.1

(or whatever DNS I wanted)

This might be a good thing to add to the interfaces.dat file mentioned in http://www.dexterindustries.com/BrickPi/getting-started/using-the-pi/ since that’s what I was going from.

Thanks!