Posted: Tue Apr 24, 2018 13:55 Post subject: startup script
And what about this:
Using an DD-WRT startup script to reset the UI password. The DD-WRT scripts will be run when the router boots, but will not be wiped out when you restore your backup. This way, you can get onto the router, configure the script to reset your password, then restore your backup and reboot. Upon first boot, it should reset your password for you (may need another reboot).
First reset router to default
Login and setup/save startup script to reset username/passw
Load backup and restore router (after restore, router automatically reboot)
Is there any reason that you can not just apply all the settings by hand again?
The restore will wipe out those commands.
What you can do at your own risk is:
1. reset to factory defaults
2. On reboot:
Keep the username the same as what is in your bak file
change the password to something that you know
3. do a nvram backup
4. Open each file and copy the text (between the the special characters) for http_passwd"^@(text_to_copy)^L from the new bakup file to the old one
5. Upload this modified file