Well your technically not accessing the router settings through the internet. Just through the browser.
Okay I think I see your problem. Have you tried doing a hard reset? Holding the little "reset" button on the back of the router for about 15 seconds while its powered on? You should see all the lights blinking like crazy.
Normally you would configure your router first through a wired connection, but if your modem is far away from your computer (assuming its a desktop) you can always just take the router, get a Ethernet cable, and plug one end into the router, and the other into your network port on the back of your computer. Give yourself a static IP like:
(Assuming the DG is 192.168.1.1. Linksys uses the 1.1 while D-link uses 0.1)
Then open up your browser and type in the default gateway and you should be able to get to the router settings.
Hope this helps if you haven't tried it!
Edited by Mr-Bee19, 03 December 2008 - 02:35 PM.