Hard reset through SSH?

  • 2
  • Question
  • Updated 2 years ago
  • Answered
Is there a way to perform a Hard reset on an AP without pushing the reset button?

We have had a couple of situations recently where we had APs with problems accepting configuration or Application signature updates. In these cases we could console to APs over the network and do a soft reset ( i.e. reset conf boot / reset conf ). We could also boot from the backup image, but that did nt help either. It took a hard reset to clear the internal databases sufficiently for the problem to go away.
Photo of Terence Fleming ThinkWireless

Terence Fleming ThinkWireless, Champ

  • 79 Posts
  • 27 Reply Likes

Posted 4 years ago

  • 2
Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2491 Posts
  • 451 Reply Likes
Does "reset config" really differ to pressing the button? I never realised that...
Photo of Terence Fleming ThinkWireless

Terence Fleming ThinkWireless, Champ

  • 79 Posts
  • 27 Reply Likes
Yes it clearly does, as we had done both "reset config " and "reset config boot" (which I believes clears the bootstrap configuration) followed by "reset config".

Exactly what the hard reset does that is different from this, I don't know, but I am guessing a more complete database erase. Note that we didn't have to reflash the AP with a new copy of HiveOS.
Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2491 Posts
  • 451 Reply Likes
"_clear config all" is probably what you are after then.

If you do a "_clear ?" it gives you a few more options.
Photo of thewifigeek

thewifigeek, Champ

  • 86 Posts
  • 12 Reply Likes
haven't tried this one... thanks for the tip.
Photo of Terence Fleming ThinkWireless

Terence Fleming ThinkWireless, Champ

  • 79 Posts
  • 27 Reply Likes
Ah! Thanks for the update. Will add that to my little list of Frequently Used Cli Commands :-)
Photo of thewifigeek

thewifigeek, Champ

  • 86 Posts
  • 12 Reply Likes
reset config no-prompt

Note: it will factory reset to the bootstrap which may be factory config.

Good luck
Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2491 Posts
  • 451 Reply Likes
He has already tried "reset config" and it didn't work, so I suggested "_clear config all".
Photo of thewifigeek

thewifigeek, Champ

  • 86 Posts
  • 12 Reply Likes
if config is not completely cleared then also try the following prior to reset config no-prompt:

no hive "home or hive name"
no capwap client server
Photo of Chris Stuart

Chris Stuart

  • 3 Posts
  • 0 Reply Likes
What happens when _clear config all doesn't work?

AH-31f7c0#_clear config all
Failed to clear bootstrap configration
Failed to clear failed configration
Failed to clear rollback configration
AH-31f7c0#
Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2491 Posts
  • 451 Reply Likes
Chris, if you want to factory reset your AP, try:

_reset press

or... press and hold the reset button for more than 5 seconds after the AP has booted.
(Edited)
Photo of Jeremy Beck

Jeremy Beck

  • 1 Post
  • 0 Reply Likes
This is what I've been missing. 

Thank you