If you can't log on to web gui, give your nic a static address (like 192.168.1.12), default netmask and gateway 192.168.1.1. When flashed and rebooted, clear nvram by pressing the wps button while powering on. Finally, set your nic to receive an ip address automatically from the router's dhcp...