I have at home a Linksys WRT54G router flashed with DD-WRT. I configured it a long time ago so today when i wanted to use the web interface I realised that I forgoted my http username.Luckily i still had telnet access because the telnet username stay’s the same (root). I didn’t want to reset the router back to it’s default settings because that meant i would lose all the settings that I made.
So here is how you reset your http username back to root:
1.) Telnet to the router:
telnet 192.168.1.1 (This is the default IP address, change it accordingly)
2.) Input the username (root) and password:
3.) And finally reset it:
nvram set http_username=4DBfucrfjXL6o
Here is a screenshot of the process:
