In general, routers work if configured properly and have updated firmware. What is the model number of your D-Link router?

Specifically, what error message are you getting that says the router is the cause?