First and most important: never do a ‘Hard Reset’ aka 30/30/30!. It's unnecessary and you can harm your router.
*The ‘Hard Reset’ applies only to much older routers. If the router you are installing or upgrading DD-WRT on is a WRT1200, WRT1900, WRT3200 or a WRT32X a simple hold of the reset button (located on the back of the router) for 20 seconds while router is powered ON will clear NVRAM and restore router to defaults.
*A 'normal reset' is not always necessary unless there is a problem, but some do it as a preventative measure before and/or after installing or upgrading.
Note: NVRAM stands for ‘Non-Volatile Random Access Memory. It is where the router’s configuration and settings (both Partitions) are stored.
There are two other simple methods of clearing NVRAM and returning to default status.
1. In the DD-WRT GUI under the Administration Tab – Factory Defaults Sub-Tab.
• If you are upgrading from within the DD-WRT GUI you can also select a reset after upgrade is completed. Located in Administration Tab – Firmware Upgrade Sub Tab.
2. Telnet or SSH Commands:
erase nvram && reboot - Builds from 18 Apr 2018 or older (35681 and prior)
nvram erase && reboot - For builds after 18 Apr 2018 (35770 and later)
Note: Telnet Client can be used on a Windows PC, but may need to be added on. Here's how: Control Panel – Add Programs – Turn Windows Features On or Off – Telnet Client (Check Box)
Before downloading DD-WRT Firmware (from any of the above sites) it is a very good idea to first clear your Browser History / Cookies.
Sometimes the Firmware file can become corrupted during initial download.
Before you Install Firmware: These are Beta Firmware Versions. There is always the possibility of 'bugs'. By installing any one of these builds you have become a Beta Tester.
If this isn't your preference then I highly suggest you wait and monitor the Forum.
Each build will have it's own Forum Thread (Topic) where other Forum members post updates on stability and anything else pertaining to that particular build.
Also, if you are looking for a recommended build here is where you will find advice.
The newest Firmware Build is generally the recommended one.
There is no Official Change Log. However, information about Tickets and Changesets can be found here:
http://svn.dd-wrt.com/timeline
*If you have decided to try a new build then please update the Forum Thread with your own observations. This will help others to decide and it will help the developers to monitor for any issues.
Note: I recommend creating two Download Folders and naming them DD-WRT Firmware and DD-WRT Backups (or your personal preference) and in those folders creating Sub-Folders labeling each with the date and Firmware Version Number. This will help keep you organized and prevent the wrong Firmware or Backup from being uploaded.
Important: Backups from one version are NOT recommended to restore another version!
Find your router in the list by Model Number & Hardware Version.
For each router in the list there will always be two BIN files:
factory to dd-wrt dd-wrt webflash
*Please pay close attention to this:
The factory to dd-wrt is for installing DD-WRT from the Linksys GUI. This file will be used under two circumstances.
1. You are installing DD-WRT for the first time.
2. You have switched back to opposite partition and you have the Linksys Stock Firmware on that partition.
The dd-wrt webflash is for upgrading a current DD-WRT installation. This file will result in the following circumstances.
1. A new version of DD-WRT will be installed on the opposite & inactive partition.
2. The previous DD-WRT version will be left on what is now the inactive partition (after reboot).
3. All settings and configuration will be kept and applied to new version (unless a reset is selected in Firmware Upgrade Sub-Tab).
Note: It’s only one file per Install / Upgrade. If you use the ‘factory to dd-wrt’ file followed by the ‘dd-wrt webflash’ file you will have installed the same version of DD-WRT on BOTH partitions and overwritten the Linksys OEM Firmware.
Important: Never Install / Upgrade via wireless. Always use a LAN Cable!
*It will be up to you to decide if you want to return to the Linksys OEM Firmware and Install each new version of DD-WRT over the previous and thus keeping the Linksys OEM Firmware on one partition at all times.
This will make trying out other Third-Party Firmware much easier as you must Install from Linksys GUI. This includes OpenWRT, LEDE, Tomato, Gargoyle, Merlin, etc.
I find it EASIER to just upgrade and keep configuration intact.
This isn’t as important as it once was as the newer DD-WRT versions have the ability to return to Linksys OEM. Simply upload the Linksys Stock Firmware from DD-WRT GUI Administration Tab – Firmware Upgrade Sub-Tab. (Same as you would upgrade DD-WRT)
Trick to Upgrade DD-WRT Firmware without losing current configuration or the need to return to Stock Firmware:
Using Telnet/SSH and the ubootenv set boot_part command (described below) it is possible to upgrade to a newer version of DD-WRT without the need to manually switch back to Stock Firmware Partition. All previously configured settings will remain intact.
1. Use the ubootenv get boot_part command to learn the current Partition in use.
2. Use the ubootenv set boot_part (1 or 2 – the opposite number returned in Step 1) command.
3. DO NOT REBOOT
4. In DD-WRT GUI – Administration Tab – Firmware Upgrade Sub Tab: Upload the new ’dd-wrt webflash.bin’ file for your Router & Hardware Version. MAKE SURE THAT NO RESET IS SELECTED.
5. After Firmware Upgrade is finished the Router will automatically reboot.
*You should now have the new DD-WRT upgrade on the current Partition and OEM Firmware will still be intact on opposite partition.
The preceding was provided by an unknown author on this Forum. Whomever you are, thank you! Also, thank you to @myersw for saving & providing a copy and to @gainestr for testing.
*Just enter your router’s Model Number and make sure to select the correct Hardware Version.
Note: The time it takes for Firmware to upload and router to reboot is approximately 90 seconds. For a first-time installation, the page may freeze and it may be necessary to close your browser, open again and re-navigate to default router IP Address.
Linksys Default Router IP Address: 192.168.1.1
DD-WRT Default User Name: root
DD-WRT Default Password: admin
Important: Telnet / SSH User Name will always be: root
*Regardless of what you have changed it to in the Linksys or DD-WRT GUI.
Telnet / SSH Password will be: the password you have selected in Administration Tab – Management Sub-Tab.
*If you have not changed it - then it will be the default: admin
What to do If something goes wrong. Don’t panic! These WRT routers are just about un-brickable. The Dual-Partition feature makes recovery easy.
First try rebooting. Remember 90% of problems with ALL electronics can be solved be a simple restart.
Second, try a different Browser. At one time or another Microsoft Edge, Internet Explorer, Safari, Google Chrome and Mozilla Firefox have all experienced issues with the DD-WRT GUI.
If either of these do not work the next step is to return to the previous Firmware on the opposite partition and try again.
There are two simple ways of switching partitions:
1. Telnet or SSH Command to learn what partition is currently in use
WRT1200, WRT1900AC, WRT1900ACS & WRT3200ACM: ubootenv get boot_part WRT32X & WRT32XB: fw_printenv boot_part
*The last line will be a # 1 or 2. This is the partition currently in use.
Telnet or SSH Command to switch to opposite / inactive partition
WRT1200, WRT1900AC, WRT1900ACS & WRT3200ACM: ubootenv set boot_part [1 or 2]*
WRT32X & WRT32XB: fw_setenv boot_part [1 or 2]*
*Use the number not in use.
2. Power Cycle the router three times.
Using the router’s power switch – turn OFF then turn back ON.
Wait 2 seconds then turn OFF.
Turn back ON.
Wait 2 seconds then turn OFF.
Turn back ON.
Router should have booted into opposite partition.
Note: For the purposes of keeping this as short and simple as possible, other recovery methods will not be discussed, but some helpful links will be provided at the conclusion.
DD-WRT Initial Setup and Configuration
*Basic Setup and Configuration ONLY. Links to more advanced setup tutorials below.
The first thing to do is setup a router User Name & Password in the Administration Tab – Management Sub-Tab. These are the credentials you will use to log into the DD-WRT GUI to view status and make changes.
*Also in this section: Router GUI Style – Customize the look of the DD-WRT Control Panel
Next, setup the router’s time. Setup Tab – Basic Setup Sub-Tab. 'Enable' NTP Client, select the appropriate Time Zone and in the Server/IP block: Leave Blank
*This should automatically choose the closest NTP Time Server to you.
Next, setup Wireless Settings & Security. Wireless Tab – Wireless Security Sub-Tab. From the ‘Security Mode’ drop-down menu select WPA2 Personal and in ‘WPA Algorithms’ menu choose AES.
In ‘Shared Key’ enter your choice for a WiFi Password.
*This will be the password you enter on your wireless devices to connect to WiFi. MAKE IT A GOOD ONE!
Note: Dual-Band Routers do this for both bands: ath0 and ath1.
Note: The WRT3200ACM Firmware has a third WLAN (ath2). While some have had limited success enabling it it is recommended that it be Disabled. It was intended for DFS Radar Detection.
*This does not give you a Tri-Band Router.
More information can be found here:
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1050614#1050614
An explanation of DFS Radar Detection can be found here:
http://wifi-insider.com/wlan/dfs.htm
Next, Wireless Network configuration. Wireless Tab – Basic Settings Sub-Tab. Here is where you enter you Wireless Network Name (SSID) and much more. *For the rest please see links below.
Definitions:
GUI Graphic User Interface. This is the DD-WRT Control Panel.
NVRAM Non-Volatile Random-Access Memory. See above description.
OEM Original Equipment Manufacturer
NTP Network Time Protocol
SSID Set Service Identifier
TFTP Trivial File Transfer Protocol
BRICKED Router is toast! Unrecoverable. Return to the store & pray they accept a return or keep for spare parts.
SOFT-BRICKED Router is almost toast. Only means of recovery is a USB to TTL Serial Cable
*The Linksys TFTP Utility is an alternative way of installing / upgrading Firmware. Useful when there is a problem. More info can be found on the DD-WRT Wiki here:
https://www.dd-wrt.com/wiki/index.php/TFTP_flash
*While inSSIDer is free (do not update after installation) the WiFi Commander App has a small fee to download from the Windows Store.
* Both are great for scanning surrounding Wireless Networks. Essential for proper WiFi Channel adjustments.
Acknowledgements:
Brainslayer – (Obviously!) For great Firmware that keeps getting better.
Kong – (Also Obviously!) For all the testing that provided very reliable Firmware for a long time.
jsebean - For the ‘Basic DD-WRT Install FAQ for WRT1900AC?’ where much of the information in this post has come from.
myersw – Many posts that also provided much of the above information. Also, THANK YOU for providing inSSIDer 4!
All the many, many other Forum members who have asked and answered questions.
I have learned an incredible amount from this Forum and I look forward to more.
P.S. When posting on the Forum please always include your router’s (or other equipment’s) Model Number & Hardware Version.
Better yet add it to a signature so that it will be automatically included with every post.
This will help others who have the same equipment. _________________ DD-WRT Installation & Setup TUTORIAL http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117
FIRMWARE:OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33) MODEM:ARRIS SURFBoard SB8200 ROUTER:Linksys WRT32X USB NAS:Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
Last edited by spuriousoffspring on Sun Aug 12, 2018 10:47; edited 10 times in total
Joined: 14 Dec 2015 Posts: 774 Location: 127.0.0.1
Posted: Wed Sep 13, 2017 7:16 Post subject:
Thank you Malachi, hopefully it will make a difference in the repetitive questions. _________________ Tutorial for flashing WRT series WRT Installation,Upgrade & Basic Setup–Cliff Notes
r52242: WRT3200ACM, WRT1200ACv1 & 1 Velop in bridge mode(IoT subnet), r52242 WRT1900ACv1 AP
Velop:2 WHW0101, RE6500, RE9000(AP)
Spectrum - 1000/50
SysLog Watcher 5, New security Onion box coming soon, Fingboxes, PiHoles, NEMS, Cacti, rpisurv
Probably not. No one ever seems to read the stickies. Just look at the other sections of the forum. _________________ I am far from a guru, I'm barely a novice.
Posted: Wed Sep 13, 2017 13:27 Post subject: Re: DD-WRT Installation, Upgrade & Basic Setup–Cliff N
Thanks for this wrote up, I have searched this forum for solution to reset my 1900AC to no avail, this will help in long way, and removed any concerns and worries that I may brick my box
Posted: Wed Sep 13, 2017 18:11 Post subject: Help!
So if I understand correctly,and say I accidentally put ddwrt on both partitions, I can revert to the Linksys firmware by installing the firmware update from Linksys using the ddwrt firmware upgrade tab.
I have tried that, and it seemingly isn't working.
Posted: Tue Sep 19, 2017 3:01 Post subject: Version upgrad
Wish I'd stumbled onto this thread earlier on--would have saved me a lot of trouble.
I do have a question: I understand that on my Linksys WRT1900ACSv2 if I perform an upgrade from within DD-WRT, the newer version will get written to the other partition, blowing away the factory firmware.
I've never performed an upgrade before. Are settings preserved when one is going from one release to the next realease? EXAMPLE: I'm at build 3342. If I bump up to the next release from within DD-WRT(blowing away the Linksys firmware), will my settings be preserved?
Alternately, were I to upgrade from within the Linksys firmware from DD-WRT 3342 to 3345, would the settings backup from 3342 correctly restore to 3345?
FIRMWARE:OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33) MODEM:ARRIS SURFBoard SB8200 ROUTER:Linksys WRT32X USB NAS:Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
Timely as well. I think the DD-wrt 3200Acm is brining in an influx of newbies and novices who want to experiment with DD-wrt. _________________ Linksys WRT3200ACM
Build: B.S.'s DD-WRT v3.0-r32597 std (07/08/17)
Joined: 10 Jan 2013 Posts: 11 Location: Bathurst, NSW, Australia
Posted: Thu Oct 19, 2017 23:03 Post subject:
Great write up, and very timely with the KRACK patches currently being released.
Question regarding flashing factory firmware, after upgrading DD-WRT (resulting in DD-WRT on both partitions), which partition should you flash the factory firmware on - the newly upgraded partition, or the previous non-upgraded partition?
I'm just wondering if all installs/upgrades are written to the inactive partition or if this is a DD-WRT only thing.