Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubiquiti RM5 XW: 3.23.4.0: holding reset for 5 sec resets node to just-flashed state #869

Closed
Rom3oDelta7 opened this issue Jun 12, 2023 · 6 comments
Assignees

Comments

@Rom3oDelta7
Copy link

The documentation says that holding the reset button down for 5 sec will reset the password and DHCP state to default. However, doing so instead resets the node back to just-flashed state. This occurs whether the node reset button or the power brick reset button is pressed. It is supposed to take 15 sec to trigger a full node reset. I have tried the timing 4 times while watching a stopwatch, and holding for 5+ (but less than 6) seconds incorrectly does a full reset.

supportdata-K7YCA-RM5-XW-SPARE-202306120101.gz

@aanon4
Copy link
Contributor

aanon4 commented Jun 12, 2023

I'll look to see if the latest OpenWRT has changed how this works, but the configuration (/etc/config/system) today says:

Press for 3-7 second - reset password
Press for 12-20 seconds - return to firstboot state

@aanon4
Copy link
Contributor

aanon4 commented Jun 12, 2023

Looks like our old handlers never get to be called because procd take over first. Will look at fixing this.

@aanon4 aanon4 self-assigned this Jun 12, 2023
@aanon4
Copy link
Contributor

aanon4 commented Jun 12, 2023

Could you try this for me to see if it resolve the problem:

Log into you node
Remove the file /etc/rc.button/reset
Reboot

When the node comes back up, see if the expected reset behavior is restore.

@Rom3oDelta7
Copy link
Author

I'll try that tomorrow and report back. Thank you for looking into this.

73, Rob

@Rom3oDelta7
Copy link
Author

I ssh'd into my test Loco-M2-XW node running 3.23.4.0 and renamed the /etc/rc.button/reset file and rebooted.

Reboot was normal, so I logged in with my current root password.

Held reset for 6 seconds. The node did not reboot, but the password was reset to the default. I think that not rebooting is the proper behavior, but it's been a while since I had to do this and I don't remember. Regardless, the desired reset behavior was observed.

73, Rob

@aanon4
Copy link
Contributor

aanon4 commented Jun 23, 2023

#879

@ab7pa ab7pa closed this as completed Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants