I was playing with the webmin of dd-wrt and lost access to it.
Fortunately I had the ssh port enabled.
To recover the web access, log in to the router and run the below commands.
I got access and lessons learned
Continue Reading...
- https://router-ip throws up connection error
- http://router-ip throws up invalid url
Fortunately I had the ssh port enabled.
To recover the web access, log in to the router and run the below commands.
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
I got access and lessons learned
Very important to take backup from the webaccess in the administration section and under backup
- Direct url: http://192.168.1.1/config.asp
- In the above case my router ip is 192.168.1.1
Have an secure alternative access to the router ssh or telnet.
If you have an dd-wrt router working well PLEASE do take a backup of the settings.
Now I have a backup file and peace of mind.
- IF there is a backup then life is easy.
- Perform hard reset and recover from the backup file.