MN-700

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:22, 21 September 2006 (edit)
Siafu (Talk | contribs)
(Post Installation)
← Previous diff
Revision as of 01:47, 22 September 2006 (edit) (undo)
Siafu (Talk | contribs)

Next diff →
Line 11: Line 11:
== Installation == == Installation ==
-# Follow one (or a combination) of the hardware hack guides listed in the Introduction section above to get the [http://support.asus.com/download/download.aspx?SLanguage=en-us&model=WL-500g WL500G Stock Firmware], [http://oleg.wl500g.info/ Oleg's Custom Firmware], or [http://www.openwrt.org OpenWRT] installed and running on the MN-700.+<pre>Note: Support for the MN-700 was officially added after the release of DD-WRT SP2. Therefore SP2 and eariler are not supported on the MN-700. Please use build [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=4770SVN 3953] or higher.</pre>
-# Put the WRT in "hardware restoration" mode (hold down the reset button while powering on the WRT and wait until the the power light steadily alternates between green and amber).+
-# Upload a DD-WRT firmware with the Asus Firmware Restoration tool. (you can get DD-WRT SVN 3953 [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=4770 here])+
 +# Follow one (or a combination) of the hardware hack guides listed in the Introduction section above to get the [http://support.asus.com/download/download.aspx?SLanguage=en-us&model=WL-500g WL500G Stock Firmware], [http://oleg.wl500g.info/ Oleg's Custom Firmware], or [http://www.openwrt.org OpenWRT] installed and running on the MN-700.
 +# Download a compatible version of DD-WRT [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=4770 here].
 +# Put the WRT in hardware restoration mode (hold down the reset button while powering on the WRT and wait until the the power light steadily alternates between green and amber).
 +# Upload the DD-WRT firmware with the [http://support.asus.com/download/download.aspx?SLanguage=en-us&model=WL-500 Asus Firmware Restoration Utility]. (Available under "Utilities")
