Hard reset D-Link DIR-501

Factory reset (Hard reset) Power ON your router. Locate the reset button hole on the rear panel. Use a paperclip to press the button and hold it down for 10 seconds. Release. Wait for a minute until the reset process has finished.
Firmware Firmware link
Default username admin
Default password [leave blank]
Default IP address 192.168.0.1