I have a D-Link DIR615 router and mine works just fine, but without knowing how yours is set up, it is impossible to say what the problem is. I assume you have some sort of security password and/or only allow specific MAC addresses into your system.
Help us help you by giving us more information please.