internet over USB OTG problem!

I've been struggling to get the internet working on BB for weeks. I'm
using rev C and Angstrom, on the host side Ubunto running on a macbook
pro (via virtualbox). I managed to ping the BB from the host and vice
versa but no internet. I followed four different tutorials with no
success. Any time I ping any website I get the 'bad address' message.
Any help would be appreciated!

On the beagle:

route add default gw <ip addy of host computer’s usb device>

then open up “/etc/resolv.conf” and add the ip addy of dns server like:

nameserver xxx.xxx.xxx.xxx

This assumes you know how to share your connection, which could be dicey with virtualbox and OSX.

Joe