Hard reset D-Link DIR-865L

Factory reset (Hard reset) Power ON the router. The reset button ‘hole’ is located on the side of the router (above the power switch) and is marked with red. Press in the hole with a thin object and hold for 6 seconds. Release. Wait for 1 min for the router to reboot.
Firmware Firmware link
Default username admin
Default password [leave blank]
Default IP address 192.168.0.1