Netgear WNDR4000

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:07, 19 April 2018 (edit)
Ian5142 (Talk | contribs)
(Changed to Initial Flashing Instructions)
← Previous diff
Revision as of 19:49, 5 January 2019 (edit) (undo)
JNavas (Talk | contribs)
m (rearrange sections)
Next diff →
(12 intermediate revisions not shown.)
Line 31: Line 31:
! USB ! USB
| 1x USB 2.0 | 1x USB 2.0
-|}+|}<br>
= Initial Flashing Instructions = = Initial Flashing Instructions =
-It's always good practice to read the [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock Thread] for reference on Broadcom routers.+Read the [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock Thread] for reference on Broadcom routers.
- +
*Flashing from OEM firmware requires the initial trailed build mini .chk file (with WNDR4000 in the name) *Flashing from OEM firmware requires the initial trailed build mini .chk file (with WNDR4000 in the name)
-*Upgrades use the '''nv64k''' dd-wrt build and '''NOT the nv60k nor generic builds.'''+*Upgrades use the '''nv64k''' (or trailed) build and '''not the nv60k nor generic builds.'''
-*Do not use a file without '''WNDR4000''' or '''nv64k''' in the name to upgrade '''or you will brick the router'''.+
-*Always verify all builds you plan on flashing are less than 7995392 bytes (7808 KB) in size or you will '''brick''' the router.+
See [[Index:FAQ#Where_do_I_download_firmware.3F|Where do I download firmware?]] for links. See [[Index:FAQ#Where_do_I_download_firmware.3F|Where do I download firmware?]] for links.
 +*Do not use latest builds without first researching the new build threads
 +Initial install: download the '''K2.6_mini-WNDR4000.chk''' trailed build from the broadcom_K26 folder<br>
 +#Set a static IP on the PC (e.g. 192.168.1.8, subnet 255.255.255.0, gateway 192.168.1.1)
 +#Connect the PC to a router LAN port (recommended to disconnect all other ports)
 +#[[Hard_reset_or_30/30/30|Reset]] the router.
 +#In your web browser, go to http://192.168.1.1
 +#Click on "Router Upgrade".
 +#Upload the .chk trailed build, downloaded above.
 +#Wait 5 minutes after the router says it is done, then perform another reset.
 +#Set a strong password to login
 +* To use DHCP IP assignment, remember to unset the static IP set in the above instructions.
-Go to the broadcom_K26 folder and download the '''K2.6_mini-WNDR4000.chk''' file first.+=Upgrading DD-WRT=
- +<center>
-Installation procedure to flash from stock Netgear firmware to DD-WRT on a WNDR4000:+{|style="width:95%;margin-top:+.7em;background-color:#EFEFFF;border:2px dotted #f00;text-align:left"
-<ol>+|-
-<li>Set a static IP such as: 192.168.1.8 subnet:255.255.255.0 gateway:192.168.1.1 on the PC you will be using for the flash.</li>+|style="width:1em;color:#000"|
-<li>Connect the PC to one of the router's LAN ports (unplug your ISP modem for the moment)</li>+[[Image:Warning.png]]
-<li>Perform a [[Hard_reset_or_30/30/30|reset]] on the router.</li>+|style="width:45em;color:#000"|
-<li>In your web browser, go to http://192.168.1.1</li>+<font color=red>Verify the build you plan to flash is less than 7995392 bytes ('''7808 KB''') or you risk bricking.</font>
- +|-
-<li>Click on "Router Upgrade".</li>+|}</center>
-<li>Upload the special .chk firmware file, that you downloaded from the link above.</li>+Use the broadcom_K26 or broadcom_K3X '''nv64k''' build (or trailed build with '''WNDR4000''' in the name).<br>
-<li>Wait 5 minutes after the router says it is done, then perform another reset.</li>+To upgrade from a K26 to K3X builds it is recommended to use a trailed build.<br>
-*Recommended: clear the browser cache after updating firmware.+Upgrade DD-WRT from the ''Administration->Firmware Upgrade'' page, and reset if any issues are encountered.
-<li>Repeat steps 4-7 with the '''K26 mega nv64k.bin''' firmware file.</li>+
-<li>Repeat steps 4-7 with the '''K3X mega nv64k.bin''' firmware file.</li>+
-<li>Set a strong password, then login and start tweaking</ol>+
- +
-* To use DHCP IP assignment, remember to unset the static IP set in the above instructions.+
=Build Information= =Build Information=
-'''As noted in bold in the flashing instructions, only use builds with '''nv64k or WNDR4000''' in the name for upgrading, anything else will brick your router!''' +Only use builds with '''nv64k''' or '''WNDR4000''' in the name for upgrading, or you risk bricking.<br>
 +'''Always verify builds are less than [https://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 7995392 bytes] (7808 KB) or it may brick the router.'''<br>
 +For build links, see [[Index:FAQ#Where_do_I_download_firmware.3F|Where do I download firmware?]]
-'''To use mega builds, always verify they are less than [https://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 7995392 bytes] (7808 KB) or it may brick the router.'''+= Recommended Build =
 +As of January 2019:
 +* '''[ftp://ftp.dd-wrt.com/betas/2018/12-20-2018-r38060/broadcom_K3X/dd-wrt.v24-38060_NEWD-2_K3.x_mega-WNDR4000.chk r38060 K3X]'''
-To find the latest builds, see [[Index:FAQ#Where_do_I_download_firmware.3F|Where do I download firmware?]] for links.+=Reverting to Stock=
- +To revert to stock Netgear firmware from DD-WRT over an Ethernet connection from PC to WNDR4000 ''LAN'' port:
-==Factory-to-dd-wrt==+# Reset the WNDR4000 using the button on the base.
-You will need to look for the broadcom_K26 folder, in there should be the appropriate nv64k build in which you can use for upgrading.+# Download the latest firmware from [https://www.netgear.com/support/product/WNDR4000.aspx Netgear WNDR4000 Support].
- +# Configure the PC port to static IP of 192.168.1.10 with a netmask of 255.255.255.0
-Start with Broadcom K26 mini build with WNDR4000 in the name (/broadcom_K26 folder). Then upgrade to Broadcom K26 mega '''nv64k''', same folder. Note the size limitation above.+# Telnet from PC to 192.168.1.1, and login as "root" with password "password". ([https://www.putty.org/ PuTTY] is a good telnet client to use.)
- +# Enter commands "erase linux" and then "reboot".
-Finally upgrade to Broadcom K3X builds (/broadcom_K3X folder, Linux kernel v3.10). Refer to the [https://www.dd-wrt.com/phpBB2/viewtopic.php?t=171853 K3X sticky] and "New Build" threads. Note the size limitation above.+# To flash the firmware, use the procedure at [https://kb.netgear.com/19841/Reinstall-the-firmware-on-a-router-without-the-setup-CD-recovery-tool Reinstall the firmware on a router without the setup CD recovery tool]. ''Be sure to wait until the Power light turns green!''
- +# Reset the WNDR4000 using the button on the base.
-==Upgrading to the latest version==+# Restore the PC port to dynamic IP.
-When upgrading to the latest build, only use the Broadcom K3X file with '''WNDR4000''' or '''nv64k''' in the name. Note the size limitation above.+After the WNDR4000 boots up with the new firmware, login with "admin" and "password".
=Overclocking= =Overclocking=
Line 90: Line 97:
=Unbricking= =Unbricking=
For more information: For more information:
-*'''DD-WRT:''' [[Tftp_flash|TFTP Flash]] and [[Serial_Recovery|Serial Recovery]] 
*'''Netgear Support:''' [http://kb.netgear.com/app/answers/detail/a_id/19841 Reinstall the firmware on a router without the setup CD recovery tool] *'''Netgear Support:''' [http://kb.netgear.com/app/answers/detail/a_id/19841 Reinstall the firmware on a router without the setup CD recovery tool]
 +*'''DD-WRT:''' [[Tftp_flash|TFTP Flash]] and [[Serial_Recovery|Serial Recovery]]
 +*'''Serial port pinout:''' [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=200178 Serial cable connection WNDR4000]
 +**Rx: JP1-2 (connect to Tx on the TTL adapter)
 +**Tx: JP1-5 (connect to Rx on the TTL adapter)
 +**GND: JP1-6 (NOTE: a normal pin will not fit through this hole)
 +**Vcc: JP1-1 ('''NOT NEEDED''')
 +*NOTE: based on several reports, there are two different board layouts for the "WNDR4000"
 +[https://www.dd-wrt.com/phpBB2/viewtopic.php?p=875645 Pin short recovery] '''NOT RECOMMENDED EXCEPT AS A LAST RESORT'''<br>
 +*That said, the procedure is to short the [https://www.netcheif.com/Reviews/PLA5405/PDF/MX25L3206E.pdf MX25L3206E serial flash] ''Clock Input'' (SCLK) & ''Serial Data I/O'' (SI) pins
 +**These are the two pins diagonally opposite to pin 1 (indicated by the SOP package dot impression)
 +**They are both TTL signal inputs, so there is no danger ''except in the user shorting the wrong pins''.
 +*#When the router is powered on, the power LED lights, then all LEDs light then go out (LED check)
 +*#As soon as the LED check goes out, carefully short the pins (5 and 6) for 3 seconds then remove
 +*#The power LED should go off upon short removal, then start blinking green, which means TFTP is running
 +*#TFTP OEM firmware, then after loading the router should reboot. The trailed k2.6 mini may also work.
=Forum= =Forum=
The [https://www.dd-wrt.com/phpBB2/viewtopic.php?t=90600 original device thread] [https://www.dd-wrt.com/phpBB2/viewtopic.php?t=288849 disappeared in late 2015]: [https://web.archive.org/web/20151106131217/http://www.dd-wrt.com/phpBB2/viewtopic.php?t=90600 latest archive.org snapshot]<br> The [https://www.dd-wrt.com/phpBB2/viewtopic.php?t=90600 original device thread] [https://www.dd-wrt.com/phpBB2/viewtopic.php?t=288849 disappeared in late 2015]: [https://web.archive.org/web/20151106131217/http://www.dd-wrt.com/phpBB2/viewtopic.php?t=90600 latest archive.org snapshot]<br>
*[https://www.dd-wrt.com/phpBB2/viewtopic.php?t=311657 This] has replaced it. *[https://www.dd-wrt.com/phpBB2/viewtopic.php?t=311657 This] has replaced it.
-[https://www.dd-wrt.com/phpBB2/viewtopic.php?t=308922 Broken reset button (WNDR3700v3 is identical)]<br>+[https://www.dd-wrt.com/phpBB2/viewtopic.php?t=308922 Broken reset button (WNDR3700v3 is identical)]<br><br>
-[https://www.dd-wrt.com/phpBB2/viewtopic.php?p=875645 Pin short recovery] '''DO NOT TRY THIS EXCEPT AS A LAST RESORT.'''<br>+ 
[[Category:Netgear guides]] [[Category:Netgear guides]]

Revision as of 19:49, 5 January 2019

Contents

Hardware Specs

CPU Broadcom BCM4718
CPU Speed 480 MHz
Flash ROM 8 MB
RAM 64 MB
Radios 2.4 GHz and 5 GHz
WLAN Support a/b/g/n
WLAN Max Speed N750: 300 Mb/s (2.4Ghz)
450 Mb/s (5Ghz)
Antenna Location Internal
Switch 4x GbE + 1 GbE WAN
USB 1x USB 2.0

Initial Flashing Instructions

Read the Peacock Thread for reference on Broadcom routers.

  • Flashing from OEM firmware requires the initial trailed build mini .chk file (with WNDR4000 in the name)
  • Upgrades use the nv64k (or trailed) build and not the nv60k nor generic builds.

See Where do I download firmware? for links.

  • Do not use latest builds without first researching the new build threads

Initial install: download the K2.6_mini-WNDR4000.chk trailed build from the broadcom_K26 folder

  1. Set a static IP on the PC (e.g. 192.168.1.8, subnet 255.255.255.0, gateway 192.168.1.1)
  2. Connect the PC to a router LAN port (recommended to disconnect all other ports)
  3. Reset the router.
  4. In your web browser, go to http://192.168.1.1
  5. Click on "Router Upgrade".
  6. Upload the .chk trailed build, downloaded above.
  7. Wait 5 minutes after the router says it is done, then perform another reset.
  8. Set a strong password to login
  • To use DHCP IP assignment, remember to unset the static IP set in the above instructions.

Upgrading DD-WRT

Image:Warning.png

Verify the build you plan to flash is less than 7995392 bytes (7808 KB) or you risk bricking.

Use the broadcom_K26 or broadcom_K3X nv64k build (or trailed build with WNDR4000 in the name).
To upgrade from a K26 to K3X builds it is recommended to use a trailed build.
Upgrade DD-WRT from the Administration->Firmware Upgrade page, and reset if any issues are encountered.

Build Information

Only use builds with nv64k or WNDR4000 in the name for upgrading, or you risk bricking.
Always verify builds are less than 7995392 bytes (7808 KB) or it may brick the router.
For build links, see Where do I download firmware?

Recommended Build

As of January 2019:

Reverting to Stock

To revert to stock Netgear firmware from DD-WRT over an Ethernet connection from PC to WNDR4000 LAN port:

  1. Reset the WNDR4000 using the button on the base.
  2. Download the latest firmware from Netgear WNDR4000 Support.
  3. Configure the PC port to static IP of 192.168.1.10 with a netmask of 255.255.255.0
  4. Telnet from PC to 192.168.1.1, and login as "root" with password "password". (PuTTY is a good telnet client to use.)
  5. Enter commands "erase linux" and then "reboot".
  6. To flash the firmware, use the procedure at Reinstall the firmware on a router without the setup CD recovery tool. Be sure to wait until the Power light turns green!
  7. Reset the WNDR4000 using the button on the base.
  8. Restore the PC port to dynamic IP.

After the WNDR4000 boots up with the new firmware, login with "admin" and "password".

Overclocking

The WNDR4000 CFE supports "overclocking" (the BCM4718 is rated for 533 MHz, but this model is underclocked to 480 MHz), though it is advised to add a heat sink or otherwise improve cooling or airflow. The DD-WRT GUI should be able to select between the original 480 MHz along with 500 and 533 options. The SoC references the pll20mhz_table from hndmips.c and can be manually set using the following:

  • nvram set clkfreq=480,240,120 (OEM speed)
  • nvram set clkfreq=500,250,125
  • nvram set clkfreq=530,265,132
  • nvram set clkfreq=533,266,133 (OEM speed of the E4200v1)

Verify this setting with `nvram get clkfreq` then run the following to apply:

  • nvram commit && reboot

Note: DD-WRT uses an 'overclocking' nvram parameter which can override the manual settings after boot. In this case, unset this parameter or change it to match your CPU speed (only the first setting, e.g. 533).

Unbricking

For more information:

Pin short recovery NOT RECOMMENDED EXCEPT AS A LAST RESORT

  • That said, the procedure is to short the MX25L3206E serial flash Clock Input (SCLK) & Serial Data I/O (SI) pins
    • These are the two pins diagonally opposite to pin 1 (indicated by the SOP package dot impression)
    • They are both TTL signal inputs, so there is no danger except in the user shorting the wrong pins.
    1. When the router is powered on, the power LED lights, then all LEDs light then go out (LED check)
    2. As soon as the LED check goes out, carefully short the pins (5 and 6) for 3 seconds then remove
    3. The power LED should go off upon short removal, then start blinking green, which means TFTP is running
    4. TFTP OEM firmware, then after loading the router should reboot. The trailed k2.6 mini may also work.

Forum

The original device thread disappeared in late 2015: latest archive.org snapshot

  • This has replaced it.

Broken reset button (WNDR3700v3 is identical)