How can I re-enable the web interface of a dd-wrt router with no SSH or telnet connection?

Solution 1:

I recommend following these steps in the future: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=29181

nvram set httpd_enable=1
nvram set http_enable=1
nvram commit

you can just reboot, or start httpd from the commandline

httpd -p 80

I followed them and got mine to work

Solution 2:

SSH and then:

nvram set remote_management=1
nvram set http_wanport=8080 
nvram set httpsd_enable=1 
nvram set https_enable=1
nvram set remote_mgt_https=1 
nvram commit 
reboot 

Then connect:

https://wanIP:8080/