Reset And Reboot

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:11, 8 October 2006 (edit)
AycheKay (Talk | contribs)
(Hard Reset)
← Previous diff
Revision as of 18:15, 19 November 2017 (edit) (undo)
Ian5142 (Talk | contribs)
(Login (password) after Reset)
Next diff →
(25 intermediate revisions not shown.)
Line 1: Line 1:
-This page is an attempt to clarify the different resets and reboots.+{{Languages|Reset And Reboot}}
-=== Hard Reset ===+This page is an attempt to clarify the different resets and reboots. You'll find other related and valuable information at [[Factory Defaults]].
-A hard reset sets the router back to the firmware's defaults (clears the nvram), thus it will clear all the settings you have configured in the router. Here are some of the different ways that users are doing hard resets.+
-* (1) Press and hold the button while the router is on, and keep holding it about 30 seconds. On different models you may see rapid flashing of an LED, or a red error or diagnostic LED. Wait for it to return to normal operation (typically power-LED on solid). Normal behaviour here is for it to not actually clear the nvram, although many people think of it and phrase it that way. What it is supposed to do is return all settings to factory state, or to say it another way, to firmware defaults. If you added new non-factory variables they should still be there after this type of reset. One way of tracking the status of what's happening while holding in the reset button is to leave a network cable plugged in to your computer and the router, then watch the screen on your computer. After the network has lost a connection for the second time, the router is usually reset back to firmware defaults.+=== Hard Reset ("30 reset")===
 +A hard reset sets the router back to the firmware's defaults, thus it will clear all the settings you have configured in the router. Here are some of the different ways that users are doing hard resets. Those methods '''will not unflash your router to the default firmware'''.
 +They will reset to defaults such settings as IP address or password.
-Users have reported two more methods to clear the nvram, but lets set something straight first. Holding down the reset-button while plugging in the router achieves a different goal than the thirty second reset. Here the bootloader is in charge, so getting it to clear the memory for you may have different results. Some platforms will completely empty the nvram and depend on another stage of the bootloader or firmware to repopulate it. On some less-supported hardware this may have unpleasant results, so use the following two reset methods cautiously.+'''After a hard reset the router will take a few minutes to boot'''
-* (2) As one user posted in the forum:<br />+*Press and hold the button while the router is on, and keep holding it about 30 seconds. On different models you may see rapid flashing of an LED, or a red error or diagnostic LED. Wait for it to return to normal operation (typically power-LED on solid). Normal behaviour here is for it to not actually clear the nvram, although many people think of it and phrase it that way. What it is supposed to do is return all settings to factory state, or to say it another way, to firmware defaults. If you added new non-factory variables they should still be there after this type of reset. One way of tracking the status of what's happening while holding in the reset button is to leave a network cable plugged in to your computer and the router, then watch the screen on your computer. After the network has lost a connection for the second time, the router is usually reset back to firmware defaults.
-::to do a "hard reset for anyone not knowing OP or otherwise, simply unplug the linksys router, hold the red button in the back for 30 seconds, and while still holding it in, plug in the power again and keep holding the reset button for an additional 10-20 seconds. This will wipe the nvram out. Keep in mind with hard resets the linksys routers can be touchy I had to do it three times till it fully cleared out the nvram on mine" I think this forum poster actually meant that it will reset back to firmware/factory defaults, but as stated above, it could have unexpected results.+
-* (3) Another method of doing a hard reset has been reported. Some users are unable to get their router set back to firmware defaults until they try this one. With the router unplugged, push in and hold the reset button, then plug the router in and stop pushing in the reset button 1 second afterwards. Users report that it may take 20 or 30 trys to actually reset back to firmware/factory defaults.+
-=== Cold Reboot ===+If above method did not work at all it probably means ''resetbuttond'' is set to disabled.
-A cold reboot is no different than a plain reboot or a power cycle. It '''does not''', or shall we say, '''should not''', clear the nvram (set the router back to factory/firmware defaults). A cold reboot can be achieved 4 different ways. All fours ways accomplish exactly the same thing.+
-* (1) Unplug the power cord from the router and plug it back in.+=== Hard Reset ("30/30/30 reset")===
-* (2) Press the reset button for less than 5 seconds.+Holding down the reset-button while plugging in the router achieves a different goal than the thirty second reset. Here the bootloader is in charge, so getting it to clear the memory for you may have different results. Some platforms will completely empty the nvram and depend on another stage of the bootloader or firmware to repopulate it. On some less-supported hardware this may have unpleasant results, so use the following two reset methods cautiously.
-* (3) Click on the "Reboot Router" button inside the Web Interface. "Administration" > "Management"+'''Note''': On some routers, in particular a lot of Atheros based routers (and Asus), this may cause the router to go into recovery mode, instead of resetting the settings. It is often better to do a GUI reset, Admin tab, then factory defaults. Click apply and wait 5 min. The router is now reset and should ask for a password when you log into it at 192.168.1.1
-* (4) Run a reboot command from Telnet, SSH, or the command box in the Web Interface.+
-=== Clearing The nvram ===+[[Hard_reset_or_30/30/30|How to do a "30/30/30 reset"]]
-"To clear or wipe out the nvram" means the same things as resetting the router back to the firmware's defaults. Many users say that this resets the router back to "factory defaults", but in reality it just resets the router back to DD-WRT's defaults, if you have DD-WRT installed. That's why it's more proper to say that it sets the router back to "firmware defaults".+
 +To do a "hard reset for anyone not knowing OP or otherwise, hold the reset button with the power on, for 30 seconds, then while continuing to hold the reset button, unplug the linksys router, continuing to hold the red button in the back for 30 seconds, and while still holding it in, plug in the power again and keep holding the reset button for an additional 30 seconds. This will wipe the nvram out. Keep in mind with hard resets the linksys routers can be touchy I had to do it three times till it fully cleared out the nvram on mine" I think this forum poster actually meant that it will reset back to firmware/factory defaults, but as stated above, it could have unpleasant results "on some less-supported hardware".
 +=== Cold Boot ===
 +A cold boot is when one remove power from a device, for a long enough period of time to ensure that all ram/chip registers are fully cleared. Ram has been known to be readable for minutes after a power off, and methods can be used to read said ram for hacking purposes. Chips have been known to maintain state for minutes as well.
-=== Power Cycling ===+Regardless, ram is supposed to be entirely cleared on boot, yet there are various reasons why you can not be positive that this is the case. Design flaws, low cost design methodology, bugs in ram chips, can all result in ram or logic gates in chips, not being cleared on boot.
-Some users refer to "power cycling" a router. Power cycling is simply rebooting the router, but usually by unplugging the router for about 15 seconds and then plugging the router back in. Some users claim to get different results by leaving the router "unplugged for a while". Other users talk about plugging the router back in while holding in the reset button. I believe in some cases this actually clears the nvram, which is maybe what you are trying to achieve.+
 +A cold boot ensures that the ram and other various chips are all at zero state upon boot. Again, while the state of logic gates should be cleared on boot, this may not be the case.
 +
 +For a cold boot, leave hardware off .. unplugged from any power source, for 30 seconds.
 +
 +It should be noted that this will not clear the nvram or set the router back to factory/firmware defaults.
 +
 +=== Clearing The nvram ===
 +"To clear or wipe out the nvram" is a term commonly used to indicate "reset the router back to the firmware's defaults", although the two terms do not mean exactly the same thing. Many users refer to "factory defaults", but in reality it's "firmware defaults" because you'll revert to DD-WRT's defaults if you have DD-WRT installed.
 +
 +=== Power Cycling ===
 +Some users refer to "power cycling" a router. Power cycling is simply rebooting the router, but usually by unplugging the router and then plugging the it back in. Some users claim to get different results by leaving the router "unplugged for a while".
 +=== Login (password) after Reset ===
 +After a reset of DD-WRT, the firmware should ask for you to change the username and password. If it does not the reset was not successful.
-=== What Are Firmware or Factory Defaults? ===+[[Category:Documentation]]
-DD-WRT firmware default settings (sometimes called factory defaults) are stored in nvram. For more information, see [[Factory Defaults]].+

Revision as of 18:15, 19 November 2017


This page is an attempt to clarify the different resets and reboots. You'll find other related and valuable information at Factory Defaults.

Contents

Hard Reset ("30 reset")

A hard reset sets the router back to the firmware's defaults, thus it will clear all the settings you have configured in the router. Here are some of the different ways that users are doing hard resets. Those methods will not unflash your router to the default firmware. They will reset to defaults such settings as IP address or password.

After a hard reset the router will take a few minutes to boot

  • Press and hold the button while the router is on, and keep holding it about 30 seconds. On different models you may see rapid flashing of an LED, or a red error or diagnostic LED. Wait for it to return to normal operation (typically power-LED on solid). Normal behaviour here is for it to not actually clear the nvram, although many people think of it and phrase it that way. What it is supposed to do is return all settings to factory state, or to say it another way, to firmware defaults. If you added new non-factory variables they should still be there after this type of reset. One way of tracking the status of what's happening while holding in the reset button is to leave a network cable plugged in to your computer and the router, then watch the screen on your computer. After the network has lost a connection for the second time, the router is usually reset back to firmware defaults.

If above method did not work at all it probably means resetbuttond is set to disabled.

Hard Reset ("30/30/30 reset")

Holding down the reset-button while plugging in the router achieves a different goal than the thirty second reset. Here the bootloader is in charge, so getting it to clear the memory for you may have different results. Some platforms will completely empty the nvram and depend on another stage of the bootloader or firmware to repopulate it. On some less-supported hardware this may have unpleasant results, so use the following two reset methods cautiously. Note: On some routers, in particular a lot of Atheros based routers (and Asus), this may cause the router to go into recovery mode, instead of resetting the settings. It is often better to do a GUI reset, Admin tab, then factory defaults. Click apply and wait 5 min. The router is now reset and should ask for a password when you log into it at 192.168.1.1

How to do a "30/30/30 reset"

To do a "hard reset for anyone not knowing OP or otherwise, hold the reset button with the power on, for 30 seconds, then while continuing to hold the reset button, unplug the linksys router, continuing to hold the red button in the back for 30 seconds, and while still holding it in, plug in the power again and keep holding the reset button for an additional 30 seconds. This will wipe the nvram out. Keep in mind with hard resets the linksys routers can be touchy I had to do it three times till it fully cleared out the nvram on mine" I think this forum poster actually meant that it will reset back to firmware/factory defaults, but as stated above, it could have unpleasant results "on some less-supported hardware".

Cold Boot

A cold boot is when one remove power from a device, for a long enough period of time to ensure that all ram/chip registers are fully cleared. Ram has been known to be readable for minutes after a power off, and methods can be used to read said ram for hacking purposes. Chips have been known to maintain state for minutes as well.

Regardless, ram is supposed to be entirely cleared on boot, yet there are various reasons why you can not be positive that this is the case. Design flaws, low cost design methodology, bugs in ram chips, can all result in ram or logic gates in chips, not being cleared on boot.

A cold boot ensures that the ram and other various chips are all at zero state upon boot. Again, while the state of logic gates should be cleared on boot, this may not be the case.

For a cold boot, leave hardware off .. unplugged from any power source, for 30 seconds.

It should be noted that this will not clear the nvram or set the router back to factory/firmware defaults.

Clearing The nvram

"To clear or wipe out the nvram" is a term commonly used to indicate "reset the router back to the firmware's defaults", although the two terms do not mean exactly the same thing. Many users refer to "factory defaults", but in reality it's "firmware defaults" because you'll revert to DD-WRT's defaults if you have DD-WRT installed.

Power Cycling

Some users refer to "power cycling" a router. Power cycling is simply rebooting the router, but usually by unplugging the router and then plugging the it back in. Some users claim to get different results by leaving the router "unplugged for a while".

Login (password) after Reset

After a reset of DD-WRT, the firmware should ask for you to change the username and password. If it does not the reset was not successful.