Netgear WNDR4000

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:40, 7 July 2012 (edit)
Buddee (Talk | contribs)
(add pcock link for reference)
← Previous diff
Revision as of 14:29, 17 March 2018 (edit) (undo)
Jeremywh7 (Talk | contribs)
(Unbricking)
Next diff →
(34 intermediate revisions not shown.)
Line 1: Line 1:
 +[[Image:WNDR4000-1.jpg | right ]]
= Hardware Specs = = Hardware Specs =
- 
-[[Image:WNDR4000-1.jpg]] [[Image:WNDR4000-bck.jpg]] 
- 
{| border="1" cellspacing="0" {| border="1" cellspacing="0"
! CPU ! CPU
Line 23: Line 21:
|- |-
! WLAN Max Speed ! WLAN Max Speed
-| 300 mbps on 2.4Ghz and 450mbps on 5Ghz+| N750: 300 Mb/s (2.4Ghz)<br>450 Mb/s (5Ghz)
|- |-
! Antenna Location ! Antenna Location
Line 29: Line 27:
|- |-
! Switch ! Switch
-| 4x GigE + 1 GigE WAN+| 4x GbE + 1 GbE WAN
|- |-
! USB ! USB
| 1x USB 2.0 | 1x USB 2.0
|} |}
- 
- 
= Flashing Instructions = = 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.
-Its always good practice to read the [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock Thread] for reference on Broadcom Based Routers.+*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.'''
-You'll need to download 2 files before you begin this procedure. For those upgrading from an older build, you need not to use the initial trailed mini .chk file (the .chk file with the router name in it is the trailed build for initial flashing only), '''but you must use the nv64k dd-wrt builds to upgrade with or you'll end up with a bricked router'''.+*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.
-ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/06-08-12-r19342/broadcom_K26/dd-wrt.v24-19342_NEWD-2_K2.6_mini-WNDR4000.chk+See [[Index:FAQ#Where_do_I_download_firmware.3F|Where do I download firmware?]] for links.
- +
-And this one for a more feature filled build (Will give you USB function amongst other features)+
-ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/06-08-12-r19342/broadcom_K26/dd-wrt.v24-19342_NEWD-2_K2.6_big-nv64k.bin+Go to the broadcom_K26 folder and download the K2.6_mini-WNDR4000.chk file first.
-<p>For going from stock Netgear firmware to DD-WRT on a WNDR4000, installation goes like this:</p>+Installation procedure to flash from stock Netgear firmware to DD-WRT on a WNDR4000:
<ol> <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> <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>
<li>Connect the PC to one of the router's LAN ports (unplug your ISP modem for the moment)</li> <li>Connect the PC to one of the router's LAN ports (unplug your ISP modem for the moment)</li>
-<li>Perform a 30-30-30 Reset http://www.dd-wrt.com/wiki/index.php/Hard_reset_or_30/30/30 on the router.</li>+<li>Perform a [[Hard_reset_or_30/30/30|reset]] on the router.</li>
<li>In your web browser, go to http://192.168.1.1</li> <li>In your web browser, go to http://192.168.1.1</li>
-<li>Cancel the router&#8217;s automatic firmware update checking, then click on &#8220;Router Upgrade&#8221; in the menu at left.</li>+<li>Click on "Router Upgrade".</li>
<li>Upload the special .chk firmware file, that you downloaded from the link above.</li> <li>Upload the special .chk firmware file, that you downloaded from the link above.</li>
-<li>Wait 5 minutes after the router says it is done, then perform another 30-30-30 reset. Make sure you clear your browsers cache between updating firmwares.</li>+<li>Wait 5 minutes after the router says it is done, then perform another reset.</li>
 +*Recommended: clear the browser cache after updating firmware.
<li>Repeat steps 4-7 with the nv64k.bin firmware file.</li> <li>Repeat steps 4-7 with the nv64k.bin firmware file.</li>
-<li>Login and start tweaking</li>+<li>Set a strong password, then login and start tweaking</ol>
-* Should you want to use DHCP ip assignment, remember to un-set the static ip that you set in the above instructions.+* 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 in the name for upgrading, anything else will brick your router!''' '''As noted in bold in the flashing instructions, only use builds with nv64k in the name for upgrading, anything else will brick your router!'''
To find the latest builds, you can access the DD-WRT file server. 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. To find the latest builds, you can access the DD-WRT file server. 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.
-ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2+Broadcom K3X builds (/broadcom_K3X folder, Linux kernel v3.10) are supported as well, refer to the [https://www.dd-wrt.com/phpBB2/viewtopic.php?t=171853 K3X sticky] and "New Build" threads.
 + 
 +See [[Index:FAQ#Where_do_I_download_firmware.3F|Where do I download firmware?]] for links.
 + 
 +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.
-To read into the WNDR4000's forum thread for reference.+=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 [http://svn.dd-wrt.com/browser/src/linux/brcm/linux-2.6.23/brcm/shared/hndmips.c 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).
-http://www.dd-wrt.com/phpBB2/viewtopic.php?t=90600+=Unbricking=
 +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]
 +=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>
 +*[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?p=875645 Pin short recovery] '''DO NOT TRY THIS EXCEPT AS A LAST RESORT.'''<br>
[[Category:Netgear guides]] [[Category:Netgear guides]]

Revision as of 14:29, 17 March 2018

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

Flashing Instructions

It's always good practice to 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 dd-wrt 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 Where do I download firmware? for links.

Go to the broadcom_K26 folder and download the K2.6_mini-WNDR4000.chk file first.

Installation procedure to flash from stock Netgear firmware to DD-WRT on a WNDR4000:

  1. 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.
  2. Connect the PC to one of the router's LAN ports (unplug your ISP modem for the moment)
  3. Perform a reset on the router.
  4. In your web browser, go to http://192.168.1.1
  5. Click on "Router Upgrade".
  6. Upload the special .chk firmware file, that you downloaded from the link above.
  7. Wait 5 minutes after the router says it is done, then perform another reset.
    • Recommended: clear the browser cache after updating firmware.
  8. Repeat steps 4-7 with the nv64k.bin firmware file.
  9. Set a strong password, then login and start tweaking
  • To use DHCP IP assignment, remember to unset the static IP set in the above instructions.

Build Information

As noted in bold in the flashing instructions, only use builds with nv64k in the name for upgrading, anything else will brick your router!

To find the latest builds, you can access the DD-WRT file server. 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.

Broadcom K3X builds (/broadcom_K3X folder, Linux kernel v3.10) are supported as well, refer to the K3X sticky and "New Build" threads.

See Where do I download firmware? for links.

To use mega builds, always verify they are less than 7995392 bytes (7808 KB) or it may brick the router.

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:

Forum

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

  • This has replaced it.

Broken reset button (WNDR3700v3 is identical)
Pin short recovery DO NOT TRY THIS EXCEPT AS A LAST RESORT.