-=== Post Installation === 
-Firmware [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=4770 SVN 3953] and later (post SP2) does not require any additional, post installation steps. Please use this build (or later). 
- 
-<div style='color:red;'>Please <b>strongly</b> consider using [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=4770 build 3953] or higher and not earlier (including SP2). Although the instructions will work, it might cause other problems later (it essentially requires the user to not use the Filter Services).</div> 
- 
-Firmware versions prior to this build require some nvram variables to be manually reset before the firmware will function properly (changes made to the WRT will not survive a reboot and may cause the WRT to hang when booting with an amber power light). 
-# Boot the WRT after installing the firmware 
-# Reset the filter_services2 NVRAM variable by executing the following commands either by telneting to the WRT or using the Administration -> Commands interface: 
-<blockquote> 
-<pre>nvram set filter_services2= 
-nvram commit</pre> 
-</blockquote> 
- 
-If the WRT continues to have problems with changes surviving a reboot, reset the remaining 6 filter_services nvram variables (filter_services1, filter_services2, ... filter_services7) 
== Reseting Defaults == == Reseting Defaults ==
Line 52: Line 40:
# The WRT should not be reset to its defaults # The WRT should not be reset to its defaults
</blockquote> </blockquote>
 +
 +
 +== Hardware Notes ==
 +This section covers observations made about working with the MN-700 hardware. Certian behaviors of this device are different than other WRTs (especially the Linksys).
 +
 +=== Firmware Restoration Mode ===
 +As noted above, the MN-700 (and Asus W500G AFAIK) has a special pre-boot mode that makes it extremely easy to upload new firmware images, even when the current firmware is corrupt (infact the WRT automatically drops into this mode when a corrupt firmware is detected during boot).
 +
 +To enter firmware restoration mode, simply press the reset button while powering on the WRT and wait until the power LED alternates between green and amber. The reset button can then be released and the WRT will stay in this state until the next power cycle or a new firmware has been uploaded.
 +
 +In this state, the Asus Firmware Restoration Utility (see below) can/should be used to upload new firmware images.
 +
 +It does not appear that any particular IP address range is needed to upload firmware in this mode. However, a valid IP address is '''required'''. Since no DHCP server is available in this mode, either the host computer needs a static IP address or one simply needs to wait for Windows (Win2k and later) to assign an automatic private IP address in the 169.254.0.0/16 range.
 +
 +=== Asus Firmware Restoration Utility ===
 +The [http://support.asus.com/download/download.aspx?SLanguage=en-us&model=WL-500 Asus Firmware Restoration Utility] is available from the Asus support site under "Utilities." This is the preferred utility for uploading new firmware distributions since many firmwares reject a different distribution's firmware if one attempts to use the web interface.
 +
 +It appears this utility operates at layer 2 of the OSI model, because it is able to detect WRTs in Firmware Recovery Mode regardless of the host computer's IP address. I recommend statically assigning an IP address in the 192.168.1.0/x range when working with DD-WRT because this is the range DD-WRT defaults to and WRTs can only be detected once the host has an IP address (DHCP works, but takes longer because the DHCP client must first time-out and assign an automatic private IP address before the WRT will be detected -- and this happens ''every'' time the WRT is power cycled because the network connection is lost).
 +
 +Sometimes the Windows firewall interfers with the Asus Firmware Restoration Utility. When it does, the utility is not able to find the WRT, but the WRT power LED stops alternating colors and displays a solid green when one attempts to upload a new firmware file. Either disabling the firewall or making a firewall exception for the Asus Firmware Restoration Utility solves this problem.
 +
 +
 +=== NVRAM Protection ===
 +DD-WRT SP2 and earlier do not work with the MN-700 because some NVRAM variables (namely filter_services1-7) were too long. NVRAM variables >1024 characters in length cause the MN-700 to reset the NVRAM every reboot. ''Excessively long'' NVRAM variables actually brick the MN-700 (the power light is solid amber when powered on and the unit never boots) and can only be unbricked by resetting NVRAM through a JTAG connector. I can't define ''excessively long'' because I discovered this when working with some SP2 alpha builds and never calculated the maximum limit (I was just happy to be able to debrick my WRT and moved on).
 +
 +This issue manifests itself when changes to the WRT do not survive a reboot.
 +
 +SP2 and most of the previous versions of DD-WRT exibited this symptom and can ''technically'' be made to work with the MN-700 by manually clearing the filter_services variable (only filter_services2 for SP2) and commiting nvram after the intial installation of DD-WRT. But doing so is '''not''' recommended or supported because this may cause problems later (especially relating to DD-WRT filters).
 +
 +The information above is provided to explain the NVRAM protection ''feature'' of the MN-700 to aid in troubleshooting potential future problems should a >1024 NVRAM variable creep back into the DD-WRT firmware.
== External Links == == External Links ==
*[http://www.microsoft.com/hardware/broadbandnetworking.mspx Microsoft Product Web Site] *[http://www.microsoft.com/hardware/broadbandnetworking.mspx Microsoft Product Web Site]
 +*[http://support.asus.com/download/download.aspx?SLanguage=en-us&model=WL-500 Asus Support Page] for WL500G
 +**Factory firmware available under "firmware"
 +**Asus Firmware Restoration Utility available under "utilities"
 +
[[Category:English documentation]] [[Category:English documentation]]

Revision as of 01:47, 22 September 2006

Contents

Introduction

The MN-700 is essentially a rebadged Asus WL500G WRT. Out-of-the-box it runs a WinCE based firmware with a crippled bootloader that does not support Linux based firmwares (like DD-WRT). To run DD-WRT, a new bootloader must be installed through a hardware hack (until someone comes up with a WinCE killer like the vxworks killer for the Linksys WRT54G v5. The following links provide details regarding this hack:

For those who are wondering, the MN-500 has completely different hardware than the MN-700, so the instructions provided by the links above work for the MN-700 but not the MN-500. To date, it does not appear a similar hack for the MN-500 has been discovered yet.

Installation

Note: Support for the MN-700 was officially added after the release of DD-WRT SP2.  Therefore SP2 and eariler are not supported on the MN-700.  Please use build [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=4770SVN 3953] or higher.
  1. Follow one (or a combination) of the hardware hack guides listed in the Introduction section above to get the WL500G Stock Firmware, Oleg's Custom Firmware, or OpenWRT installed and running on the MN-700.
  2. Download a compatible version of DD-WRT here.
  3. Put the WRT in hardware restoration mode (hold down the reset button while powering on the WRT and wait until the the power light steadily alternates between green and amber).
  4. Upload the DD-WRT firmware with the Asus Firmware Restoration Utility. (Available under "Utilities")


Reseting Defaults

Pre SVN 3949, the reset button is not supported. SVN 3949+ supports the reset button, however the "firmware restoration" mode requires a change to the standard Linksys "hold reset button for 30 seconds" procedure for resetting the WRT to its defaults. The following is how the reset button works on the MN-700:

  • When the WRT is powered on
    • Holding the reset button for 15-20 seconds will cause the WRT to reboot.
    • Upon reboot, a pressed reset button causes the WRT to go into firmware restoration mode. This does NOT reset the defaults, but causes the WRT to enter a "pre-firmware" state, waiting for a new firmware. Either applying a new firmware through the Asus Firmware Restoration Utility or a hard reboot (removing the power) is required to exit this state (Note that entering this state does not negatively effect the current settings or firmware so it is not especially dangerous to accidentially enter firmware restoration mode -- it just gets in the way of performing a "reset button" based reset of the WRTs settings)
    • Since there is little to no warning of the exact instant the WRT will reboot when holding the reset button, chances are extremely good that the reset button will still be depressed and cause the WRT to go into firmware restoration mode. Hard booting the WRT will get the WRT back, but settings will NOT be reset.
  • When the WRT is booting
    • Holding the reset button during the boot sequence will reset the unit to its defaults.
    • Care must be taken to press the reset button right after the (amber) power light turns off immidiately after powering on the WRT and not before, to avoid going into firmware restoration mode.


Based on the above, it should be fairly self-evident that the procedure is recommended for using the reset button on the MN-700.

  1. Unplug the WRT
  2. Plug in the WRT
  3. The power light will blink, then glow amber
  4. As soon as the power light turns off, press and hold the reset button
  5. Hold the reset button until the power and wireless buttons glow green.
  6. The WRT should not be reset to its defaults


Hardware Notes

This section covers observations made about working with the MN-700 hardware. Certian behaviors of this device are different than other WRTs (especially the Linksys).

Firmware Restoration Mode

As noted above, the MN-700 (and Asus W500G AFAIK) has a special pre-boot mode that makes it extremely easy to upload new firmware images, even when the current firmware is corrupt (infact the WRT automatically drops into this mode when a corrupt firmware is detected during boot).

To enter firmware restoration mode, simply press the reset button while powering on the WRT and wait until the power LED alternates between green and amber. The reset button can then be released and the WRT will stay in this state until the next power cycle or a new firmware has been uploaded.

In this state, the Asus Firmware Restoration Utility (see below) can/should be used to upload new firmware images.

It does not appear that any particular IP address range is needed to upload firmware in this mode. However, a valid IP address is required. Since no DHCP server is available in this mode, either the host computer needs a static IP address or one simply needs to wait for Windows (Win2k and later) to assign an automatic private IP address in the 169.254.0.0/16 range.

Asus Firmware Restoration Utility

The Asus Firmware Restoration Utility is available from the Asus support site under "Utilities." This is the preferred utility for uploading new firmware distributions since many firmwares reject a different distribution's firmware if one attempts to use the web interface.

It appears this utility operates at layer 2 of the OSI model, because it is able to detect WRTs in Firmware Recovery Mode regardless of the host computer's IP address. I recommend statically assigning an IP address in the 192.168.1.0/x range when working with DD-WRT because this is the range DD-WRT defaults to and WRTs can only be detected once the host has an IP address (DHCP works, but takes longer because the DHCP client must first time-out and assign an automatic private IP address before the WRT will be detected -- and this happens every time the WRT is power cycled because the network connection is lost).

Sometimes the Windows firewall interfers with the Asus Firmware Restoration Utility. When it does, the utility is not able to find the WRT, but the WRT power LED stops alternating colors and displays a solid green when one attempts to upload a new firmware file. Either disabling the firewall or making a firewall exception for the Asus Firmware Restoration Utility solves this problem.


NVRAM Protection

DD-WRT SP2 and earlier do not work with the MN-700 because some NVRAM variables (namely filter_services1-7) were too long. NVRAM variables >1024 characters in length cause the MN-700 to reset the NVRAM every reboot. Excessively long NVRAM variables actually brick the MN-700 (the power light is solid amber when powered on and the unit never boots) and can only be unbricked by resetting NVRAM through a JTAG connector. I can't define excessively long because I discovered this when working with some SP2 alpha builds and never calculated the maximum limit (I was just happy to be able to debrick my WRT and moved on).

This issue manifests itself when changes to the WRT do not survive a reboot.

SP2 and most of the previous versions of DD-WRT exibited this symptom and can technically be made to work with the MN-700 by manually clearing the filter_services variable (only filter_services2 for SP2) and commiting nvram after the intial installation of DD-WRT. But doing so is not recommended or supported because this may cause problems later (especially relating to DD-WRT filters).

The information above is provided to explain the NVRAM protection feature of the MN-700 to aid in troubleshooting potential future problems should a >1024 NVRAM variable creep back into the DD-WRT firmware.

External Links