Bekijk de volledige versie : How to reset password settings?

02-08-2008, 21:49
Hi all,

After installing dd-wrt and seeing that 24 sp1 still needs more work I decided to install Oleg's firmware.
Since direct upgrade failed I used nvram-clear and nvram-recover and the installed Oleg's firmware.
Now the router boots fine , but I can't access it either from telnet or via web interface because it won't accept my password.
I tried admin/admin , admin/"" and the password settings I used with dd-wrt before reformat.
Neither work.
One thing I forgot to mention is that wireless SSID is visible as dd-wrt even though I have run nvram-clear and nvram-recover many times.

02-08-2008, 23:22
I will post the solution in case someone needs it in the future.
First of all i would like to say that nvram-clear and nvram recover didn't work for me even though I tried numerous times.
Now in recover mode I was able to telnet and inspect the nvram.
Sure enough all dd-wrt stuff was there (including encrypted username and password).
I tried resetting them to be blank , but that didn't help either.
Then I decided to try and install the stock firmware.
Strangely this one worked and I was able to login using default username and password.
Just in case I used reset to factory defaults and then reinstalled Oleg's firmware 1-9-27-10 and now I am able to login.

24-10-2011, 13:58
thank god that i found this thread.

I have tried to flash the original firmware, but the usernam abd the password were still there and I couldn't access the web interface neither telnet access.

Actually the solution to this problem is the next one:
1.Flash the DD-WRT firmware responsible for the data in the NVRAM
2.connect to the router using telnet
3.inside the console change the username and the password to admin/admin by using the next comands:
nvram set http_passwd=newpassword commit nvram (for password)
nvram set http_username=newusername commit nvram (for username)

after those steps being completed reflash your router with the desired firmware and everything should work properly.

Break a leg!

16-11-2011, 01:04
I've found another solution based on your experience without flashing firmware.
My problem was that after changing password I was not able to login again to router neither via www interface nor telnet and had to factory reset to get access to www or telnet again.
After factory reset you should be able to login with admin/admin - if not press the button on back of the router for few seconds until it flashes quickly, then reboot.
Login to console via telnet, then
nvram show | grep pass
Look for variables related to http_password or something.
Erase each of them
nvram unset <variable name>
nvram commit

I hope it works - it worked for me at least.