This page outline some useful steps that you can take to diagnose problems with your Mac's Internet access. You've got your broadband service installed, you set up the router (wired or wireless), you set up your Mac, you launch Safari, and you type in http://www.apple.com, and to your disappointment you get a message such as "The server could not be found" or "Unable to open that page after trying for 60 seconds."
The next up will be to try to isolate the problem to a specific component of your network. To connect to the Internet, your Mac must be working properly, it must be able to communicate with the router, the router must be able to communicate with the Internet, and the Mac must be able to communicate through the router to the Internet. The following steps will help you determine which of those links in the chain between your Mac and the website of your choice isn't working.
Router Brand Web Admin URL Apple Airport Use Airport Admin Utility LinkSys http://192.168.1.1 DLink http://192.168.0.1 Belkin http://192.168.2.1 NetGear http://192.168.0.1 SMC http://192.168.2.50 MacSense http://192.168.1.1

If even that much of the connection does not work:
A value starting 169.--.--.-- is definitely self-assigned, meaning it didn't come from the router's DHCP server. That's bad.
If it isn't, then you have failed to obtain and IP address from the Dlink router DHCP server. Make sure the Configure: pulldown menu is set to "Using DHCP". If using OS X 10.3, click the "Renew Lease" button.
LinkSys Advanced / Wireless Netgear Advanced / Wireless DLink Advanced / Performance Belkin Advanced / Performance
If you can't access the Router's Admin a page from the Mac, but you do have a valid IP address:
If it does, then your problem is probably the DNS server.
If that ping command waits a few minutes and then reports "100% packet loss", test on:
If it says that, then it indicates that the Mac is configured to access the Internet via one of these interfaces:
The value reported for the router should match the IP address used in the URL used to contact the routers administration utility, in the case of this Linksys router,
192.168.1.1.
Using the Apple Airport Base Station, you should show a value of 10.0.1.1.
If the interface it displays doesn't match what you expected it to use, open System Preferences, Network pane, and set the Show: pulldown to "Network Port Configurations", as shown earlier on this page, and make sure the interface you want to use is enabled and on the top of the list.
en0 Built-in Ethernet
en1 Airport
pp0 Internal Modem (PPP)
If none of that suggests the solution, then report back with what you discovered, and see if there are other suggestions can be made.
If something above seems missing, confusing or down-right wrong, you can eMail me as car1son at my .Mac account. (Please be very specific at what point things went wrong and how they went wrong.)
Good luck!