Netgear WNDR4000

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:10, 17 February 2015 (edit)
JNavas (Talk | contribs)
(Build Information - Kong notes)
← Previous diff
Current revision (19:49, 5 January 2019) (edit) (undo)
JNavas (Talk | contribs)
m (rearrange sections)
 
(33 intermediate revisions not shown.)
Line 1: Line 1:
[[Image:WNDR4000-1.jpg | right ]] [[Image:WNDR4000-1.jpg | right ]]
= Hardware Specs = = Hardware Specs =
- 
{| border="1" cellspacing="0" {| border="1" cellspacing="0"
! CPU ! CPU
Line 22: 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 28: Line 27:
|- |-
! Switch ! Switch
-| 4x GigE + 1 GigE WAN+| 4x GbE + 1 GbE WAN
|- |-
! USB ! USB
| 1x USB 2.0 | 1x USB 2.0
-|}+|}<br>
 += Initial Flashing Instructions =
 +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)
 +*Upgrades use the '''nv64k''' (or trailed) build and '''not the nv60k nor generic builds.'''
 +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.
 +=Upgrading DD-WRT=
 +<center>
 +{|style="width:95%;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"|
 +<font color=red>Verify the build you plan to flash is less than 7995392 bytes ('''7808 KB''') or you risk bricking.</font>
 +|-
 +|}</center>
 +Use the broadcom_K26 or broadcom_K3X '''nv64k''' build (or trailed build with '''WNDR4000''' in the name).<br>
 +To upgrade from a K26 to K3X builds it is recommended to use a trailed build.<br>
 +Upgrade DD-WRT from the ''Administration->Firmware Upgrade'' page, and reset if any issues are encountered.
-= Flashing Instructions =+=Build Information=
- +Only use builds with '''nv64k''' or '''WNDR4000''' in the name for upgrading, or you risk bricking.<br>
-It's always good practice to read the [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock Thread] for reference on Broadcom based Routers.+'''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?]]
-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'''.+
- +
-ftp://ftp.dd-wrt.com/betas/2013/05-27-2013-r21676/broadcom_K26/dd-wrt.v24-21676_NEWD-2_K2.6_mini-WNDR4000.chk+
- +
-For going from stock Netgear firmware to DD-WRT on a WNDR4000, installation goes like this:+
-<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>Connect the PC to one of the router's LAN ports (unplug your ISP modem for the moment)</li>+
-<li>Perform a [http://www.dd-wrt.com/wiki/index.php/Hard_reset_or_30/30/30 Hard Reset] on the router.</li>+
-<li>In your web browser, go to http://192.168.1.1</li>+
- +
-<li>Click on &#8220;Router Upgrade&#8221; in the menu at left.</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>Repeat steps 4-7 with the nv64k.bin firmware file.</li>+
-<li>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.+
- +
- +
-= 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.+
- +
-ftp://ftp.dd-wrt.com/betas/+
- +
-'''Good build for this device is 21676''' (Mini build to avoid [http://www.dd-wrt.com/site/content/heartbleed-dd-wrtdd-wrt-online-services Heartbleed vulnerability]):+
- +
-ftp://ftp.dd-wrt.com/betas/2013/05-27-2013-r21676/broadcom_K26/dd-wrt.v24-21676_NEWD-2_K2.6_mini-nv64k.bin+
- +
-'''Another good build for this device is [https://cloud.serdarevic.net/public.php?service=files&t=81ba7d7baa30824bb87a823a52ebfa10&path=%2FK26%2Fr22000%2B%2B 22000++ Kong]''' (fixed to avoid [http://www.dd-wrt.com/site/content/heartbleed-dd-wrtdd-wrt-online-services Heartbleed vulnerability]):+
- +
-* [https://cloud.serdarevic.net/public.php?service=files&t=81ba7d7baa30824bb87a823a52ebfa10&path=%2FK26%2Fr22000%2B%2B&files=usb-ftp-samba3-dlna-nv64k-broadcom.bin&download DLNA] +
-* [https://cloud.serdarevic.net/public.php?service=files&t=81ba7d7baa30824bb87a823a52ebfa10&path=%2FK26%2Fr22000%2B%2B&files=usb-ftp-samba3-vpn-nv64k-broadcom.bin&download VPN]+
-Notes for 22000++ Kong:+= Recommended Build =
-* '''Change TX Power to 70''' in both WL0-Advanced and WL1-Advanced. (Default is 40.)+As of January 2019:
-* Starting point for highest performance (Wireless > Basic Settings):+* '''[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]'''
-** ''Wireless Physical Interface wl0 [2.4 GHz]''<br>Wireless Network Mode: NG-Mixed<br>Wireless Channel: 6<br>Channel Width: 40 MHz<br>Extension Channel: lower+
-** ''Wireless Physical Interface wl1 [2.4/5 GHz]''<br>Wireless Network Mode: NA-Mixed<br>Wireless Channel: 149<br>Channel Width: 40 MHz<br>Extension Channel: lower+
-* With ''40 MHz'' Channel Width, to be able to select the Wireless Channel, first select and Apply ''lower'' for Extension Channel. (Default is ''upper''.)+
-'''Forum thread for reference:'''+=Reverting to Stock=
 +To revert to stock Netgear firmware from DD-WRT over an Ethernet connection from PC to WNDR4000 ''LAN'' port:
 +# Reset the WNDR4000 using the button on the base.
 +# 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
 +# 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".
 +# 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.
 +# Restore the PC port to dynamic IP.
 +After the WNDR4000 boots up with the new firmware, login with "admin" and "password".
-http://www.dd-wrt.com/phpBB2/viewtopic.php?t=90600+=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).
-= Unbricking =+=Unbricking=
 +For more information:
 +*'''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.
-See '''[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><br>
[[Category:Netgear guides]] [[Category:Netgear guides]]

Current revision

Contents

[edit] 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

[edit] 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.

[edit] 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.

[edit] 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?

[edit] Recommended Build

As of January 2019:

[edit] 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".

[edit] 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).

[edit] 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.

[edit] Forum

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

  • This has replaced it.

Broken reset button (WNDR3700v3 is identical)