I lost/forgot my Openwrt root pw and asked about this a few months ago, but procrastinated. Got good info including: use the failsafe mode and Resetting the root password. But I'm not sure about how to get into failsafe mode with my r7800. Can I do it thru my existing LAN Ethernet connection? I can ping the router with $ ping 192.168.1.1. Or do I need a different (maybe usb) connection?
Also, reading about rebooting the 7800 into failsafe mode, should I turn it off then on and hit the recessed reset button (at a certain point) as the failsafe note says. I'm worried about bricking the install (which has been working great).
One easy way is to push the WiFi button every second during the boot, until the power led starts blinking really rapidly (which indicates that you entered the failsafe mode.)
Then the router has IP 192.168.1.1 and you need to set your pc to something like 192.168.1.2 and use normal ssh terminal to connect to it via LAN.
Luci is not enabled, so you need to do everything from ssh console.
I did read the note, and your comment is helpful, but I'm wondering if the button on the r7800 is the recessed "reset" one. I'm guessing so, but there is another button (not recessed) that seems to start the reboot process...so I'm a bit confused.
Also when setting up Openwrt (2 years ago), I did use ssh to do some things with Luci, but have forgotten that process. How to enable the ssh connection exactly? Sorry, for the need for detail...your basic answer was fine. thx, feffer
Thx for the help with the buttons. Pretty sure I was able to get into failsafe mode. The far left LED was blinking very fast. I manually changed my computer's IPv4 address and was able to ping the router at 192.168.1.1.
Unfortunately I've been unable to ssh into the router. My ssh config is mostly public/private key sets. That leads to a failure to verify. Tried turning those off, but everything I try finally leads to a request for a password...and then failure. I never get to the place where I can issue the "# mount_root" command. When I've tried, I get, "command not found."
I tried simplifying, by disconnecting everything except the ethernet to PC cable...but no joy. Not sure how to proceed.
OK, I got it. Basically, hnyman laid it out well, but I was trying $ ssh 192.168.1.1 and this was failing at the authentication stage. After a lot of searching, I tried, $ ssh root@192.168.1.1 and this opened up the dialog
root@(none):~# mount_root
switching to jffs2 overlay
root@(none):/rom/root# passwd
Changing password for root
New password:
Retype password:
passwd: password for root changed by root
root@(none):/rom/root# reboot -f
I was able to reset the OpenWRT pw successfully after that. Thank you