Internet Problems

I recently installed Ubuntu version 10.4 and have both Windows 7 and Ubuntu on my computer. When I run Ubuntu, the internet doesn't work. It says there is a connection but when I open Firefox, it says that the homepage can't be found. Any suggestions?