Installation

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:11, 6 October 2009 (edit)
Donny (Talk | contribs)
(Linksys WRT150N)
← Previous diff
Revision as of 09:59, 5 June 2015 (edit) (undo)
Bjoern (Talk | contribs)
(Upgrading to a Newer Version of DD-WRT)
Next diff →
(175 intermediate revisions not shown.)
Line 1: Line 1:
-Installing DD-WRT on a router in most cases is almost as simple as installing a program onto your computer. Installing programs on a router, known as firmware, are achieved by a method called flashing. This article helps you determine which installation process is for you on your supported router, as well as giving router suggestions and information about flashing each one. +{{Languages|Installation}}
 +Installing DD-WRT on a router in most cases is almost as simple as installing a program onto your computer. However, doing it incorrectly can leave you with a router that you have to throw away. Installing programs on a router, known as firmware, are achieved by a method called flashing. This article helps you determine which installation process is for you on your supported router, as well as giving router suggestions and information about flashing each one.
-=Is Your Router Supported?=+=Choosing the Correct Firmware - '''Extremely Important'''=
-For a list of devices working with DD-WRT, please see wiki page '''[[Supported Devices]]''', or '''[http://www.dd-wrt.com/dd-wrtv3/dd-wrt/hardware.html Hardware Database]''' (As of fall 2009 the Hardware Database is still in Beta)+==Is Your Router Supported?==
 +Please check the router database first: http://www.dd-wrt.com/site/support/router-database.
-=Before You Begin=+If your router is not listed there, check the wiki page.
-First before loading any firmware to your router....read the English Broadcom Forum Announcement entitled [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock Thread] It contains more information than just for those that having problems. Start there...Do some research...then ask questions. '''Don't just load V24-Final or SP1.'''..read the English Broadcom Forum Announcements to find out why.+
-=Downloading DD-WRT=+For a list of devices working with DD-WRT, please see wiki page '''[[Supported Devices]]'''.
-* Download the latest stable release from the [http://www.dd-wrt.com/dd-wrtv3/dd-wrt/downloads.html DD-WRT Downloads page] (or [https://secure.dd-wrt.com/dd-wrtv3/dd-wrt/downloads.html secure version]).+
-** Some newer routers are not supported by the latest stable release. Check the [[Supported Devices]] list for the minimum required DD-WRT version for your device. You may need to use an SVN or experimental build.+
-* Ensure you are using the correct version of the firmware.+
-** For a comparison of the builds, see [[What is DD-WRT?#File Versions|File Versions]].+
-** Updating through the Web GUI means you need to use the ''_generic'' version.+
-** Use the ''_mini'' version when upgrading from original Linksys firmware. You only need the ''_micro'' version if your hardware has 2 MB of flash (WRT54G v5 through v8 for instance). Use the "_mini" firmware if your hardware has 4 MB or more of flash (WRT54GL for instance).+
-* Read the [http://svn.dd-wrt.com:8000/dd-wrt/timeline changelog] and all other information files on the download pages. They contain important information!+
-* If you downloaded a .zip file, then extract the archive.+
-* Confirm a good download by comparing the MD5 hash fingerprint of the firmware you downloaded with the published checksums. See [[Hashes & Checksums]] for further info and instructions.+
-==Precautions==+For a list of devices '''not''' working with DD-WRT please see wiki page '''[[Known incompatible devices]]'''.
-Follow all the instructions precisely, or you may run into trouble. '''Incorrectly flashing can [[Glossary#Brick|brick]] your router!'''+
-* For the initial flash from the Linksys firmware, do not use Firefox, use IE to flash the router (even OS X IE works). Once DD-WRT is running, you can use any browser you like to administer or even flash the router.+
-* Do NOT use a wireless connection to upload firmware. Use a wired connection. It is recommended that you disable any wireless adapters on your system to ensure that none are used for the transfer.+
-* Do NOT flash your firmware over an SSL (HTTPS) connection. Make sure you are using HTTP.+
-* Disable your anti-virus-software, as a false-positive virus detection could interrupt the upload.+
-* If you need to use '''TFTP''' to upload firmware, disable your software firewall first.+
-* You will not have internet access through the router during the process of replacing the firmware. We recommend you save this webpage and the [[Recover from a Bad Flash]] and [[Index:FAQ|FAQ]] pages to your hard drive (use File->Save As, '''*NOT* a bookmark'''). This will allow you to review the information offline in the event that something goes wrong.+
-* Do not forget to make note of your current settings, especially if you have static IP addresses. A quick way of doing this is to take screenshots of your current configuration screens. +
-** It can be essential to record your current WAN MAC address. Some ISPs do not allow an immediate change of the routing hardware and changing the firmware changes the MAC address.+
-* Have a secondary router or internet connection available while experimenting with your router's firmware, to expedite any trouble shooting and remove the risk of becoming stranded. +
-** If you have a cable modem which connects to your router with ethernet, you can plug your PC straight into the modem should you have any problems. Your PC will be assigned your external IP with DHCP, and you will be on the net. Remember to use a software firewall.+
-==Flashing with Web GUI ==+If your device is supported, you may find specific information in the [[Hardware-specific]] page for your router. However, '''to avoid [https://en.wikipedia.org/wiki/Brick_%28electronics%29 Bricking] your router''', please finish reading this entire page first. You will then want to follow what is written for your particular device.
-The following instructions are very general and apply mostly to Linksys routers. Check for hardware specific instructions further down the page.+==Which router should I buy?==
 +For a list of recommended devices for installing h DD-WRT, please see '''[[Firmware FAQ#Which router should I buy?]]'''
-===Reset to [[Factory Defaults]] or better yet a [[Hard reset or 30/30/30]] ===+==Before You Download, Upgrade, or Flash==
 +Before you try to take any actions, including loading any firmware to your router....read the English Broadcom Forum Announcement entitled [https://secure.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock Thread] It contains more information than just for those who are having problems. Unfortunately, skipping this step leads many to brick (break) their routers.
-If you know the IP address, username, and password of your router:+Start there... do some research... then ask questions. '''Don't just load V24-Final or SP1.''' (Read the English Broadcom Forum Announcements referenced above to find out why). The user-friendly [http://www.dd-wrt.com/site/support/other-downloads?path=betas dd-wrt download page] will help you identify the correct "killer" and dd-wrt firmware versions (as applicable) for your device as needed. However, you must use the peacock thread and use the information in the [[Hardware-specific]] page to '''accurately''' identify your hardware and not create a problem that renders your router useless.
-# Follow the instructions in the next section to log in to the Web GUI.+
-# Click the "Administration" tab.+
-# Click the "Factory Defaults" sub-tab.+
-# Select "Yes".+
-# Click the "Save Settings" button.+
-# A new page will open, click "continue".+
-If you do not know the IP address, username, or password of your router, you will need to use the reset button. Be careful when using this method! Apparently if you have OpenWRT already on your router the reset button may not function as it is assumed here and may actually brick your router! Research the functionality of your current firmware to be safe.+After you have read THIS page, and gotten some background on the peacock page, the [[Hardware-specific]] page may be the most useful page for you in terms of identifying your router, figuring out what files you need to download (including instructions), and figuring out the correct installation procedures.
-===Logging in to the Web GUI===+==Identifying Your DD-WRT Firmware==
-To use the Web interface, you will need to have Javascript enabled with any security restrictions disabled. If the Linksys firmware is currently installed, do not use Firefox as certain versions of the Linksys firmware are known to have problems with Firefox.+* Use the '''brand-specific information in the [[Hardware-specific]]''' page to accurately identify which model you have. Start with the main brand heading (ie, "Linksys"). Use '''that''' information - instead of just going by what model you think you have - [[User:Clock|clock]].
-# Type in the IP address of the router (default 192.168.1.1) into the address bar of your browser.+* As the peacock thread mentions, using the incorrect file is one of the worst things you can do. Fortunately, dd-wrt has simplified this immensely with their search format. Once you have identified your router accurately, you may be able to go straight to [https://secure.dd-wrt.com/dd-wrtv3/dd-wrt/downloads.html DD-WRT Downloads page] and find the files you need. Again, check the [[Hardware-specific]] page for links to detailed instructions that may indicate how many files you need, etc (- [[User:Clock|clock]]).
-#* If you do not know the router IP address, you can [[Obtaining Router IP|attempt to obtain it]]+* Some '''newer routers''' are not supported by the latest stable release. Check the [[Supported Devices]] list for the minimum required DD-WRT version for your device. You may need to use an SVN or experimental build.
-# You will be prompted for username and password.+** For a '''comparison of the builds''', see [[What is DD-WRT?#File Versions|File Versions]].
-#* For DD-WRT versions starting with 2006-Feb-28, the default username is ''root''. Prior versions have a blank username by default.+** '''Updating through the Web GUI''' (ie, the routers's online interface) means you need to use the ''_generic'' version.
-#* For Linksys firmware, the default username can be left blank or set to anything.+** Use the ''_mini'' version when upgrading from '''original Linksys firmware'''. You need the ''_micro'' version if your hardware has 2 MB of flash (WRT54G v5 through v8 for instance). Use the "_mini" firmware if your hardware has 4 MB or more of flash (WRT54GL for instance). The maximum filesizes in Bytes are listed [https://secure.dd-wrt.com/phpBB2/viewtopic.php?t=51486 here under '''Maximum firmware size''']. (Again, use the download page's search function for help here - [[User:Clock|clock]]).
-#* For DD-WRT and Linksys firmware, the default password is ''admin''.+* Read the [[Changelog]], the [http://svn.dd-wrt.com/timeline timeline] and all other information files on the download pages. They contain important information!
-===Upload the Firmware===+==Downloading Your DD-WRT Firmware==
-<center>+* You will need to save a number of files (firmware, instruction pages for offline work, etc). '''Starting a folder for this project''' before downloading anything is advisable - [[User:Clock|clock]].
-{|style="width:100%;margin-top:+.7em;background-color:#EFEFFF;border:2px dotted #f00;text-align:left"+* Ensure you are using the '''correct version''' of the firmware (again, the search function on the download page above should be accurate if took appropriate action to correctly identify your router; only download firmware from that page - [[User:Clock|clock]]).
-|-+* Download '''known to flash well builds''' from the [http://dd-wrt.com/site/support/router-database Router-Database] - some Firmwares are only available on [http://www.dd-wrt.com/site/support/other-downloads?path=betas other-downloads]
-|style="width:1em;color:#000"|+* Depending on your specific needs, '''you may need more than one download''' - such as a "killer" version, which must be installed prior to the dd-wrt firmware. The search function should bring up both. If instructions are provided for your router in the [[Hardware-specific]] page, check that to see what is needed. Again, the peacock thread will give you important information on why choosing the wrong size can completely break your router - [[User:Clock|clock]]).
-[[Image:Warning.png]]+* If you downloaded a '''.zip file''', then extract the archive. (If it is a .bin file, leave it alone - [[User:Clock|clock]]).
-|style="width:45em;color:#000"|<div style='color:red; font-weight:bold'>It is VERY important that you not interrupt the setup while the router is being flashed and rebooted. Do not turn off the computer, close the web browser, or turn off the router during this process! I usually just take a step back, and turn my head away so I don't breathe on it for these crucial 2 minutes.</div>+
-|-+
-|}+
-</center><br>+
-# First do a [[Reset And Reboot|hard reset]] on the unit that DD-WRT is to be loaded onto.+=Precautions=
-# You should be in the Web GUI of the router. Go there now.+
-# Click the "Administration" tab+
-# Click the "Firmware Upgrade" sub-tab.+
-# (Only applicable when DD-WRT is already installed.) Choose the option to Reset to Defaults after flashing.+
-# Click the "Browse" button and select the DD-WRT .bin file you downloaded and confirmed.+
-# Click the "Upgrade" button.+
-# The router will take a few minutes to upload the file and flash the firmware. During this time, the power light will flash.+
-# A new page will open confirming that the upload was successful ([[Installation#Possible errors if not]]). Now '''<font color=red>wait about 5 minutes</font>''' before clicking "Continue".+
-# Lastly, do another [[Reset And Reboot|hard reset]] on the unit.+
-# If flashed successfully you will now be able to access the DD-WRT web interface at 192.168.1.1+
-''[Comment added 2007/03/27 by staylor]''+If you do not already have a dd-wrt firmware version on your router, you may have to run a "kill" firmware program on your router first. You should be able to find this using the search function (dd-wrt download page [[http://dd-wrt.com/site/support/other-downloads?path=betas]]) for your specific device. The process of installing that firmware is probably covered in the [[Hardware-specific]] page under your device. It will be similar to simply repeating the overall processes outlined below for that specific "kill" file - [[User:Clock|clock]].
-'''Or, you won't be at the DD-WRT web interface''' I have a WRT54g v1.1 (also with WRT54gl v1.1), flashing with DD-WRT v23 sp2. I waited the requisite number of minutes, and my "Wireless-G" badge lit up (a good sign), but when I clicked "Continue" after the upload was successful, I did '''<font color=red>not</font>''' get to the DD-WRT web interface. Nor was the device ping-able.+
-''[Comment added 1/04/08 by jwebste1]''+The most important aspect of this section to absorb is the '''precautions'''. People kill routers constantly by not following these advisories. Please take the time to learn and absorb them - [[User:Clock|clock]]. Follow all the instructions precisely, or you may run into trouble. '''Incorrectly flashing can [[Glossary#Brick|brick]] your router!'''
-I can confirm Staylor's comment above for a brand new store bought WRT350N (had to soft reset the router to get the mini install to become accessible on 192.168.1.1.+
-Holding down the reset button for 30 seconds (leaving the power cable connected) re-booted the router, and all was fine thereafter.+=='''Do Prior Research'''==
 +[[User:Clock|clock]]:
 +#Failing to prepare and do your background research can cause considerable frustration, loss of time, and render your router absolutely useless (bricked). In other words, you may have to literally throw it away. With an hour or so of research, you'll save hours of time in frustration.
 +#Before you begin, it is recommended that you look through this wiki (particularly these precautions). Also, the notorious peacock thread [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486], and basic techniques such as [[Hard_reset_or_30/30/30]] and Tftp [http://www.dd-wrt.com/wiki/index.php/Tftp_flash]. See [[Settings]] for more useful information. These may have some sections in some pages that are not relevant, which you can skim.
 +#You will need to review many of the recommended sites to download below. You'll want to save this page (see below), but you will want to get the background first. Be careful about implementation (actually flashing) on this wiki as compared to what is recommended as a guide for your router under [[Hardware-specific]]. However, reviewing this wiki will be important for overall understanding.
-If the above doesn't result in a successful load of the DD-WRT web interface, try a "ipconfig -renew" in a command prompt window.+=='''General'''==
 +#Do not try to skimp on the [[Hard_reset_or_30/30/30]] reset before or after each change to your router's firmware. The peacock thread goes into extensive justifications. ([[User:Clock|clock]] used a stopwatch.) Be sure to follow all power cycling and reset instructions as described.
 +# For the initial flash from the Linksys firmware, do not use Firefox; use IE to flash the router (even OS X IE works). Once DD-WRT is running, you can use any browser you like to administer or even flash the router.
 +# Do NOT flash your firmware over an SSL (HTTPS) connection. Make sure you are using HTTP.
 +=='''Prepare to Go Offline'''==
 +#You will not have internet access through the router during the process of replacing the firmware. You are going to do almost everything offline with a LAN connection to your router (how to [[Settings#Disable Wireless|Disable your wireless]]). Given the many types of problems you can encounter that can prohibit you from getting help, the process of reactivating and deactivating your [[Security|security settings]] if you actually can get back online, and the likelihood for browser crashes if you try to just keep the pages up, '''you will need to download everything you need before you start'''. This will allow you to review the information offline in the event that something goes wrong.
 +#Some users, such as those running Windows Vista, may need to [[Settings#Disable Compound TCP|Disable Compound TCP]] - [[User:Clock|clock]]).
 +# Do not forget to make note of your current settings, especially if you have static IP addresses. A quick way of doing this is to take screenshots of your current configuration screens (which can be found on your web GUI, or online router interface - [[User:Clock|clock]]).
 +## It can be essential to record your current WAN MAC address. Some ISPs do not allow an immediate change of the routing hardware and changing the firmware changes the MAC address. (You may also find these on your web GUI - [[User:Clock|clock]]).
 +# Have a secondary router or internet connection available while experimenting with your router's firmware, to expedite any trouble shooting and remove the risk of becoming stranded.
 +## If you have a cable modem which connects to your router with ethernet, you can plug your PC straight into the modem should you have any problems. Your PC will be assigned your external IP with DHCP, and you will be on the net. Remember to use a software firewall.
 +# We recommend you save the following series of pages to your hard drive (use File->Save As, '''*NOT* a bookmark'''). (Make sure to save all webpages '''as HTML'''. Do not save as compressed html files (some computers default to that.) Here are the websites to save: (-[[User:Clock|clock]])
 +#*The installation page for your specific router as found though the [[Hardware-specific]] page.
 +#*The peacock thread [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486].
 +#*This wiki [http://www.dd-wrt.com/wiki/index.php/Installation].
 +#*[[Recover_from_a_Bad_Flash|Recover from a Bad Flash]].
 +#*FAQs [http://www.dd-wrt.com/wiki/index.php/Index:FAQ]
 +#*Tftp Flash instruction [http://www.dd-wrt.com/wiki/index.php/Tftp_flash] if applicable. It describes how you may have to enable Tftp, which is very quick and easy (just one check box). You may need to be prepared to use Tftp even if you do not plan to use it.
 +#*The Wikipedia instructions for [[Settings# Disable Compound TCP|Compound TCP]], if applicable (Vista, etc), available at: [http://en.wikipedia.org/wiki/Compound_TCP].
 +#In addition, you will probably also need:
 +#*The Tftp.exe file, if applicable (execute it from the Tftp [http://www.dd-wrt.com/wiki/index.php/Tftp_flash] link above, and just leave it open).
 +#*First ("killer") flash file, if applicable.
 +#*Second (DD-WRT) flash file. (In some cases, this may be the only file you need.)
-====Possible Errors====+=='''Going Offline/Before Implementation'''==
-During the firmware upload process, if your router says something similar to, "Upload Failed," you may be using the wrong version of DD-WRT. This may occur through the web GUI if you use a *wrt54g.bin version when you should have selected the generic version instead. It may also be that your router requires the mini version to be flashed ''before'' the full version. Be sure to double check to make sure you have the right version. If you are certain that your router is supported and that you have the correct firmware, you may simply need to use a different web browser (e.g. from Firefox to Internet Explorer).+#Do NOT use a wireless connection to upload firmware. Use a wired (LAN) connection.
 +#Disable any wireless adapters (see the [[Settings#Disable Wireless|right way to do it]]) on your system to ensure that none are used for the transfer.
 +# AFTER you are offline, disable your anti-virus-software, as as a false-positive virus detection could interrupt the upload. Disable all firewalls and security (here are instructions to [[Security|Disable Security]]. Especially if you need to use '''TFTP''' to upload firmware, disable your software firewall first. (Restore before you go back online, something your browser may automatically prompt you to do.)
-After clicking Upgrade when upgrading firmware from one DD-WRT version to another, if you are using Firefox there may be a problem with the upload. In this instance the screen fades to white with a countdown timer and is followed by a Connection Reset message shortly after. After this you cannot access the Web GUI again, and a router reboot will result in a flashing power light (WRT54GL is the case in point). You can [[Recover from a Bad Flash|recover from this]] and use a different browser (e.g. Internet Explorer) to upload the firmware.+="Flashing" Your Router with DD-WRT Firmware=
-If logging in fails with the default username/password, you can reset the password with a [[Reset And Reboot]].+Below, three methods of flashing will be covered: using your router's online interface ([[#Method 1: Flashing with Web GUI]]); [[#Method 2: Flashing with TFTP]]; and [[#Method 3: Flashing with Command Line]]. Your router may dictate what you use. After reading this page, please see the [[Hardware-specific]] instructions to clarify what is best for your router - [[User:Clock|clock]].
-===Reset to Factory Defaults Again===+==Method 1: Flashing with Web GUI ==
-Do this '''only''' after you have confirmed that the firmware upgrade is working. At this+
-point you ''may'' have temporary problems using [[Web Interface]], so just [[ping]]+
-your router.+
-Many Web Interface problems can be solved by a hard reset and by clearing your browser cache.+The following instructions are very general and apply mostly to Linksys routers. Check for hardware-specific instructions in the [[Hardware-specific]] page.
-See [[Reset And Reboot]].+#'''Reset your router'''
 +## '''Use [[Hard reset or 30/30/30]].'''
 +##While not as preferable (this may cause problems down the line) you can reset to [[Factory Defaults]] instead.
 +###If you do decide to restore defaults, if you do not know the IP address, username, or password of your router, you will need to use the reset button (this does not appear to be referring to a [[Hard reset or 30/30/30]]; this appears to be referring to a simple 30-second reset - [[User:Clock|clock]]). Be careful when using this method! Apparently if you have OpenWRT already on your router the reset button may not function as it is assumed here and may actually brick your router! Research the functionality of your current firmware to be safe.)
 +###Again, if you decide to restore defaults, if you already have a version of dd-wrt installed, and you know the IP address, username, or password of your router, you can use this method (other routers may require different instructions):
 +###* Follow the instructions in the next section to log in to the Web GUI.
 +###* Click the "Administration" tab.
 +###* Click the "Factory Defaults" sub-tab.
 +###* Select "Yes".
 +###* Click the "Save Settings" button.
 +###* A new page will open, click "continue".)
 +#'''Log on to the Web GUI (if you have not done so already).'''
 +##To use the Web interface, you will need to have Javascript enabled with any security restrictions disabled. Some versions of the Linksys firmware Web GUI have trouble with different browsers (some don't work with Firefox, some don't work with Safari). If the Web GUI is giving errors, try switching to a different browser.
 +## Type in the IP address of the router (typically, the default is 192.168.1.1, especially with Linksys) into the address bar of your browser. (If you do not know the router IP address, you can [[Obtaining Router IP|attempt to obtain it]]).
 +## You will be prompted for username and password. (If your router already has a DD-WRT versions starting with 2006-Feb-28, the default username is ''root''. Prior versions have a blank username by default. For Linksys firmware, the default username can be left blank or set to anything. For both DD-WRT and Linksys firmware, the default password is ''admin''. Search online for other defaults on other routers).
 +#'''Upload the Firmware.'''
 +## '''WARNING:<span style="color:#FF0000">It is VERY important that you not interrupt the setup while the router is being flashed and rebooted. Do not turn off the computer, close the web browser, or turn off the router during this process! (I usually just take a step back, and turn my head away so I don't breathe on it for these crucial 2 minutes).'''</span>
 +##This section is written for a dd-wrt web GUI. Your router's GUI's operations may be different. Please see the previous comment about the possible need for "kill" firmware before your dd-wrt installation. This section may not work for your router as written. Please see the [[Hardware-specific]] section for information on your specific router's needs.
 +### First do a [[Reset And Reboot|hard reset]] on the unit that DD-WRT is to be loaded onto.
 +### You should be in the Web GUI of the router. Go there now (as discussed above).
 +### Click the "Administration" tab
 +### Click the "Firmware Upgrade" sub-tab.
 +### (Only applicable when DD-WRT is already installed.) Choose the option to Reset to Defaults after flashing.
 +### Click the "Browse" button and select the DD-WRT .bin file you downloaded and confirmed.
 +### Click the "Upgrade" button.
 +### The router will take a few minutes to upload the file and flash the firmware. During this time, the power light will flash.
 +### A new page will open confirming that the upload was successful ([[Installation#Possible errors if not]]). Now '''<font color=red>wait about 5 minutes</font>''' before clicking "Continue".
 +### Lastly, do another [[Reset And Reboot|hard reset]] on the unit.
 +### If flashed successfully you will now be able to access the DD-WRT web interface at 192.168.1.1 (again, that is default for most Linksys, etc routers; does not apply to all routers. Check your router's IP before you start this process - [[User:Clock|clock]]).
 +#'''Possible Errors with Uploading Firmware'''
 +##''[Comment added 2007/03/27 by staylor]'' '''Or, you won't be at the DD-WRT web interface''' I have a WRT54g v1.1 (also with WRT54gl v1.1), flashing with DD-WRT v23 sp2. I waited the requisite number of minutes, and my "Wireless-G" badge lit up (a good sign), but when I clicked "Continue" after the upload was successful, I did '''<font color=red>not</font>''' get to the DD-WRT web interface. Nor was the device ping-able.
 +##''[Comment added 1/04/08 by jwebste1]'' I can confirm Staylor's comment above for a brand new store bought WRT350N (had to soft reset the router to get the mini install to become accessible on 192.168.1.1. '''Holding down the reset button for 30 seconds''' (leaving the power cable connected) re-booted the router, and all was fine thereafter. If the above doesn't result in a successful load of the DD-WRT web interface, try a "ipconfig -renew" in a command prompt window.
 +##''[Comment added 12/22/09 by clock]'' After initially attempting the install of the "kill" file for my router (as described in my router's [[Hardware-specific]] section) my browser kept providing an error message. Finally, I thought the router had been bricked. A quick look at the peacock thread showed that '''pinging the router and receiving a TTL of 100 meant that, while the router appeared broken, it was ready for the installation of the dd-wrt .bin file for my router'''. Using the tftp.exe discussed at the peacock and at [[http://www.dd-wrt.com/wiki/index.php/Tftp_flash#TFTP_tools]], I was able to install the dd-wrt firmware without much more fuss.
 +##Again, the best method is to look first at your [[Hardware-specific]] guidelines and refer to those instructions, keeping in mind the [[#Precautions]] outlined above.
 +##During the firmware upload process, if your router says something similar to, "Upload Failed," you may be using the wrong version of DD-WRT. This may occur through the web GUI if you use a *wrt54g.bin version when you should have selected the generic version instead. It may also be that your router requires the mini version to be flashed ''before'' the full version. Be sure to double check to make sure you have the right version (as described in the first section of this page - [[User:Clock|clock]]). If you are certain that your router is supported and that you have the correct firmware, you may simply need to use a different web browser (e.g. from Firefox to Internet Explorer).
 +##After clicking Upgrade when upgrading firmware from one DD-WRT version to another, if you are using Firefox there may be a problem with the upload. In this instance the screen fades to white with a countdown timer and is followed by a Connection Reset message shortly after. After this you cannot access the Web GUI again, and a router reboot will result in a flashing power light (WRT54GL is the case in point). You can [[Recover from a Bad Flash|recover from this]] and use a different browser (e.g. Internet Explorer) to upload the firmware.
 +##If logging in fails with the default username/password, you can reset the password with a [[Reset And Reboot]].
 +#'''Reset Again'''
 +##You can use [[Hard reset or 30/30/30]] again. Do this '''only''' after you have confirmed that the firmware upgrade is working. At this point you ''may'' have temporary problems using [[Web Interface]], so just [[ping]] your router.
 +##Many Web Interface problems can be solved by a hard reset and by clearing your browser cache.
 +##See [[Reset And Reboot]].
-==Flashing with TFTP==+==Method 2: Flashing with TFTP==
-Although TFTP is a safe method to flash many routers, it should however not be seen as the standard procedure for flashing most devices, except if you are specifically told to do so in the specific instructions for flashing your brand or type of device. Normally, the GUI flashing method should be used, as it is adequate for the vast majority of standard situations.+TFTP is generally a safe method to flash many routers. However, it is not preferred method for flashing most devices. In the [[Hardware-specific]] section you may be advised to use this method if it is the preferred or only method for your brand or type of device. Normally, the GUI flashing method should be used, as it is adequate for the vast majority of standard situations, but refer to the [[Hardware-specific]] section to be sure.
 + 
 +Tftp is easy: if often requires one quick box uncheck and a quick click - then you are good to go. It is great for instances when web GUI malfunctions or the router appears to be (but is not) bricked - [[User:Clock|clock]].
If you still wish to flash with TFTP, see the articles [[TFTP flash]], [[Asus TFTP Flash]] and [[Recover from a Bad Flash#Recovering with TFTP|Recovering with TFTP]]. If you still wish to flash with TFTP, see the articles [[TFTP flash]], [[Asus TFTP Flash]] and [[Recover from a Bad Flash#Recovering with TFTP|Recovering with TFTP]].
-==Flashing with Command Line==+==Method 3: Flashing with Command Line==
-This is available on routers that already have DD-WRT installed and Telnet/SSH enabled.+This is only available on routers that already have DD-WRT installed and Telnet/SSH enabled. It is the *ONLY* recommended method to upgrade the router ''wirelessly'' because the file is transferred from the DD-WRT servers to the router and the checksum is verified to ensure that the file is not corrupt. Other flashing methods transfer the file from your PC to the router (which would go over the wireless which is not as reliable) and do nothing to verify that the file is not corrupted.
-It's the *ONLY* recommended mode to upgrade the router ''wirelessly''.+[[Telnet/SSH and the Command Line|Telnet or ssh]] into DD-WRT.
-1) [[Telnet/SSH and the Command Line|telnet or ssh]] into dd-wrt+Download the firmware to the router's /tmp directory with wget or scp.
- +
-2) download the firmware to the router's /tmp directory with wget or scp+
<pre>cd /tmp <pre>cd /tmp
wget http://www.dd-wrt.com/dd-wrtv2/downloads/stable/dd-wrt.v2x_generic.bin</pre> wget http://www.dd-wrt.com/dd-wrtv2/downloads/stable/dd-wrt.v2x_generic.bin</pre>
-2a) Alternatively, you could use the mounted share if you have one, and simply download the file there. +Alternatively, you could use the mounted share if you have one, and simply download the file there.
-3) [[Hashes|compare the MD5 checksum]] of the original and the downloaded file+[[Hashes|Compare the MD5 checksum]] of the original and the downloaded file.
-<pre>md5sum dd-wrt.v2x_generic.bin</pre>+ md5sum dd-wrt.v2x_generic.bin
-4) write the firmware to flash+Write the firmware to flash.
-<pre>write dd-wrt.v2x_generic.bin linux</pre>+ write dd-wrt.v2x_generic.bin linux
-5) wait...+Wait...
-6) reboot+Reboot
-7) restore factory defaults using erase nvram command or reset button+Restore factory defaults using erase nvram command or reset button
-== Upgrading to a Newer Version of DD-WRT ==+==Other Notes==
 +=== Upgrading to a Newer Version of DD-WRT ===
If DD-WRT is already installed on your router, you can simply upgrade to a new version via the web interface or TFTP. However, it is highly recommended that you restore the router to defaults using the reset button before ''and'' after flash. Never restore old backups from previous versions! Skipping these steps could lead to a bricked device! If DD-WRT is already installed on your router, you can simply upgrade to a new version via the web interface or TFTP. However, it is highly recommended that you restore the router to defaults using the reset button before ''and'' after flash. Never restore old backups from previous versions! Skipping these steps could lead to a bricked device!
Please see wiki article [[Hard reset or 30/30/30|Hard reset]] for further information on how to restore your device back to DD-WRT default settings. Please see wiki article [[Hard reset or 30/30/30|Hard reset]] for further information on how to restore your device back to DD-WRT default settings.
-=Configuration Notes=+New Firmware builds can always be downloaded, '''Router-Database builds are not up-to-date'''
 +[[Firmware_FAQ#Where_do_I_download_firmware.3F | Downloading Firmware FAQ]]
 + 
 +===Configuration Notes===
* You must start to configure router from scratch. Do not try to use config files from older firmware versions. * You must start to configure router from scratch. Do not try to use config files from older firmware versions.
* It is strongly advised that you do not disable the "Boot Wait" option under the "Administration" tab. Boot Wait allows you recover if you flash your router improperly. * It is strongly advised that you do not disable the "Boot Wait" option under the "Administration" tab. Boot Wait allows you recover if you flash your router improperly.
-=If something goes wrong=+===If something goes wrong===
* If your router fails to reboot (power light doesn't stop flashing, no web interface, etc) you will need to [[Recover from a Bad Flash]]. Additional help can be found by doing a [http://www.dd-wrt.com/phpBB2/search.php forum search]. * If your router fails to reboot (power light doesn't stop flashing, no web interface, etc) you will need to [[Recover from a Bad Flash]]. Additional help can be found by doing a [http://www.dd-wrt.com/phpBB2/search.php forum search].
 +*The peacock thread's section on bricked routers ([http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486]) can help you to identify if you have a real problem or not.
-=Hardware-specific Information=+=Hardware-specific=
- +
-==Accton==+
-===[[Accton MR3202A]]===+
-See [[LaFonera Software Flashing]] Page. (use only the MR3202A binaries provided, instead of the Fonera ones)+
- +
-===[[Accton MR3201A]]===+
-See [[Accton Software Flashing]] Page. (use Fonera binaries)+
- +
- +
-==Allnet==+
-===ALL0277===+
- +
-The Allnet ALL0277 (not DSL !!!) is essentially a relabeled Linksys WRT54G v1.0. It was even reported in the forum, that you can install the Linksys firmware on these devices.+
- +
-With some minor exceptions, the procedure to install DD-WRT the first time is pretty much the same as for other WRT54G devices. +
-For flashing this device the first time you need to change the first 4 bytes of the mini_wrt54g image to read W54A (usually this is W54G). You can use a hex editor like [http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm XVI32]. After the patch, you can upload using the new firmware using the standard ALLNET web interface. +
-If the ethernet interface does not work (it did not for me on v23SP2), try the wireless LAN interface to check whether the upgrade did succeed.+
- +
-After the hard reset of the router, you should be able to proceed as described above.+
- +
-==Asus==+
-A major clean-up of the Asus Install section was needed (and done) in the fall of 2009 - see [[Asus WL500-- old descriptions]] for the old but working guides. Valuable information from the old guides should be generalised, summarised and added to the Install list below, in an manner that would keep the Initial Install page looking good.+
- +
- +
-=== All Asus WL-500xx series routers ===+
-For all Asus WL-500xx series routers there are a number of ways to do the initial flash. <br>+
-The TFTP method using the two Asus specific clean-up files is the "works every time" way. <br>+
-Other methods like using the ASUS Recovery tool or even using the web-GUI has however also been reported to work for some, for the intial dd-wrt flash. So your mileage may vary<br>+
-Pick the one that is easier and works for you - You have now been notified of the method that is guranteed to work!+
- +
-The firmware files for the Asus WL-500xx series are found under Broadcom -> dd-wrt.v24_mini_asus.trx and ...generic.bin - Read on to see when the ...asus.trx file should be used.+
- +
- +
-==== The recommended Asus TFTP way for all WL-500xx routers====+
- +
-Links to the TFTP "sure way" of doing the initial flash of the WL-500xx series routers:+
-* [[Asus TFTP Flash]]. A very detailed step by step description of using the TFTP way with the extra Asus specific steps of doing the initial flash.+
-* [[Asus TFTP Flash#From Linux using ATFTP|From Linux using ATFTP]] This description may also work for OS X.+
-* [[Asus TFTP Flash#How to Install DD-WRT onto an Asus WL-500W Using Ubuntu Linux|How to Install DD-WRT onto Asus WL-500xx Using Ubuntu Linux]]. Includes a couple of hints to get TFTP working under Ubuntu 8.10 and 9.04.+
- +
- +
-====Web Interface====+
-The easiest way. If you can connect to the router and administer it via its web interface, skip to point 5:+
-# Power up the router+
-# Connect via ethernet to one of the four LAN ports (its not recommende to do any type of upgrade using a Wi-Fi connection, any loss of connection will probably brick your router)+
-# Obtain network settings via DHCP+
-# Point your browser of choice to http://192.168.1.1/ (use the IP address of the gateway, obtained in the previous point)+
-# Reset to default settings! Can be done under Administration -> Factory defaults. Apply settings and wait for the router to reboot. You should ALWAYS reset to factory/default settinges before a flash of any firmware.+
-# Go to System Setup > Firmware Upgrade+
-# Upload the firmware file using the form provided. Select the ...asus.trx file. Also select ''Reset to defaults after flashing''+
-# Once the ...asus.trx file is loaded and the router has rebooted, +
-# Go to System Setup > Firmware Upgrade+
-# Upload the firmware file using the form provided. This time select the ...generic.bin file. Also select ''Reset to defaults after flashing''+
-# Wait until the page reloads, and wait even after the count down reaches 0. Wait until the DD-WRT interface reloads (this may take several minutes for Big and Mega firmware versions!).+
-# Congratulations, the DD-WRT install has been completed.+
- +
-====Asus Recovery Utility====+
-You can get the utilities [http://dlsvr03.asus.com/pub/ASUS/wireless/WL-500g-03/Eng_1380.zip here], or you can browse the Asus site to download the latest version. Asus only seem to provide these for Windows.+
- +
-*Under Vista and Win7 this utility must be run as administrator.+
- +
-*In case you have multiple network interfaces and are unable to find you router, disable all but the one that is connected to your router.+
- +
-*You should also turn off your firewall, in order to allow the Asus Recovery Utility to be able to connect and send data from your PC to the Router.+
- +
-Steps:+
-# Remove the power connector of the WL500G.+
-# While holding the reset button, plug the power connector back in. (WL500gP - button labeled "restore")+
-# When the power LED flashes, release the reset button. The router is now in recovery mode.+
-# Wait for your PC to get an IP address (if dhcp is configured) - you may need to manually set the address of your pc to 192.168.1.10+
-# Use the Asus recovery utility to upload the DD-WRT ''....asus.trx'' file.+
-# After the upgrade the router reboots and you should be able to access the web interface, and there do an upgrade to ......generic.bin firmware versions.+
- +
-===Asus WL500G (Original)===+
-For initial flash see [[Installation#All Asus WL-500xx series routers|Asus WL-500xx series]]+
- +
-===Asus WL500G Deluxe===+
-For initial flash see [[Installation#All Asus WL-500xx series routers|Asus WL-500xx series]]+
- +
-Here is the [[Asus WL-500g Deluxe]] specific wiki page with pictures, comments and more+
- +
-===Asus WL500G Premium===+
-For initial flash see [[Installation#All Asus WL-500xx series routers|Asus WL-500xx series]]+
- +
-Here is the [[ASUS WL-500g Premium]] specific wiki page (in german)+
- +
-Brick recovery: Try [[Hard reset or 30/30/30|Hard reset]], Serial RS-232 connection, and as a very last resort there is the "pin 9 short option" [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=2507]. Unfortunately no known JTAG option on this model.+
- +
-===Asus WL500G Premium V2===+
-For initial flash see [[Installation#All Asus WL-500xx series routers|Asus WL-500xx series]]+
- +
-Here is the [[WL500G Premium v2]] specific wiki page with pictures, comments and more+
- +
-[[Asus_WL500--_old_descriptions#Asus_WL500G_Premium_V2|"Old" wiki about Initial flash of WL500gP v2]]+
- +
-===Asus WL500W ===+
-For initial flash see [[Installation#All Asus WL-500xx series routers|Asus WL-500xx series]]+
- +
-As this router has a N-type NIC it is recommended to use a new firmware that supports this, this means no v24SP1. The firmware should be newer, like v24-pre-SP2 versions (also called v24_TNG) +
- +
-See download section -> others -> eko -> either ''BrainSlayer-V24-preSP2'' [http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FBrainSlayer-V24-preSP2/] or ''V24_TNG'' [http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FV24_TNG/]. Pick date 07-21-09 (or newer) and/or svn number 12533 (or higher).+
- +
-[[Asus_WL500--_old_descriptions#Asus_WL500W|"Old" wiki about Initial Flash of the Asus WL-500W]]+
- +
-See this for a HowTo make the most of your [[Asus WL-500W]] guide.+
- +
-===Asus WL550gE===+
-For initial flash see [[Installation#All Asus WL-500xx series routers|Asus WL-500xx series]]+
- +
-===Asus WL520G===+
-* Simply upload dd-wrt.v24_micro_generic.bin through the web interface of the original Asus firmware.+
- +
-===ASUS WL-520GC===+
- +
-Because this router has only 2MB of flash, you must use a micro-generic build of DD-WRT.+
- +
-This router supports [[Micro-plus]]+
- +
-Users have experienced successful flashes directly from the web interface on the default factory firmware i.e. the ASUS Flash tool is not required. If this fails, revert to using the tool.+
- +
-====Other notes====+
-* Same as Deluxe, but DO NOT flash the clear_nvram or recover files - it will brick your router. Only flash the firmware file itself and then do a reset to factory settings via web GUI.+
-* dd-wrt.v24_micro_generic should be used.+
-* Using web-based firmware update (rename .bin to .trx)+
-* Web interface from Asus firmware 2.0.1.0 and newer doesn't allow to upload DD-WRT firmware, it reports corrupted file. You have to downgrade to 2.0.0.8 Asus firmware in order to flash DD-WRT firmware using the GUI.+
-* There also could be unable to downgrade to 2.0.0.8 Asus firmware from newer version through web interface, easily soulution could be rename in order to flash DD-WRT firmware. Easy solution could be to rename a old firmware file (up to 2.0.0.8) for example to "newer" WL520gc_2.0.1.2_EN.trx +
-* Uploading via TFTP may not reset the router. Wait for 10-15 minutes and then power it down and up manually.+
- +
- +
-[Added by zorruno 11 Sep 2008] +
-* confirmed with new WL-520GC out of box, using web interface only+
-* needed first to downgrade Asus firmware to 2.0.0.8 ([http://dlsvr04.asus.com/pub/ASUS/wireless/WL-520GC/FW_WL520gc_2008_EN.zip here]) using the method above by renaming it to WL520gc_2.0.1.1_EN.trx (version 2.0.1.0 was in the router originally)+
-* don't worry about looking for a .trx file for the next step, dd-wrt.v24_micro_generic.bin is fine ([http://www.dd-wrt.com/dd-wrtv2/downloads/v24-sp1/Consumer/Asus/WL520GC/dd-wrt.v24_micro_generic.bin here]). Did not need to rename this file as .trx, it uploaded fine with the .bin suffix.+
- +
-[artemv, 16 Nov 2008]+
-* needed to hard-reset the router after downgrading to 2.0.0.8 (from 2.0.1.1) to be able to load dd-wrt.v24_micro_generic+
- +
-===Asus WL520GU===+
-For initial flash use same procedure as [[Installation#Asus WL-500xx series|Asus WL-500xx series]]. also see: [http://wl520gu.googlepages.com/ wl520gu.googlepages.com]+
- +
-Here is the [[Asus WL-520GU|WL-520GU]] specific wiki page with pictures, comments and more+
- +
-==Belkin==+
-===Belkin F5D7230-4 v2xxx and Lower=== +
-As this Belkin router comes in several versions.+
- +
-If you have a 4 MB model, you can reflash the router with the full version generic firmware from within the routers web interface after dd-wrt is installed.+
- +
-v1000, and v1111, have 4 MB flash while v1444 has only a 2 MB flash. You have to flash 2 MB routers with the 2 MB micro firmware.+
- +
-v1232a and all others with Broadcom 4710 chips require VINT builds.+
- +
-v1444 supports [[Micro-plus]]+
- +
-v2000 has a different switch chip and flash chip than earlier versions so a special build is required. You will temporarily lose the functionality of the switch and will only be able to connect wirelessly after flashing. (see flashing instructions and instructions for enabling the switch ports [http://dd-wrt.com/wiki/index.php/Installation#Belkin_F5D7230-4_v2000_and_v2000de]) v2000 supports [[Micro-plus]]+
- +
-v3000 should work, but attempts to flash it have been unsuccessful with current versions of DD-WRT. Attempting to flash a v3000 could brick your router. (psuftbl has had success with v3000)+
- +
-v4000 and higher appear to be based on the TI chipset found in the [[Linksys WRT54GC]].+
- +
-<b>Warning: These instructions will brick v1212 and v1213 Belkin F5D7231-4 routers, apparently without a hope of fixing them short of some rewiring.</b> See the forum posts here [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=11631] for possible help un-bricking one of these units.<br>+
-<br>+
-# Download the latest micro firmware (dd-wrt.v24_micro_generic.bin)+
-# Reset router to factory defaults. Unplug the router.+
-# Connect your computer directly to one of the LAN ports on the router.+
-# The router starts up with IP address 192.168.2.1. Set your computer's IP address manually to the following setting: IP Address: 192.168.2.2, Subnet Mask: 255.255.255.0, Default Gateway: leave blank.+
-# Go to Start->Run->"cmd" and press Enter.+
-# Change your directory to the folder containing the firmware image. Ex. <code>cd "C:\Documents and Settings\All Users\Desktop"</code>+
-# Type <code>tftp -i 192.168.2.1 PUT (file name of firmware image)</code> For example: <code>tftp -i 192.168.2.1 PUT dd-wrt.v24_micro_generic.bin</code>. '''Do not press enter yet.''' +
-# Connect the power to the Belkin.+
-# All port LEDs will illuminate.+
-# After a few seconds, all LEDs except the one you are connected to will turn off. Wait exactly one second and hit enter to execute the command. If you get a timeout error just try again. (Also try running tftp right before powering up.) If you continue to have trouble with this step check out the alternative method below.+
-# The LED on the LAN port will flash rapidly for a while after which the power button will flash rapidly for a while. Be patient and wait for the power light to stop flashing. Wait a couple more seconds.+
-# Power cycle the router. (unplug the power, wait a few seconds, plug it back in).+
-# Set your IP address back to automatic (DHCP), or set it to something beginning with 192.168.1.+
-# The router is now accessible at http://192.168.1.1/+
-# The user name is 'root' and the password is 'admin'+
-# Enjoy your DD-WRT router+
- +
-'''Alternative for Flashing F5D7230-4'''+
- +
-It may be easier to use a GUI TFTP Utility+
- +
-# Follow steps listed in the method above until you finish the part where you set your computer's IP address to 192.168.2.2+
-# Download a GUI tftp tool from [http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Ftornado%2FWindows-TFTP/ here] or use tftpd32 (http://tftpd32.jounin.net/)+
-# Start TFTP program and set server to: 192.168.2.1 and for the file part, put the location of your "dd-wrt.v24_micro_generic.bin" file. No password required.+
-# Set retries to 20.+
-# Power up router.+
-# Click upgrade and then hit the reset button on your router. If program doesn't catch the Belkin's TFTP window, just hit reset again. The tftp program will let you know when it is upgrading and succeeds.+
- +
-TFTP is only active during the first few seconds of boot. If you have problems catching the small TFTP window, try setting your NIC to 10mbps half duplex. This helps the NIC connect quicker. You can also try using a hub or switch between the router and PC.+
- +
- +
-'''Second Alternative for Flashing F5D7230-4'''+
- +
-If you're having difficulty with either of the above methods (or just don't feel like going through all the hoops required) there is a much simpler method that may work.+
- +
-#Reset the router to factory defaults.+
-#Set your computer's IP address to 192.168.2.2 as described above.+
-#Plug your computer into the router and power the router on.+
-#In a command prompt (what you get by going to Run in the start menu) type out the tftp command line but <b>do not hit enter yet</b>.+
-#Press and release the reset button on the back of the router.+
-#Almost immediately hit enter in the command prompt to run the tftp command you typed out.+
-#If tftp tells you the file was sent successfully wait a few seconds, unplug the router, then plug it back in. If it says the connection timed out or the transfer failed, prepare the tftp command line again (hitting the up arrow key should do it) and repeat the previous two steps.+
-#Connect to 192.168.1.1 to configure (and enjoy) your vastly improved router.+
- +
-After trying the first two methods a few times (the first method several times in particular) I managed to get my v1444 flashed in one try (!) using this method. As such I am unsure of the exact delay between resetting the router and starting TFTP, but it was definitely less than a second. At the very least this method is much more enjoyable than unplugging and re-plugging your router over and over again.+
- +
-'''Linux Instructions for Flashing F5D7230-4'''+
- +
-* Set the IP address of your ethernet interface to be 192.168.2.2, netmask of 255.255.255.0+
- sudo ifconfig eth0 inet 192.168.2.2 netmask 255.255.255.0+
-* Make sure you have "tftp" installed.+
-* Start up tftp with the router switched off:+
- # '''tftp 192.168.2.1'''+
- tftp> '''verbose'''+
- Verbose mode on.+
- tftp> trace+
- Packet tracing on.+
- tftp> rexmt 1+
- tftp> '''binary'''+
- mode set to octet+
- tftp> '''status'''+
- Connected to 192.168.2.1.+
- Mode: octet Verbose: on Tracing: on+
- Rexmt-interval: 1 seconds, Max-timeout: 25 seconds+
- tftp> '''timeout 60'''+
-* Turn on the router after typing the following command:+
- tftp> '''put dd-wrt.v24_micro_generic.bin'''+
- putting dd-wrt.v24_micro_generic.bin to 192.168.2.1:dd-wrt.v24_micro_generic.bin [octet]+
- Sent 1746029 bytes in 14.8 seconds [943799 bits/sec]+
- tftp> +
-* When the lights stop rapidly blinking, reset the router.+
- +
-'''OSX Instructions for Flashing F5D7230-4'''+
- +
-* Make sure the router is on and plugged into your Mac's ethernet port+
-* Goto System Preferences and click on the Network icon+
-* In the selection box next to the word "Show:" select the "Built-in Ethernet" option+
-* Change the IPv4 Configuration to manually and set the IP address to 192.168.2.2 the subnet mask to 255.255.255.0 and the router to 192.168.2.1+
-* Click "Apply Now" and change the selection box next to "Show:" back to "Network Status"+
-* Unplug the power from the router and watch the green dot next to "Built-in Ethernet" turn red+
-* Open the terminal application and type the following commands+
- tftp+
- tftp> connect 192.168.2.1+
- tftp> verbose+
- Verbose mode on.+
- tftp> ascii <font color=red><- [Edit: I think this is a typo, should be "binary"!]</font> +
- mode set to octet+
- tftp> status+
- Connected to 192.168.2.1.+
- Mode: octet Verbose: on Tracing: off+
- Rexmt-interval: 5 seconds, Max-timeout: 25 seconds+
- tftp> timeout 60+
-* Type the following but don't hit enter yet. Make sure you can still see the System Preferences window+
- tftp> put dd-wrt.v24_micro_generic.bin+
-* Now plug the router back in. As soon as you see the red dot next to "Built-in Ethernet" turn green, hit enter and the firmware should be flashed once the lights on the router stop blinking.+
-* In order to connect to the router you must first go back to the Network Preferences and change the IPv4 configuration back to DHCP and click "Renew DHCP Lease"+
- +
-'''Using v2000 Or FD57231-4 As A Wireless Client or Access Point with DD-WRT'''<br>+
-(borrowed from http://forum.bsr-clan.de/ftopic8732.html)<br>+
-<br>+
-The Belkin F5D7230-4 v2000/FD57231-4 (with screws not under label) are still not completely functional with DD-WRT, but it can be used as either a wireless access-point or a wireless client. The reason for this limitation is due to the fact that the current robo-switch is unable to+
-properly configure the vlan with this router's implementation of the BCM5325EKQM switch chip. By bypassing the vlan stuff we can get limited functionality from this router. In order to load DD-WRT micro you must tftp it on to the router. These instructions are for the v24 build of DD-WRT micro not the multi-language version which seems to have stripped out the reboot, ls and other shell commands.+
-<br>+
-A) Belkin F5D7230-4 v2000 as a wireless client.<br>+
-1) Connect to the router wirelessly<br>+
-2) Telnet to the router and sign in or use a serial console cable<br>+
-3) Enter the commands below:<br>+
-nvram set lan_ifnames="eth0 vlan0"<br>+
-nvram set port0vlans=0<br>+
-nvram set lan_ifname=eth0<br>+
-nvram set wan_ifname=vlan1<br>+
-nvram set wan_ifnames=vlan1<br>+
-nvram commit<br>+
-reboot<br>+
-4) After the reboot, unplug the router and plug it back in. When it starts back up your LAN ports should be active. The router's default IP address is 192.168.1.1. Just use the web interface via the LAN port to configure the router as a wireless client.+
-<br>+
-B) Belkin F5D7230-4 v2000 as a wireless access point<br>+
-1) Connect to the router wirelessly<br>+
-2) Telnet to the router and sign in or use a serial console cable<br>+
-3) Enter the commands below:<br>+
-nvram set lan_ifnames="vlan0 eth1"<br>+
-nvram set port0vlans=1<br>+
-nvram set remote_management=1<br>+
-nvram set lan_ifname="br0"<br>+
-nvram set wan_ifname=eth0<br>+
-nvram set wan_ifnames=eth0<br>+
-nvram commit<br>+
-reboot<br>+
-4) After the reboot, unplug the router and plug it back in. When it starts back up your WAN port should be active. The router's default IP address is 192.168.1.1. Just use the web interface via the WLAN port to configure the router as an access-point.+
-<br>+
-If you enter in the wrong setting or can not access your router you can always hold down the reset button to restore it to the factory defaults. Remember that we are bypassing all the VLAN stuff so some of the web configurations will not work.<br>+
- +
-===Belkin F5D7230-4 v2000 and v2000de===+
-This version has a different flash chip than the other versions, and it will enter a reboot loop if a special serial flash build is not used. If you have already flashed the device and it is in a reboot loop, you can still flash the correct build using TFTP.+
- +
-This version also has a different switch chip so only wireless will work after flashing. Wired can be enabled, but the ports can only be set to either WAN or LAN. If you only have wireless clients or want to use it as an [[Wireless_Access_Point]] or [[Wireless_Bridge]]; this is not a problem. However, you are not able to use this device as a wired router with wired clients.+
- +
-'''Flashing Instructions'''+
- +
-Eko has made three new builds for this router. [http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FV24_TNG%2Fsvn12220/ Build 12220] The file names are dd-wrt.v24-12220_Bv2000_NEWD_micro.bin, dd-wrt.v24-12220_Bv2000_NEWD_micro-plus.bin, and dd-wrt.v24-12220_Bv2000_NEWD_micro-plus_ssh.bin If you don't know what micro-plus is you should read this: [[Micro-plus]]+
- +
-A v24 final SF build for this device is currently available [http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FV24_FINAL-NEWD/ here]. The file name is dd-wrt.v24-9517_NEWD_SF_micro.bin+
- +
-Flashing method is the same as [http://dd-wrt.com/wiki/index.php/Installation#Belkin_F5D7230-4_v2xxx_and_Lower other Belkin versions].+
- +
-'''Enabling Wired Ports'''+
- +
-After flashing, the router will only be accessible through wireless.+
- +
-#Connect to the router over wireless. The default SSID is dd-wrt. You will be able to access the GUI at 192.168.1.1+
-#Telnet to 192.168.1.1 In Windows type telnet 192.168.1.1 in command prompt. The default username is '''root''' and password is '''admin'''+
-#Type the following commands:+
- +
-::nvram set Belkin_ver=2000<br>+
-::nvram commit<br>+
-::reboot<br>+
-The default setting is for all the ports to act as LAN ports.+
- +
-'''Setting Wired Ports to WAN'''+
- +
-It is not possible to set only the WAN port to WAN due to the switch chip in this version. You may set all the ports to WAN after following the above instructions for enabling wired ports. In this mode, you cannot connect any other wired devices other than WAN. If you are going to use the device as an AP or client bridge, this step is not needed.+
- +
-Connect to the router using wired or wireless and telnet to 192.168.1.1 as explained above.+
- +
-To use all ethernet ports as '''WAN''', set+
- +
-nvram set wan_to_lan=yes<br>+
-nvram commit<br>+
-reboot<br>+
- +
-To restore setting to '''LAN''' (default)+
- +
-nvram unset wan_to_lan<br>+
-nvram commit<br>+
-reboot<br>+
- +
-===Belkin F5D7230-4 v3000===+
-This version needs to be flashed using build 10068 or later (micro version only). The flashing method is the same as other Belkin routers.+
- +
-There have been reported problems about this router dropping the connection in Client Mode.+
- +
-==Buffalo==+
- +
-'''NOTE:''' Use only v23 SP1 final or later with Buffalo devices. Older releases may cause trouble!+
- +
-'''NOTE:''' For some models you can use the [[ddadder]] program+
- +
-===Out-of-the-box: First-time-flashing for 'store-bought' Buffalo models===+
-The web interface on a Buffalo-router cannot be used the very first time to convert the Buffalo router from factory firmware to DD-WRT.+
- +
-It is very easy though to bypass this on most models (see specific models below for exceptions):+
-# Get a TFTP utility for your OS [[TFTP_flash]]. Many operating systems include a GUI tftp tool.+
-# From the DD-WRT website, download dd-wrt.v24_std_generic.bin from the Brainslayer 12874 folder, or the latest SVN release. There is a link to this folder in the peacock announcement at the top of the broadcom router forum.+
-# Plug your ethernet cable (not wireless!) into a LAN port on the Buffalo.+
-# Your IP address auto-assigned is usually 192.168.11.2, but you must manually set it to flash this time only.+
-# Assign the IP of 192.168.11.2 to your network adapter. In most Microsoft Windows this is Start, Control Panel, Network Connections, find the LAN connection and right-click, find TCPIP and click Properties, and set the IP to 192.168.11.2 and the Subnet to 255.255.255.0. Do not change any other settings!+
-# In your TFTP utility of choice, put in 192.168.11.1 for the Server, select the .bin firmware image you downloaded. No password is required for TFTP.+
-# Unplug the Buffalo. Get ready to start the TFTP upload.+
-# Plug in the Buffalo. The diag light with all the other lights may come on very quickly and go out. A few seconds later when the diag light blinks, immediately start the upload.+
- +
-''The diag light flashes for awhile, the router restarts, and you are done! Don't forget now to change your LAN TCP/IP back to DHCP (Automatic).''+
- +
- +
-Misc. Notes:+
-The TFTP procedure above is necessary for first time flashing from the factory Buffalo firmware to DD-WRT firmware. Many companies let you upload firmware directly from the user interface. Buffalo, unfortunately, encrypts their firmware, meaning their routers will accept only their encrypted firmware from the web interface.+
- +
-The first time you flash, the TFTP method can be used to bypass the 'encrypted' firmware requirement. After dd-wrt is installed, the router firmware can be upgraded through the Web interface normally.+
- +
-All the Broadcom routers ''normally'' enter a special mode in the first few seconds after power is applied that allows a TFTP transfer to directly program the flash ROM with new firmware. So what you do is get everything ready to go. 1. power up the router, and then 2. send the router the new firmware, quickly.+
- +
-===WHR-G54S, WHR-HP-G54, WZR-HP-G54 Specifics===+
-* Once you flash to DD-WRT on the Buffalo WHR-G54S/WHR-HP-G54/WZR-RS-G54, you may want to flash back to the Buffalo firmware. The [http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Fbuffalo+factory+revert+/ Buffalo Factory Revert] files can be uploaded from the dd-wrt GUI to restore the factory firmware. The WHR-HP-G54 image is the German version. Once it is installed you can download the English version from Buffalo's site and install it.+
-* A hidden LED behind the front panel may blink on older models. It slightly lights up the bridge icon. This LED is not used in the Buffalo firmware, but in DD-WRT it will flash on for 2 seconds, then off for 2 seconds.+
- +
-Also, see [[WHR-HP-G54]]+
- +
-===WHR-G125 Specifics===+
-It is now possible to revert this unit to factory firmware. Please see here for [http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FBuffalo%2FWHR-G125+revert/ here] for revert files.+
- +
-Support for this model is in v24 and later. Do not use earlier versions (like any v23)!+
- +
-===WZR-RS-G54 Specifics===+
- +
-Substitute 192.168.12.1 as the router IP, and 192.168.12.2 as your computer IP in this guide.+
- +
-===WBR-G54 WLA-G54 WBR2-G54 WBR2-G54S specifics===+
- +
-See [[Flash Your Buffalo WBR-G54, WLA-G54, ...]]+
-also includes ''' WBR2-G54, WBR2-G54S'''+
- +
-===Flashing WHR-G300N===+
-See [[WHR-G300N]]+
- +
-===Flashing WHR-HP-AG108===+
- +
-See [[WHR-HP-AG108]]+
- +
-===More detailed flashing instructions under Windows===+
- +
-Vista Users: Go into Control Panel, Programs, turn Windows Features on of off, check "TFTP Client".+
- +
-The computer you are using, and the router you are resetting, must be close to each other: so it is possible to have one hand on the enter key of the computer, and the other holding the power plug of the router, and able to put it in the wall or power outlet.+
- +
-# It's good to now reset to [[Factory Defaults|factory defaults]] by holding the reset button while plugging in the router. Hold for '''at least''' 30 seconds. Unplug the router. This makes sure the router is in its 'factory fresh' state.+
-# Unplug the router. Usually, preparing by leaving the connection to the router, and unplugging the router from the wall or power cord, is the easiest way.+
-# A non-XPSP2, third-party firewall, may interfere with tftp's ability to talk to the router. It may be useful to disable any third-party firewalls now.+
-# Either:+
-## Your computer should be connected directly to one of the LAN ports on the router. (You can use a regular cable or crossover).+
-## Or if you have a larger network, the computer is connected to a switch, and then to the router LAN port. The router's power cord still needs to be within reach while you are at the computer.[[Image:Set static IP XP Fixed.png|thumbnail|Reference Image]]+
-# For Windows XP, the following reference image should help. After selecting "Internet Protocol (TCP/IP)," click on the Properties button to open the next screen. Enter the info as shown, an IP address of 192.168.11.2, a subnet mask of 255.255.255.0, and click 'OK'. Leave Default Gateway '''blank'''.+
-# Make a copy of the firmware file, call it 'ddwrt.bin', and put it in your user folder. For instance, "C:\Documents and Settings\yourusername".+
-# Open a command window, by using Start->Run->"cmd". Enter 'ping 192.168.11.1 -t -w 10'.+
-## The router is pinged continuously from the computer, letting you know when to send the firmware.+
-# Open up a second command window, and leave the first where you can see the ping results.+
-# Without pressing Enter, type <code>tftp -i 192.168.11.1 PUT ddwrt.bin</code> '''Do not press enter yet.''' Keep this second command window in the foreground, so all you have to press is the Enter key to send the firmware.+
-# With the power cable to the router in one hand, and the other hand on the Enter key, plug the router in while watching the first command window. When ping replies from 192.168.11.1 begin, press the Enter key.+
-## Some people have found that they have better luck if you plug in the power cable for the router first, then wait a few seconds until you see the red "DIAG" light come on the front of the router. As soon as you see that, you'll want to press Enter to immediately start the TFTP transfer.+
-## http://wiki.openwrt.org/OpenWrtDocs/Hardware/Buffalo/WHR-G54S+
-# All port LEDs will illuminate.+
-# The LED on the LAN port will flash rapidly for about 6 seconds. The TFTP command will complete with a success printout, like <code>Transfer successful: 3502080 bytes in 5 seconds, 700416 bytes/s</code>. Leave the router ALONE at this point!+
-# The router will reboot and then boot DD-WRT.+
-# At this point, the router is ready to use. There is no need to reboot it (unplug/plug).+
-# You can reconfigure your network interface on your computer to use DHCP. The computer pulls an IP address and network information from the router. Access the router via http://192.168.1.1+
-## ''(For the WB2-G54 and some WHR-G54S models, the router may still be accessible at 192.168.11.1).''+
-# The user name is 'root' and the password is 'admin'.+
- +
-Unplugging router can cause media detect network cards to show no media, ie "Network cable disconnected." When you start the tftp and plug the router in, the NIC doesn't detect media until after the tftp flash window has passed, so 60 seconds later tftp times out and the router boots normally. If so, don't unplug the router. Get your tftp ready, hold down the Init (Reset) button on the router, with the Init held down and the Diag blinking, start tftp and immediately release the Init button. You'll never get the 'Cable Disconnected' errors, and it should flash right up.+
- +
-===If you experience timeouts with TFTP===+
- +
-''***If you are still having trouble with timeouts, etc., you may want to try using the [ftp://ftp.linksys.com/pub/network/tftp.exe TFTP client from Linksys]. Be sure to set it to retry at least three (3) times. Five (5) would be a safe number to start with. Connect power while holding the reset button till the red diag button begins to blink, release the reset button and hit the Upgrade button on the Linksys TFTP Utility. For WHR-HP-G54 I had to flash through a switch with Windows or suffer timeouts trying.***''+
- +
-Setting your NIC to 10mbps half duplex helps it connect faster so you don't miss the TFTP window. You can also try putting a hub or switch between the router and PC.+
- +
-I tried several time on Windows XP. The result is always a timeout.+
-Disabling Media Sense feature of Windows XP, I finally succeeded.+
-How to disable Media Sense feature of Windows.+
-http://support.microsoft.com/kb/239924+
- +
-===A script-method-flash-method in Windows===+
- +
- +
-#Save the script below to a file named "install.cmd" (without quotes), and put the firmware file in the same folder.+
-#Run it. +
-#Follow the directions.+
-----+
-<pre>+
-@echo off+
- +
-echo ============================================================================+
-echo Type or paste the firmware filename below and then press Enter.+
-echo.+
-set /p dd-wrt_fn=Firmware Filename: +
-echo.+
-if not exist %dd-wrt_fn% goto FNF_ERROR+
- +
-echo ============================================================================+
- +
-echo This batch file will upload %dd-wrt_fn% in the current+
-echo directory to 192.168.11.1 during the router's bootup.+
-echo.+
-echo * Set your ethernet card's settings to:+
-echo IP: 192.168.11.2+
-echo Mask: 255.255.255.0+
-echo Gateway: 192.168.11.1.+
-echo * Unplug the router's power cable.+
-echo.+
- +
-echo Press Ctrl+C to abort or any other key to continue . . .+
-pause > nul+
- +
-echo.+
-echo * Re-plug the router's power cable.+
-echo.+
- +
-echo ============================================================================+
- +
-echo Waiting for the router; Press Ctrl+C to abort . . .+
-echo.+
- +
-:PING+
-ping -n 1 -w 50 192.168.11.1 > nul+
-if errorlevel 1 goto PING+
- +
-echo tftp -i 192.168.11.1 put %dd-wrt_fn%+
-tftp -i 192.168.11.1 put %dd-wrt_fn%+
-if errorlevel 1 goto PING+
- +
-echo.+
- +
-echo ============================================================================+
- +
-echo * WAIT for about 2 minutes while the firmware is being flashed.+
-echo * Reset your ethernet card's settings back to DHCP.+
-echo * The default router address will be at 192.168.1.1.+
-echo.+
- +
-pause+
-goto END+
- +
-:FNF_ERROR+
-echo ============================================================================+
- +
-echo ERROR: Make sure this batch file and the firmware are in the same directory!+
-echo.+
-pause+
- +
-:END+
-</pre>+
-----+
- +
- +
-<br><br>+
- +
-===Linux, OS X or other OS: TFTP flashing===+
-# Obviously, be sure to observe the aforementioned procedures:+
-#* Disable your wireless adapter so that the tftp connection is '''not''' through a wireless connection.+
-#* Connect directly to the router using a wired connection (i.e. ethernet cable). Make sure you are connected to one of the four LAN ports and not the WAN port.+
-#* Download a copy of these instructions so that they are available to you during the procedure.+
-#* Most importantly, review all of these procedures before attempting them.+
-# OS X specific instructions:+
-#* Open up system preferences and select the network preference pane+
-#* Under the TCP/IP tab select from the drop down menu next to ''Configure IPv4'' manually+
-#* Type in 192.168.11.2 for the IP address+
-#* Type in 255.255.255.0 for the Subnet mask+
-#* Type in 192.168.11.1 for the router+
-#* Click ''Apply Now''+
-# Change to the directory that you downloaded the dd-wrt.v23_mini_generic.bin file into. ''At least in Mac OS X, tftp fails to resolve either absolute or relative paths. It is simply better to cd to the directory that contains the dd-wrt.v23_mini_generic.bin file before launching the tftp app so no path resolution has to happen.''+
-# Execute the tftp command and change the mode to binary by typing ''binary'' and hitting return/enter.+
-# Execute the trace command so you get feedback.+
-# Execute the rexmt 1 command so tftp will retry to send the file if you don't get the timing perfect.+
-# type in the connect 192.168.11.1 command but don't execute it yet. +
-# copy the following command (ctrl-c or cmd-c): <code>put dd-wrt.v23_mini_generic.bin.</code>. ''You don't want to hit return yet, because you're going to do this when the timing is right.''+
-# Now that you are ready, here we go: +
-## Plug in the router+
-## When the router is plugged back into power, all of the LEDs on the ethernet ports will turn on.+
-## Once the LEDs turn off on all ports except the connected port, hit enter on the connect command, then immediatly paste (crtl+v or cmd-v) the PUT command into the terminal and hit enter.+
-## The terminal will return with the number of bytes sent and the time that the transfer took in seconds.+
- +
- +
-''Here is a recap of all the commands:'' +
-<pre>+
-$ cd /path/to/dd-wrt.v23_mini_generic.bin/directory+
-$ tftp+
-tftp> binary+
-tftp> trace+
-tftp> rexmt 1+
-tftp> connect 192.168.11.1+
-tftp> put dd-wrt.v23_mini_generic.bin+
-</pre>+
- +
-'''OS X timing tip:''' Open the network preference pane and select "Network Status" under the "show" pull-down menu. When the router is unplugged the dot next to "Built-in Ethernet" will be red. Now plug in the router and watch for the "Built-in Ethernet" dot to turn green. As soon as it does, execute the connect and put commands.+
- +
-===Linux: Alternatives and Troubleshooting flash procedures===+
-* Within tftp, you may be able to execute multiple commands using the '&&' operator.+
-* You may be able to use the following one line command:+
-<pre>+
-tftp 192.168.11.1 -m binary -c put dd-wrt.v23_generic.bin +
-</pre>+
-* Be sure to remember to use 192.168.12.1 for the WZR-RS-G54 router. +
-* Make sure you are in the directory containing the DD-WRT binary before entering tftp.+
-* If tftp fails, try atftp (available in portage for Gentoo and repositories for Debian, Ubuntu, and probably others.) With atftp, the "binary" and "rexmt 1" commands are unnecessary.+
-* If the above does not work, try issuing the "put" command before powering the router. The command will retry and begin as soon as the connection is established. Finding the right timing is everything.+
-* Try also holding the router's INIT button, starting the "put" command, then releasing the button.+
- +
-===More Troubleshooting tips===+
-* If you experience problems a network switch connected between the Buffalo and your PC may help.+
-* If you experience problems, you may need to erase NVRAM by starting a telnet session and entering one (or both?) of the following options:+
-* Option 1 :+
-<pre>mtd erase nvram</pre>+
-* Option 2 : (taken from [http://wiki.openwrt.org/Faq#head-71cacf8460752af3f5771d2fae54923ded5beb9c OpenWrt FAQ])+
-<pre>cd /tmp+
-wget http://openwrt.inf.fh-brs.de/~nbd/nvram-clean.sh+
-chmod a+x /tmp/nvram-clean.sh+
-/tmp/nvram-clean.sh+
-nvram commit+
-</pre>+
-* Search for posts in the forum containing "WHR-G54S" and the problem you are having.+
- +
-===De-bricking (unresponsive)===+
- +
-* DD-WRT wiki article: [[Recover from a Bad Flash#Buffalo WHR-G54S and Buffalo WHR-HP-G54]]+
- +
-* Forums, search for "WHR-G54S bricked". There are enough debricking threads, you don't need to start your own.+
- +
-==D-Link==+
-===DIR-300===+
- +
-See [[DIR300]] page.+
- +
-===DIR-330===+
- +
-See [[DIR-330]] page.+
- +
-===DIR-400===+
- +
-See [[DIR-400]] page+
- +
-==Gateworks Avila Network Processor GW2348==+
- +
-<div style='color:red; font-weight:bold'>Please note: The details in these instructions apply specifically to the GW2348-4 board.+
-If you are using a GW2348-2 or GW2347 there are subtle but important differences in the flashing commands you must use. See the+
-file FLASHING.TXT for details.</div>+
- +
-See [[Gateworks Avila Network Processor GW2348]] page.+
- +
-==[[LaFonera (en)]]==+
-See [[LaFonera Software Flashing]] Page.+
- +
-==Linksys==+
- +
-===Linksys WAP54G===+
- +
-<div style='color:red; font-weight:bold'>'''WARNING''' - DD-WRT was not originally intended to be loaded on a WAP unit. It was found that it will run but it is a tricky unit to load and have function correctly. Below are a compilation of methods/instructions to assist you with creating a DD-WRT loaded WAP unit. </div>+
- +
-Hard reset does not work on this device so it is not possible to clear the NVRAM using the reset button. This can be problematic if you need to reset the device in order to access it. If this happens you can reinstall the linksys firmware using the tftp method and then reset it.+
- +
-<div style='color:red; font-weight:bold'>LOAD AT YOUR OWN RISK.</div>+
- +
-See [[Linksys WAP54G]] page.+
- +
-===Linksys WRT54G, WRT54GL, WRT54GS, or WRT54GGX===+
- +
-DD-WRT supports all WRT54G models except for the v7.+
- +
-See [[Linksys WRT54G/GL/GS/GX]] page.+
- +
-===Linksys WRT54G-TM and WRT54G-RG===+
- +
-These routers are identical in terms of hardware, but differ in terms of firmware, so you MUST USE THE CORRECT files. The WRT54G-TM was a t-mobile router put out by Linksys, and the WRT54G-RG was a Rogers router put out by rogers in Canada.+
- +
- +
-To Flash the WRT54G-TM+
- +
-See [[Linksys WRT54G-TM]] page.+
- +
- +
- +
-To Flash the WRT54G-RG'+
- +
-See [[Linksys WRT54G-RG]] page.+
- +
-=== Linksys WRT54G2 ===+
- +
-See [[Linksys WRT54G2]] page.+
- +
-===Linksys WRTSL54GS ===+
- +
-See [[Linksys WRTSL54GS]] page.+
- +
-===Linksys WTR54GS===+
- +
-See [[WTR54GS]] page.+
- +
-===Linksys WRT150N and WRT160N===+
- +
-See [[Linksys WRT150N]] page.+
- +
-===Linksys WRT300N v1 and v.1.1===+
- +
-See [[Linksys WRT300N|Linksys WRT300N]] page.+
- +
-===Linksys WRT310N v1.0===+
- +
-See [[Linksys WRT310N v1.0]] page.+
- +
-===Linksys WRT350N===+
- +
-See [[Linksys WRT350N]] page.+
- +
-===Linksys WRT600N v1 and 1.1===+
- +
-See [[Linksys WRT600N]] page.+
- +
-===Linksys WRT610N v1 '''WIP'''===+
- +
-See [[Linksys WRT610N]] page.+
- +
-==Microsoft==+
-===Microsoft MN700===+
- +
-* See [[MN-700]] Page - summary of steps include:+
-** Similar to Asus Deluxe.+
-** First perform MN-700 hack to enable Linux-based firmware to be installed.+
-** Install DD-WRT firmware using Asus Recovery Utility in recovery mode+
-** Clear filter_services variables if necessary (SP2 and earlier)+
- +
-v23 SP2 and earlier work but require filter_service NVRAM variables to be cleared and reset button does not work.<br />+
-Full support in SVN 3949+ (you can get SVN 3953 [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=4770 here])+
- +
-==Mikrotik Routerboard RB/532==+
-Mikrotik Routerboard RB/532 is supported starting with DD-WRT v23 SP1. See [[Mikrotik Routerboard RB/532]].+
- +
-==Mitsubishi==+
-===Mitsubishi R100 Gateway===+
-The Mitsubishi R100 is a relabeled Asus WL500G that is only available in Australia. As such, you can use the Asus tools on the Mitsubishi product. The R100s are usually found at lower prices compared to the Asus product. They also come with a three year warranty. Obviously, flashing with a third-party firmware voids this warranty.+
- +
-==Motorola WR850G==+
-See [[Flash Your Motorola WR850G]]+
- +
-==Netgear==+
- +
-===Netgear WGR614v8/L/WW===+
- +
-Initial flash of DD-WRT firmware is done though Netgear update GUI using a device specific .chk file+
- +
-If the firmware you are loading is before svn11600 then you will need to update the firmware using this [http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24_TNG/svn11604/dd-wrt.v24-11604_WGR614v8-L_mini.bin file] first before upgrading to a newer build. After the initial .chk flash (after svn11600) any generic .bin file can be used to upgrade firmware to the router using the DD-WRT Firmware update tab.+
- +
-These are the notes provided by Eko.+
- +
-Files listed are located [http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FV24_TNG%2Fsvn11604/ here]+
- +
-'''Notes:'''+
- +
-Flashing Netgear WGR614v8, WGR614L, WGR614WW+
- +
-For first flash (running original Netgear's firmware) or for tftp+
-please use dd-wrt.v24-11604_NEWD_mini_wgr614v8-L.chk file.+
- +
- +
-For upgrade when already running DD-WRT (IMPORTANT!):+
- +
-- if your DD-WRT build is less then 11600 please+
-use dd-wrt.v24-11604_WGR614v8-L_mini.bin file. Then+
-you can upgrade to any build listed below.+
- +
-- if your DD-WRT build number is greater then 11600,+
-you can upgrade directly using any build listed below. Keep in mind that as newer builds come out (higher svn numbers than 11600) they are also compatible.+
- +
-Compatible builds:+
- +
-*dd-wrt.v24-11604_NEWD_mini.bin+
-*dd-wrt.v24-11604_NEWD_mini_hotspot.bin+
-*dd-wrt.v24-11604_NEWD_std.bin+
-*dd-wrt.v24-11604_NEWD_std-nokaid.bin+
-*dd-wrt.v24-11604_NEWD_std-nokaid_nohotspot_nostor.bin+
-*dd-wrt.v24-11604_NEWD_voip.bin+
-*dd-wrt.v24-11604_NEWD_openvpn_jffs_small.bin+
-*dd-wrt.v24-11604_NEWD_openvpn.bin+
- +
- +
-Additional wiki information about the WGR614v8 can be found [[WGR614 v8|here]]. Some of this data is outdated but it could still provide to be useful.+
- +
-===Netgear WNR834Bv1===+
- +
-This model (the V1) does NOT have a JTAG header, only serial, so caution must be exercised when working on this unit.+
- +
-Not much is said about this device other than flash it with a modified header. All information I found was that there was not modified header build for this unit except that which was created by SveaSoft with theire Talisman 1.3.1 package.+
- +
-So... after much investigation it was found that the firmware needs to be updated in the form of an .img file. Original Netgear firmware was a .img file and would only accept TFTP input or web GUI input of a .img file.+
- +
-[NOTE] <span style="color:red"> - further investigation proved that the .img file is actually a .zip file. You can rename the .img to .zip and extract the contained WNR834B.bin file. Using a hex editor this .bin file contains both the CFE and FW for the unit....so by removing the first byte through the last byte before the HDR0 in the file will leave just the FW of the .bin file... this is a .bin file and CAN be flashed directly to the unit using TFTP.<br></span>+
- +
-<span style="color:red">Also found was that any .bin file can be flashed using TFTP to the unit unless the nvram has been erased using the CFE's "nvram erase" command then it will need flashing with the original .img file again. Once the Netgear FW .img is flashed navigate to the upgrade FW tab and use the 1158_mini build of .img provided below. <br></span>+
- +
- +
-I found that Simri created a .img build for this unit and it works very well. The first loading of DD-WRT firmware must be an .img file and can be loaded from the Netgear firmware update tab.+
- +
-[http://www.dd-wrt.com/phpBB2/download.php?id=8354 11580_mini build of .img]+
- +
-Hard reset <br>+
-Load firmware (192.168.1.1 with admin/password for un/pw)<br>+
-wait 5 minutes<br>+
-power cycle router<br>+
-hard reset again<br>+
-configure.<br>+
- +
-Subsequent DD-WRT firmware updates can be done from the DD-WRT firmware update page and you can load any .bin file except for the mega build. (I suggest you don't downgrade lower than the 11580 build that you used for the initial flash)+
- +
-Here is the original [http://www.dd-wrt.com/phpBB2/download.php?id=8353 Netgear firmware] as well for those that want to revert back.+
- +
-Additional information about this unit can be found [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=49317 here]+
- +
-<span style="color:red">'''USE THESE INSTRUCTIONS AT YOUR OWN RISK. DD-WRT WILL NOT BE RESPONSIBLE IF YOU BRICK THE ROUTER'''</span>+
- +
-[NOTE] - if you have DD-WRT on the unit and have the wrong MAC address. You can use another method of obtaining the correct MAC address permanently.+
- +
-Extract the cfe.bin by using the [[CFE backup|HTTP backup method]] (save this file to your disk drive)+
-Edit the cfe.bin file using a hex editor...locate and modify both the et0macaddr and et1macaddr to be the MAC address with that which is found on the sticker of your unit (yes...both et0 and et1 will be that address)....Make sure you do not ADD any bytes to the file (only overwrite current bytes)....if you do add to the file...you will have an unrecoverable brick....guaranteed...remember you only have serial communication and the CFE must work for serial to work.+
- +
-Then using WinSCP (SSH must be enabled in DD-WRT) copy the newly edited CFE to the unit's /tmp directory. Now you can use a telnet session to mtd the new CFE over the old one....remember...you must have the exact same CFE with only the MAC address's changed for this to work...if you don't you will have an unrecoverable brick...guaranteed.+
- +
-the commands for overwriting the CFE is<br>+
- +
-mtd unlock cfe<br>+
-mtd write /tmp/cfe.bin cfe<br>+
- +
-When it finishes reboot the router. The correct MAC addresses should now show up on the Status tab.<br>+
- +
- +
-Thanks to Sparky and Simri for sharing their knowledge of these Netgear units on the forum. [[User:Redhawk0|redhawk]]<br>+
- +
-===Netgear WNR834Bv2===+
- +
-(See Important Notes below before attempting to flash)+
-{|style="width:100%;margin-top:+.7em;background-color:#EFEFFF;border:2px dotted #f00;text-align:left"+
-|-+
-|style="width:1em;color:#000"|+
-[[Image:Warning.png]]+
-|style="width:45em;color:#000"|<div style='color:red; font-weight:bold'>Do not use bin/chk files from the router database older than svn12188. Currently, they are bricking routers. Once this problem is sorted out, this message will be removed.</div> [[User:Sparkie|Sparkie]] Updated by [[User:redhawk0|redhawk0]]+
-|-+
-|}+
- +
-The Netgear WNR834Bv2 is now fully supported as of 3rd July 2008. Thanks to Eko, Brainslayer, etc. for their superb work in getting this router supported.+
- +
-These (slightly modified) instructions were first posted by sparkie [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=21255&start=332 here]. Read that complete thread for the hairy details on getting this device fully supported, if you are so interested or suffer from insomnia.+
- +
-'''Step 1:''' Download the mini version of DD-WRT version 24, build 12121, new driver in the dot CHK format [http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24_TNG/svn12121/dd-wrt.v24-12121_NEWD_mini_wnr834bv2.chk here].+
- +
-'''Step 2:''' Flash the firmware to your router using Netgear's factory firmware standard web interface. Note that to successfully flash this device, you may need to use IE or Firefox 3 or higher. sparkie has reported in the thread linked above that Firefox 2 will '''not''' work with the Netgear factory web upgrade page to flash this device.+
- +
-'''Step 3:''' If the mini build is insufficient for your needs, you may download your preferred flash BIN file from [http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FV24_TNG%2Fsvn12121/ here]. Then flash up the new .BIN file using the DD-WRT web interface from the Administration tab, then the Firmware Upgrades tab.+
- +
-'''Important Notes (Please read these in full before attempting to flash):''' +
- +
-* DO NOT ATTEMPT TO FLASH ANY BUILDS EARLIER THAN 9856 DATED 3RD JULY 2008, or you risk bricking your router. Some of the v24 release candidate 7s worked with minor bugs. But the first final v24 bricked the router for some users as a result of a problem with JFFS.+
- +
-* TFTP flashing only works when the router detects a bad flash and puts itself in diagnostic mode. This can be seen by a flashing green power light, and also a ping trace will show response immediately after powerup with TTL=100. Proper flashes will stop replying to pings after about 15 seconds, then will reply with TTL=64. Diag mode will stay at TTL=100. Diag mode can be forced by opening the router and shorting pins 16 and 17 on the MX flash chip during powerup. Some suggest you try the pin short first, other suggest JTAG. Both have their pros and cons.+
- +
-* TTL=100 3~6 times means your router is bricked. No amount of uploading an image via tftp at the proper time will work. It will require a pin short, or jtag to fix. It is '''futile''' to try and achieve perfect timing to upload an image in this mode.+
- +
-* NEWD = New Drivers; VINT = Vintage Drivers. Use only NEWD firmwares with this router. VINT builds are for much older routers.+
- +
-* DO NOT INSTALL the generic broadcom dd-wrt.v24_std_generic.bin file (2.4 SP1). It will likely brick your router.+
- +
-* If your router is stuck in 'tftp only' mode (characterized by a constant TTL=100 ping response), you can rescue it by TFTPing the original Netgear firmware less the header file located [http://www.dd-wrt.com/phpBB2/download.php?id=5495 here], which will flash your router back to Netgear's stock 1.0.22 North America firmware. This file is called wnr834bv2_1_0_22_na.bin+
- +
-* For routers will a more recent flash, you will need the 2.1.13 version of the flashes [http://www.dd-wrt.com/phpBB2/download.php?id=6905 2.1.13_NA] / [http://www.dd-wrt.com/phpBB2/download.php?id=6906 2.1.13_WW]+
- +
-* Your router has only 4 MB of Flash RAM. Do not attempt to flash the MEGA version of DD-WRT to this device.+
- +
-'''DOUBLE SUPER DUPER Extremely Important Note:''' +
- +
-According to Eko, the NVRAM of this router has an additional partition on it which contains your router's serial number, MAC address, and board code. DD-WRT builds prior to 9856 would overwrite this section of NVRAM, if the user enabled JFFS. Builds 9856 and higher include support for turning JFFS on with this model router. In the event that you accidentally erase this part of the NVRAM, you can only recover your router by flashing it via JTAG. +
- +
- +
-This also implies that if you want to use the OpenVPN version, you'll want one with an openvpn_jffs_small suffix like [http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24_TNG/svn12121/dd-wrt.v24-12121_NEWD_openvpn_jffs_small.bin THIS] one (current as of 15/5/2009).+
- +
-'''WNR834Bv2 JTAG Pinout:''' +
- +
- J12 Pin 1 connected to JP1 pin 1 via 100 ohm resistor. +
- +
- J12 Pin 3 --100r--> TDI (Pin 2 of parallel port) +
- J12 Pin 5 --100r--> to TD0 (Pin 13 of parallel port) +
- J12 Pin 7 --100r--> to TMS (Pin 4 of parallel port) +
- J12 Pin 9 --100r--> to TCK (Pin 3 of parallel port) +
- J12 Pin 10 -------> to GND (Pin 20&25 of parallel port) +
- +
-* Functional NVRAM backup is [http://www.dd-wrt.com/phpBB2/download.php?id=4233 here].+
-* Functional CFE backup is [http://www.dd-wrt.com/phpBB2/download.php?id=4232 here]. +
-* Functional Custom backup is [http://www.dd-wrt.com/phpBB2/download.php?id=5501 here]. '''(REQUIRES MODIFICATION OF MAC ADDRESS)'''+
-* Tornado's JTAG v2.1.4 is [http://www.dd-wrt.com/dd-wrtv2/downloads/others/tornado/jtag/tjtagv2-1-4.zip here].+
- +
- +
-'''RECOVERY PROCESS VIA JTAG'''+
- +
-One of the best [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=54770 threads] that has been found for debricking the WNR834Bv2.+
- +
- +
-The fastest way to recover a bricked WNR834Bv2 is to wipe the kernel portion of the flash, and reflash the custom section.+
- +
-* 1. Download one of the binpacks [http://www.dd-wrt.com/phpBB2/download.php?id=6906 WNR834Bv2 World Wide]. [http://www.dd-wrt.com/phpBB2/download.php?id=6905 WNR834Bv2 North America], and the [http://www.dd-wrt.com/phpBB2/download.php?id=5501 custom.bin]+
-* 2. JTAG the router+
-* 3. Erase the kernel portion of the flash+
-* 4. Reflash the 'custom' section of the flash (hex edit the custom.bin and put your own MAC address in at offset 40~45!)+
-* 4a. flash parameters: -flash:custom /window:1fc00000 /start:1ffe0000 /length:10000+
-* 5. Power cycle the router and the router will respond with a constant ttl=100 ping response+
-* 6. TFTP a '''dot CHK''' file appropriate to your router (NA or WW)+
-* 6a. You will know that the transfer was completed and the flash process is working when router power light blinks amber on and off once per second. After a few minutes, the router will begin to respond with a ttl=64 ping and will be functional again.+
- +
-'''RECOVERY PROCESS VIA PIN SHORT'''+
-* [http://www.dd-wrt.com/phpBB2/files/wnr834bv2_tsop_jtag_180_184.jpg Pin Locations].+
-* Short pins 16 & 17+
-* Power up router+
-* Open two command prompt/console windows+
-* Start a ping of the router, it should respond with TTL=100+
-* Initiate TFTP upload of a .chk file (DD-WRT or one of the stock Netgear ones)+
-* Immediately remove the short+
-* You will know that the transfer was completed and the flash process is working when router power light blinks amber on and off once per second. After a '''few minutes''', the router will begin to respond with a ttl=64 ping and will be functional again. (Yes, it actually does take 2~3 minutes)+
- +
-'''FAULTY POWER SUPPLY'''+
- +
-Many of the factory refurb WNR834B v1 and v2 routers sold in 2008 through frys.com, geeks.com, tigerdirect.com, and woot.com were shipped with a marginal or defective power supply manufactured by DVE. These units are smaller than traditional power supplies, and can be identified by the following information:+
- +
-P/N: 332-10006-01+
- +
-MODEL: DSA-12R-12 AUS 120120+
- +
-The routers will operate perfectly with only 9VDC @ 800mA, but older-style surplus Netgear power supplies that output 12VDC @ 1A are available from AllElectronics.com as [http://www.allelectronics.com/make-a-store/item/DCTX-1216/12-VDC-1.2-AMP-WALL-TRANSFORMER/-/1.html DCTX-1216]+
- +
-===Netgear WNDR3300===+
- +
-Initial flash of dd-wrt firmware can be done though Netgear factory firmware GUI using a device specific .chk file+
- +
-Just get this .chk [http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24_TNG/svn12030/dd-wrt.v24-12030_NEWD_mini_wndr3300.chk file (as of 2009, May First)] and use Netgear GUI to upload to your router. All done. +
- +
- +
-Few things I noticed so far.+
- +
-- You can try but std never worked for me so far.+
- +
-- If you brick it (green power light keeps blinking), unbricking is easy. Just use tftp to upload above .chk or factory firmware. (tftp info [[Installation#Flashing with TFTP|here]])+
- +
- +
-These are the notes provided by Eko.+
- +
-Files listed are located [http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FV24_TNG%2Fsvn12030/ here]+
- +
-'''Notes:'''+
- +
-Flashing Netgear WNDR3300+
- +
-For first flash (running original Netgear's firmware) or for tftp+
-please use dd-wrt.v24-12030_NEWD_mini_wndr3300.chk file.+
- +
-If you need additional info WNDR3300 is discussed [http://www.dd-wrt.com/forum/viewtopic.php?t=27684&start=405 here].+
- +
-==Siemens SE505==+
-DD-WRT v23 (starting from 27/10/05 version) does now officially support the Siemens Gigaset SE505 router. That means you can use the very latest features like WPA2 on this unit too. Due the limited RAM of this unit, you cannot use all features at the same time, but from the base it is much better than the original firmware for this router. +
- +
-[[Flash Your Siemens SE505]]+
- +
-'''Related Links'''+
- +
-* [http://www.dslrouter-hilfe.de/home/siemens-reset.php Reset to Default Firmware] (German)+
-* [http://wiki.opennet-initiative.de/index.php/Siemens_SE505 Differences between SE505 version 1 and 2]+
- +
-==[[Ubiquiti Litestation 2 (LS2/LS5/PS2/PS5/NS2/NS5/LSX)]]==+
-Upgrading Ubiquiti LS2 to DD-WRT v24 (the same procedure works for other Ubiquiti products as well, just the files and filenames are different)+
- +
- +
-Requirements:+
- +
- * Direct ethernet cable connection between PC and LiteStation+
- * Network settings of PC: 192.168.1.254/255.255.255.0+
- * TFTP client on PC+
- * LiteStation firmware file (e.g. LS2.dd-wrt.bin for LiteStation2)+
- +
-Flashing procedure:+
- +
- 1. Please ensure that the latest firmware revision of Ubiquiti is already installed using the web upgrade utility (e.g.V 2.1.9)+
- If not, please reflash it using the Ubiquiti LS2 web interface. This is important to ensure that the latest RedBoot bootloader+
- is installed.+
- 2. power off the device and power it on again while holding the reset button for about ~10 seconds+
- 3. flash LS2.dd-wrt.bin using tftp to 192.168.1.20 in binary mode+
- Windows : tftp -i 192.168.1.20 put LS2.dd-wrt.bin+
- Linux/Unix/MacOS X: tftp 192.168.1.20+
- tftp> bin+
- tftp> put LS5.dd-wrt.bin+
- tftp> exit+
- +
- 4. after successfully flashing the unit will be accessible with web on 192.168.1.1+
 +This section has been condensed. An expanded listing is [[Hardware-specific|available on another page]]. The list below contains some links not yet available in the other page, so check both places to be sure you have found all information for your router.
 +#Accton:
 +##Accton MR3202A: see [[LaFonera Software Flashing]] Page. (Use only the MR3202A binaries provided, instead of the Fonera ones).
 +##Accton MR3201A: see [[Accton Software Flashing]] Page. (Use Fonera binaries)
 +##Open-Mesh OM1P: See [[OM1P config]] page. (Use Fonera 2100 binaries)
 +#[[Linksys|Allnet]]
 +#[[Asus]]
 +#[[Belkin]]
 +#[[Buffalo]]
 +#[[D-Link]]
 +#Gateworks Avila: [[Gateworks Avila Network Processor GW2348]]
 +#[[LaFonera (en)]] see [[LaFonera Software Flashing]]
 +#[[Linksys]] (Includes Cisco)
 +#[[Asus|Microsoft]]
 +#Mikrotik: [[Mikrotik Routerboard RB/532]]
 +#Motorola: [[Motorola WR850G]]
 +#[[Asus|Mitsubishi]]
 +#[[Netgear]]
 +#Siemens: [[Flash Your Siemens SE505]]
 +#[[Ubiquiti]]
 +#US Robotics [[USRobotics_USR5461|USR5461]]
 +#[[X86]]
-[[Category:English documentation]]+[[Category:Documentation| ]]
 +[[Category:Flashing networking hardware| ]]
 +[[Category:Categories| ]]

Revision as of 09:59, 5 June 2015

Installing DD-WRT on a router in most cases is almost as simple as installing a program onto your computer. However, doing it incorrectly can leave you with a router that you have to throw away. Installing programs on a router, known as firmware, are achieved by a method called flashing. This article helps you determine which installation process is for you on your supported router, as well as giving router suggestions and information about flashing each one.


Contents

Choosing the Correct Firmware - Extremely Important

Is Your Router Supported?

Please check the router database first: http://www.dd-wrt.com/site/support/router-database.

If your router is not listed there, check the wiki page.

For a list of devices working with DD-WRT, please see wiki page Supported Devices.

For a list of devices not working with DD-WRT please see wiki page Known incompatible devices.

If your device is supported, you may find specific information in the Hardware-specific page for your router. However, to avoid Bricking your router, please finish reading this entire page first. You will then want to follow what is written for your particular device.

Which router should I buy?

For a list of recommended devices for installing h DD-WRT, please see Firmware FAQ#Which router should I buy?

Before You Download, Upgrade, or Flash

Before you try to take any actions, including loading any firmware to your router....read the English Broadcom Forum Announcement entitled Peacock Thread It contains more information than just for those who are having problems. Unfortunately, skipping this step leads many to brick (break) their routers.

Start there... do some research... then ask questions. Don't just load V24-Final or SP1. (Read the English Broadcom Forum Announcements referenced above to find out why). The user-friendly dd-wrt download page will help you identify the correct "killer" and dd-wrt firmware versions (as applicable) for your device as needed. However, you must use the peacock thread and use the information in the Hardware-specific page to accurately identify your hardware and not create a problem that renders your router useless.

After you have read THIS page, and gotten some background on the peacock page, the Hardware-specific page may be the most useful page for you in terms of identifying your router, figuring out what files you need to download (including instructions), and figuring out the correct installation procedures.

Identifying Your DD-WRT Firmware

  • Use the brand-specific information in the Hardware-specific page to accurately identify which model you have. Start with the main brand heading (ie, "Linksys"). Use that information - instead of just going by what model you think you have - clock.
  • As the peacock thread mentions, using the incorrect file is one of the worst things you can do. Fortunately, dd-wrt has simplified this immensely with their search format. Once you have identified your router accurately, you may be able to go straight to DD-WRT Downloads page and find the files you need. Again, check the Hardware-specific page for links to detailed instructions that may indicate how many files you need, etc (- clock).
  • Some newer routers are not supported by the latest stable release. Check the Supported Devices list for the minimum required DD-WRT version for your device. You may need to use an SVN or experimental build.
    • For a comparison of the builds, see File Versions.
    • Updating through the Web GUI (ie, the routers's online interface) means you need to use the _generic version.
    • Use the _mini version when upgrading from original Linksys firmware. You need the _micro version if your hardware has 2 MB of flash (WRT54G v5 through v8 for instance). Use the "_mini" firmware if your hardware has 4 MB or more of flash (WRT54GL for instance). The maximum filesizes in Bytes are listed here under Maximum firmware size. (Again, use the download page's search function for help here - clock).
  • Read the Changelog, the timeline and all other information files on the download pages. They contain important information!

Downloading Your DD-WRT Firmware

  • You will need to save a number of files (firmware, instruction pages for offline work, etc). Starting a folder for this project before downloading anything is advisable - clock.
  • Ensure you are using the correct version of the firmware (again, the search function on the download page above should be accurate if took appropriate action to correctly identify your router; only download firmware from that page - clock).
  • Download known to flash well builds from the Router-Database - some Firmwares are only available on other-downloads
  • Depending on your specific needs, you may need more than one download - such as a "killer" version, which must be installed prior to the dd-wrt firmware. The search function should bring up both. If instructions are provided for your router in the Hardware-specific page, check that to see what is needed. Again, the peacock thread will give you important information on why choosing the wrong size can completely break your router - clock).
  • If you downloaded a .zip file, then extract the archive. (If it is a .bin file, leave it alone - clock).

Precautions

If you do not already have a dd-wrt firmware version on your router, you may have to run a "kill" firmware program on your router first. You should be able to find this using the search function (dd-wrt download page [[1]]) for your specific device. The process of installing that firmware is probably covered in the Hardware-specific page under your device. It will be similar to simply repeating the overall processes outlined below for that specific "kill" file - clock.

The most important aspect of this section to absorb is the precautions. People kill routers constantly by not following these advisories. Please take the time to learn and absorb them - clock. Follow all the instructions precisely, or you may run into trouble. Incorrectly flashing can brick your router!

Do Prior Research

clock:

  1. Failing to prepare and do your background research can cause considerable frustration, loss of time, and render your router absolutely useless (bricked). In other words, you may have to literally throw it away. With an hour or so of research, you'll save hours of time in frustration.
  2. Before you begin, it is recommended that you look through this wiki (particularly these precautions). Also, the notorious peacock thread [2], and basic techniques such as Hard_reset_or_30/30/30 and Tftp [3]. See Settings for more useful information. These may have some sections in some pages that are not relevant, which you can skim.
  3. You will need to review many of the recommended sites to download below. You'll want to save this page (see below), but you will want to get the background first. Be careful about implementation (actually flashing) on this wiki as compared to what is recommended as a guide for your router under Hardware-specific. However, reviewing this wiki will be important for overall understanding.

General

  1. Do not try to skimp on the Hard_reset_or_30/30/30 reset before or after each change to your router's firmware. The peacock thread goes into extensive justifications. (clock used a stopwatch.) Be sure to follow all power cycling and reset instructions as described.
  2. For the initial flash from the Linksys firmware, do not use Firefox; use IE to flash the router (even OS X IE works). Once DD-WRT is running, you can use any browser you like to administer or even flash the router.
  3. Do NOT flash your firmware over an SSL (HTTPS) connection. Make sure you are using HTTP.

Prepare to Go Offline

  1. You will not have internet access through the router during the process of replacing the firmware. You are going to do almost everything offline with a LAN connection to your router (how to Disable your wireless). Given the many types of problems you can encounter that can prohibit you from getting help, the process of reactivating and deactivating your security settings if you actually can get back online, and the likelihood for browser crashes if you try to just keep the pages up, you will need to download everything you need before you start. This will allow you to review the information offline in the event that something goes wrong.
  2. Some users, such as those running Windows Vista, may need to Disable Compound TCP - clock).
  3. Do not forget to make note of your current settings, especially if you have static IP addresses. A quick way of doing this is to take screenshots of your current configuration screens (which can be found on your web GUI, or online router interface - clock).
    1. It can be essential to record your current WAN MAC address. Some ISPs do not allow an immediate change of the routing hardware and changing the firmware changes the MAC address. (You may also find these on your web GUI - clock).
  4. Have a secondary router or internet connection available while experimenting with your router's firmware, to expedite any trouble shooting and remove the risk of becoming stranded.
    1. If you have a cable modem which connects to your router with ethernet, you can plug your PC straight into the modem should you have any problems. Your PC will be assigned your external IP with DHCP, and you will be on the net. Remember to use a software firewall.
  5. We recommend you save the following series of pages to your hard drive (use File->Save As, *NOT* a bookmark). (Make sure to save all webpages as HTML. Do not save as compressed html files (some computers default to that.) Here are the websites to save: (-clock)
    • The installation page for your specific router as found though the Hardware-specific page.
    • The peacock thread [4].
    • This wiki [5].
    • Recover from a Bad Flash.
    • FAQs [6]
    • Tftp Flash instruction [7] if applicable. It describes how you may have to enable Tftp, which is very quick and easy (just one check box). You may need to be prepared to use Tftp even if you do not plan to use it.
    • The Wikipedia instructions for Compound TCP, if applicable (Vista, etc), available at: [8].
  6. In addition, you will probably also need:
    • The Tftp.exe file, if applicable (execute it from the Tftp [9] link above, and just leave it open).
    • First ("killer") flash file, if applicable.
    • Second (DD-WRT) flash file. (In some cases, this may be the only file you need.)

Going Offline/Before Implementation

  1. Do NOT use a wireless connection to upload firmware. Use a wired (LAN) connection.
  2. Disable any wireless adapters (see the right way to do it) on your system to ensure that none are used for the transfer.
  3. AFTER you are offline, disable your anti-virus-software, as as a false-positive virus detection could interrupt the upload. Disable all firewalls and security (here are instructions to Disable Security. Especially if you need to use TFTP to upload firmware, disable your software firewall first. (Restore before you go back online, something your browser may automatically prompt you to do.)

"Flashing" Your Router with DD-WRT Firmware

Below, three methods of flashing will be covered: using your router's online interface (#Method 1: Flashing with Web GUI); #Method 2: Flashing with TFTP; and #Method 3: Flashing with Command Line. Your router may dictate what you use. After reading this page, please see the Hardware-specific instructions to clarify what is best for your router - clock.

Method 1: Flashing with Web GUI

The following instructions are very general and apply mostly to Linksys routers. Check for hardware-specific instructions in the Hardware-specific page.

  1. Reset your router
    1. Use Hard reset or 30/30/30.
    2. While not as preferable (this may cause problems down the line) you can reset to Factory Defaults instead.
      1. If you do decide to restore defaults, if you do not know the IP address, username, or password of your router, you will need to use the reset button (this does not appear to be referring to a Hard reset or 30/30/30; this appears to be referring to a simple 30-second reset - clock). Be careful when using this method! Apparently if you have OpenWRT already on your router the reset button may not function as it is assumed here and may actually brick your router! Research the functionality of your current firmware to be safe.)
      2. Again, if you decide to restore defaults, if you already have a version of dd-wrt installed, and you know the IP address, username, or password of your router, you can use this method (other routers may require different instructions):
        • Follow the instructions in the next section to log in to the Web GUI.
        • Click the "Administration" tab.
        • Click the "Factory Defaults" sub-tab.
        • Select "Yes".
        • Click the "Save Settings" button.
        • A new page will open, click "continue".)
  2. Log on to the Web GUI (if you have not done so already).
    1. To use the Web interface, you will need to have Javascript enabled with any security restrictions disabled. Some versions of the Linksys firmware Web GUI have trouble with different browsers (some don't work with Firefox, some don't work with Safari). If the Web GUI is giving errors, try switching to a different browser.
    2. Type in the IP address of the router (typically, the default is 192.168.1.1, especially with Linksys) into the address bar of your browser. (If you do not know the router IP address, you can attempt to obtain it).
    3. You will be prompted for username and password. (If your router already has a DD-WRT versions starting with 2006-Feb-28, the default username is root. Prior versions have a blank username by default. For Linksys firmware, the default username can be left blank or set to anything. For both DD-WRT and Linksys firmware, the default password is admin. Search online for other defaults on other routers).
  3. Upload the Firmware.
    1. WARNING:It is VERY important that you not interrupt the setup while the router is being flashed and rebooted. Do not turn off the computer, close the web browser, or turn off the router during this process! (I usually just take a step back, and turn my head away so I don't breathe on it for these crucial 2 minutes).
    2. This section is written for a dd-wrt web GUI. Your router's GUI's operations may be different. Please see the previous comment about the possible need for "kill" firmware before your dd-wrt installation. This section may not work for your router as written. Please see the Hardware-specific section for information on your specific router's needs.
      1. First do a hard reset on the unit that DD-WRT is to be loaded onto.
      2. You should be in the Web GUI of the router. Go there now (as discussed above).
      3. Click the "Administration" tab
      4. Click the "Firmware Upgrade" sub-tab.
      5. (Only applicable when DD-WRT is already installed.) Choose the option to Reset to Defaults after flashing.
      6. Click the "Browse" button and select the DD-WRT .bin file you downloaded and confirmed.
      7. Click the "Upgrade" button.
      8. The router will take a few minutes to upload the file and flash the firmware. During this time, the power light will flash.
      9. A new page will open confirming that the upload was successful (Installation#Possible errors if not). Now wait about 5 minutes before clicking "Continue".
      10. Lastly, do another hard reset on the unit.
      11. If flashed successfully you will now be able to access the DD-WRT web interface at 192.168.1.1 (again, that is default for most Linksys, etc routers; does not apply to all routers. Check your router's IP before you start this process - clock).
  4. Possible Errors with Uploading Firmware
    1. [Comment added 2007/03/27 by staylor] Or, you won't be at the DD-WRT web interface I have a WRT54g v1.1 (also with WRT54gl v1.1), flashing with DD-WRT v23 sp2. I waited the requisite number of minutes, and my "Wireless-G" badge lit up (a good sign), but when I clicked "Continue" after the upload was successful, I did not get to the DD-WRT web interface. Nor was the device ping-able.
    2. [Comment added 1/04/08 by jwebste1] I can confirm Staylor's comment above for a brand new store bought WRT350N (had to soft reset the router to get the mini install to become accessible on 192.168.1.1. Holding down the reset button for 30 seconds (leaving the power cable connected) re-booted the router, and all was fine thereafter. If the above doesn't result in a successful load of the DD-WRT web interface, try a "ipconfig -renew" in a command prompt window.
    3. [Comment added 12/22/09 by clock] After initially attempting the install of the "kill" file for my router (as described in my router's Hardware-specific section) my browser kept providing an error message. Finally, I thought the router had been bricked. A quick look at the peacock thread showed that pinging the router and receiving a TTL of 100 meant that, while the router appeared broken, it was ready for the installation of the dd-wrt .bin file for my router. Using the tftp.exe discussed at the peacock and at [[10]], I was able to install the dd-wrt firmware without much more fuss.
    4. Again, the best method is to look first at your Hardware-specific guidelines and refer to those instructions, keeping in mind the #Precautions outlined above.
    5. During the firmware upload process, if your router says something similar to, "Upload Failed," you may be using the wrong version of DD-WRT. This may occur through the web GUI if you use a *wrt54g.bin version when you should have selected the generic version instead. It may also be that your router requires the mini version to be flashed before the full version. Be sure to double check to make sure you have the right version (as described in the first section of this page - clock). If you are certain that your router is supported and that you have the correct firmware, you may simply need to use a different web browser (e.g. from Firefox to Internet Explorer).
    6. After clicking Upgrade when upgrading firmware from one DD-WRT version to another, if you are using Firefox there may be a problem with the upload. In this instance the screen fades to white with a countdown timer and is followed by a Connection Reset message shortly after. After this you cannot access the Web GUI again, and a router reboot will result in a flashing power light (WRT54GL is the case in point). You can recover from this and use a different browser (e.g. Internet Explorer) to upload the firmware.
    7. If logging in fails with the default username/password, you can reset the password with a Reset And Reboot.
  5. Reset Again
    1. You can use Hard reset or 30/30/30 again. Do this only after you have confirmed that the firmware upgrade is working. At this point you may have temporary problems using Web Interface, so just ping your router.
    2. Many Web Interface problems can be solved by a hard reset and by clearing your browser cache.
    3. See Reset And Reboot.

Method 2: Flashing with TFTP

TFTP is generally a safe method to flash many routers. However, it is not preferred method for flashing most devices. In the Hardware-specific section you may be advised to use this method if it is the preferred or only method for your brand or type of device. Normally, the GUI flashing method should be used, as it is adequate for the vast majority of standard situations, but refer to the Hardware-specific section to be sure.

Tftp is easy: if often requires one quick box uncheck and a quick click - then you are good to go. It is great for instances when web GUI malfunctions or the router appears to be (but is not) bricked - clock.

If you still wish to flash with TFTP, see the articles TFTP flash, Asus TFTP Flash and Recovering with TFTP.

Method 3: Flashing with Command Line

This is only available on routers that already have DD-WRT installed and Telnet/SSH enabled. It is the *ONLY* recommended method to upgrade the router wirelessly because the file is transferred from the DD-WRT servers to the router and the checksum is verified to ensure that the file is not corrupt. Other flashing methods transfer the file from your PC to the router (which would go over the wireless which is not as reliable) and do nothing to verify that the file is not corrupted.

Telnet or ssh into DD-WRT.

Download the firmware to the router's /tmp directory with wget or scp.

cd /tmp
wget http://www.dd-wrt.com/dd-wrtv2/downloads/stable/dd-wrt.v2x_generic.bin

Alternatively, you could use the mounted share if you have one, and simply download the file there.

Compare the MD5 checksum of the original and the downloaded file.

md5sum dd-wrt.v2x_generic.bin

Write the firmware to flash.

write dd-wrt.v2x_generic.bin linux

Wait...

Reboot

Restore factory defaults using erase nvram command or reset button

Other Notes

Upgrading to a Newer Version of DD-WRT

If DD-WRT is already installed on your router, you can simply upgrade to a new version via the web interface or TFTP. However, it is highly recommended that you restore the router to defaults using the reset button before and after flash. Never restore old backups from previous versions! Skipping these steps could lead to a bricked device!

Please see wiki article Hard reset for further information on how to restore your device back to DD-WRT default settings.

New Firmware builds can always be downloaded, Router-Database builds are not up-to-date Downloading Firmware FAQ

Configuration Notes

  • You must start to configure router from scratch. Do not try to use config files from older firmware versions.
  • It is strongly advised that you do not disable the "Boot Wait" option under the "Administration" tab. Boot Wait allows you recover if you flash your router improperly.

If something goes wrong

  • If your router fails to reboot (power light doesn't stop flashing, no web interface, etc) you will need to Recover from a Bad Flash. Additional help can be found by doing a forum search.
  • The peacock thread's section on bricked routers ([11]) can help you to identify if you have a real problem or not.

Hardware-specific

This section has been condensed. An expanded listing is available on another page. The list below contains some links not yet available in the other page, so check both places to be sure you have found all information for your router.

  1. Accton:
    1. Accton MR3202A: see LaFonera Software Flashing Page. (Use only the MR3202A binaries provided, instead of the Fonera ones).
    2. Accton MR3201A: see Accton Software Flashing Page. (Use Fonera binaries)
    3. Open-Mesh OM1P: See OM1P config page. (Use Fonera 2100 binaries)
  2. Allnet
  3. Asus
  4. Belkin
  5. Buffalo
  6. D-Link
  7. Gateworks Avila: Gateworks Avila Network Processor GW2348
  8. LaFonera (en) see LaFonera Software Flashing
  9. Linksys (Includes Cisco)
  10. Microsoft
  11. Mikrotik: Mikrotik Routerboard RB/532
  12. Motorola: Motorola WR850G
  13. Mitsubishi
  14. Netgear
  15. Siemens: Flash Your Siemens SE505
  16. Ubiquiti
  17. US Robotics USR5461
  18. X86