Netgear WNR2000V2

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 21:37, 4 January 2019 (edit)
Ian5142 (Talk | contribs)
(Link to Where do I download firmware? Removed link to specific firmware.)
← Previous diff
Revision as of 18:01, 28 January 2019 (edit) (undo)
Jeremywh7 (Talk | contribs)
(Fix links and remove outdated info)
Next diff →
Line 34: Line 34:
===MTD Partitions=== ===MTD Partitions===
- +From a `dmesg` output:
=====[https://www.dd-wrt.com/phpBB2/viewtopic.php?p=444262#444262 CFE log]===== =====[https://www.dd-wrt.com/phpBB2/viewtopic.php?p=444262#444262 CFE log]=====
CFE for WNR2000v2 version: v1.0.18 CFE for WNR2000v2 version: v1.0.18
Line 59: Line 59:
0x00390000-0x003e0000 : "ddwrt" 0x00390000-0x003e0000 : "ddwrt"
-This appears to confirm why some builds still work above the reported 3392 KB limit: ''0x3E0000-0x40000=3712 KB''+=Flash Size=
 +DD-WRT replaces the ''linux'' partition and adds ''ddwrt'', but '''''board_data'' and ''nvram'' must be preserved.'''
 +*Thus the size limit is: 0x3E0000-0x40000='''3712 KB'''
-= Initial Flash Instructions =+===Initial Flash Instructions===
'''THESE INSTRUCTIONS ARE FOR THE [https://wikidevi.com/wiki/Netgear_WNR2000v2 VERSION 2] MODEL ONLY!''' For V3 see [[Netgear_WNR2000V3|HERE]]. '''THESE INSTRUCTIONS ARE FOR THE [https://wikidevi.com/wiki/Netgear_WNR2000v2 VERSION 2] MODEL ONLY!''' For V3 see [[Netgear_WNR2000V3|HERE]].
*Also: V1, V4, and V5 are in the [[Known_incompatible_devices#List_of_Incompatible_Devices|incompatible devices list]]. *Also: V1, V4, and V5 are in the [[Known_incompatible_devices#List_of_Incompatible_Devices|incompatible devices list]].
-#READ the [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock announcement]+#Read the [[Firmware_FAQ|Fireware FAQ]] and [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock announcement]
-#Download a trailed build from the broadcom K26 directory, filename: NEWD-2_K2.6_mini-WNR2000v2.chk.+#Download (see [[Firmware_FAQ#Where_do_I_download_firmware.3F|Where do I download firmware?]]) trailed build ''K2.6_mini-WNR2000v2.chk'' from the ''broadcom_K26'' directory.
-#*Note: the broadcom_K3X build directory has the WNR2000v2, but it '''is too big to flash'''. 3392 KB (possibly 3712 KB) Limit, flash anything bigger and you will brick your device. See [[Index:FAQ#Where_do_I_download_firmware.3F|Where do I download firmware?]] for links.+#*Note: the broadcom_K3X build directory lists the WNR2000v2, but it '''is too big to flash'''!
-#Push the reset button on the back of the router until the lights flash (or 30s), then release it.+#Push the reset button on the back of the router until the lights flash (or 30s), then release.
-#Attach a cable to the router and disable any wireless on your computer. Make sure the cable goes from your computer Ethernet connection to a LAN port (Not WAN port) on your router.+#Attach an Ethernet cable to a router LAN port, and disable wireless on the computer.
-#Wait until you have a connection with the router+#Wait until you have a connection with the router then login to the router at http://192.168.1.1/
-#Login to the router at http://192.168.1.1/+
#At the password prompt, put admin/admin or admin/password for the username/password #At the password prompt, put admin/admin or admin/password for the username/password
#Go to the Router Upgrade link on the left side of the router gui and click on it #Go to the Router Upgrade link on the left side of the router gui and click on it
#Navigate to and Choose the file that you downloaded, double checking that it is the mini-WNR2000v2.chk file and not some recipe your grandma sent you or some other router file #Navigate to and Choose the file that you downloaded, double checking that it is the mini-WNR2000v2.chk file and not some recipe your grandma sent you or some other router file
#When it asks you if you want to upgrade to a different version, click on yes. #When it asks you if you want to upgrade to a different version, click on yes.
-#Wait FIVE full earth minutes after the upgrade appears to have finished. You can watch the lights on the front if you need something to do. As long as they are changing, you need to sit quietly and wait! If you screw this up you WILL brick your router. When the green light and the blue light and the port light that you are plugged into have all stopped blinking, you should be all right as long as you have waited FIVE FULL MINUTES!+#Wait FIVE full minutes after the upgrade appears to have finished. You can watch the lights on the front if you need something to do. As long as they are changing, you need to sit quietly and wait! If you screw this up you WILL brick your router. When the green and blue lights, and the connected port light have all stopped blinking, it should be ready as long as you have waited FIVE FULL MINUTES!
#Log onto the router at http://192.168.1.1/ #Log onto the router at http://192.168.1.1/
#Set the username and password by TYPING in the boxes and hitting enter. #Set the username and password by TYPING in the boxes and hitting enter.
Line 82: Line 83:
#Repeat steps 12 and 13 and go in and configure your router. Hit save as you make your configurations before you switch to another tab, and when you are done, hit APPLY. #Repeat steps 12 and 13 and go in and configure your router. Hit save as you make your configurations before you switch to another tab, and when you are done, hit APPLY.
-= Upgrading to Later Builds =+===Upgrading to Later Builds===
-==Flash Size==+Find build links [[Firmware_FAQ#Where_do_I_download_firmware.3F|in the Firmware FAQ]].
-The WNR2000v2 flash size [https://www.dd-wrt.com/phpBB2/viewtopic.php?p=526980#526980 is reportedly limited] '''to 3392 KB''' (3,473,408 bytes). This limits the builds that can be used on this unit, INCLUDING the trailed builds. For example, on older builds, '''the last Brainslayer MINI build that will work is 18777, and the last OpenVPN-SMALL build is 18688.''' ''Find new build links'' [[Index:FAQ#Where_do_I_download_firmware.3F|here]].+*The WNR2000v2 flash size limit [https://www.dd-wrt.com/phpBB2/viewtopic.php?p=526980#526980 was once reported] as 3392 KB (3,473,408 bytes), however, larger builds such as 26490 k2.6 mini and openvpn_small [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=957525#957525 were able to be flashed], as was 33413 k2.6 mini.
- +*Note: failing to flash does not necessarily mean it is oversize. In fact, oversize firmware should brick due to partition overwrite.
-==Update 2015/03/25==+
-It has been reported that the latest current build (26490) was able to be flashed on this device. That indicates that some of the size restrictions reported in the 2013/11/07 section above may not be accurate. See details on forum [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=957525#957525 HERE], and/or flash chip size limitations as detailed in Note 4 of the [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 peacock thread].+
- +
-'''File:''' [ftp://ftp.dd-wrt.com/betas/2015/03-19-2015-r26490/broadcom_K26/dd-wrt.v24-26490_NEWD-2_K2.6_mini.bin dd-wrt.v24-26490_NEWD-2_K2.6_mini.bin]<br>+
-'''MD5:''' 57a40734f3ce2cb19c579aa40e57b906+
- +
-'''File:''' [ftp://ftp.dd-wrt.com/betas/2015/03-19-2015-r26490/broadcom_K26/dd-wrt.v24-26490_NEWD-2_K2.6_openvpn_small.bin dd-wrt.v24-26490_NEWD-2_K2.6_openvpn_small.bin]<br>+
-'''MD5:''' 3594c6623291d048c825477456a7c620+
- +
-'''Note:''' Using 64 bit windows 7, IE 11 would not update firmware or apply settings on certain pages. Try Firefox to upgrade/configure.+
- +
-==Update 2017/10/03==+
-Successfully upgraded (after initial flash) to [ftp://ftp.dd-wrt.com/betas/2017/09-27-2017-r33413/broadcom_K26/dd-wrt.v24-33413_NEWD-2_K2.6_mini.bin dd-wrt.v24-33413_NEWD-2_K2.6_mini.bin]+
=Overclocking= =Overclocking=
Line 109: Line 97:
nvram commit && reboot nvram commit && reboot
*The RAM (Samsung K4H561638J-LCCC) is DDR400, rated for 200 MHz (the 'ddr' speed from hndmips.c). *The RAM (Samsung K4H561638J-LCCC) is DDR400, rated for 200 MHz (the 'ddr' speed from hndmips.c).
-*In one test, an overclock at 400,200,100 without a heatsink produced a max SoC surface temperature of only 53.8degC (128degF) after several speedtest runs. `ifconfig` showed no errors.+*In one test, an overclock at 400,200,100 without a heatsink produced a max SoC surface temperature of only 53.8degC (128degF) after several speedtest runs. `ifconfig` showed no errors.
=Bad Flash Recovery= =Bad Flash Recovery=
Line 115: Line 103:
=Notes= =Notes=
-[https://www.dd-wrt.com/phpBB2/viewtopic.php?t=72269&postdays=0&postorder=asc&start=0 Forum device thread]+[https://www.dd-wrt.com/phpBB2/viewtopic.php?t=72269 Forum device thread]
-WNR2000v2 has a known bug with firmware 18777 and below (& 26490):+WNR2000v2 has a known bug with firmware 18777 and below (also 26490):
LAN1, LAN2, LAN3 and LAN4 port work properly under 10M/100M half/full duplex, but the LED display are incorrect: LAN1, LAN2, LAN3 and LAN4 port work properly under 10M/100M half/full duplex, but the LED display are incorrect:
LAN1 and LAN2 always amber; LAN1 and LAN2 always amber;

Revision as of 18:01, 28 January 2019

Contents

Hardware

Specifications

FCC ID PY309100105
Power 12 VDC, 1 A
CPU Broadcom BCM4716B0 (300 MHz)
Flash/RAM 4 /32 MiB
Wireless chip1 Broadcom BCM4716B0
Wireless protocols bgn
Wireless MIMO config 2x2:2
Antenna connector U.FL
WAN / LAN ports 1 / 4 @ 10/100 Mb/s

MTD Partitions

From a `dmesg` output:

CFE log
CFE for WNR2000v2 version: v1.0.18
Build Date: Wed Sep  9 14:33:22 CST 2009
[...]
Creating 10 MTD partitions on "sflash":
0x00000000-0x00040000 : "boot"
0x00040000-0x00390000 : "linux"
0x000c0e78-0x00390000 : "rootfs"
0x00390000-0x003a0000 : "ML1"
0x003a0000-0x003b0000 : "ML2"
0x003b0000-0x003c0000 : "T_Meter1"
0x003c0000-0x003d0000 : "T_Meter2"
0x003d0000-0x003e0000 : "POT"
0x003e0000-0x003f0000 : "board_data"
0x003f0000-0x00400000 : "nvram"
Running DD-WRT
Creating 5 MTD partitions on "sflash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x003e0000 : "linux"
0x0018bc00-0x00390000 : "rootfs"
0x003f0000-0x00400000 : "nvram"
0x00390000-0x003e0000 : "ddwrt"

Flash Size

DD-WRT replaces the linux partition and adds ddwrt, but board_data and nvram must be preserved.

  • Thus the size limit is: 0x3E0000-0x40000=3712 KB

Initial Flash Instructions

THESE INSTRUCTIONS ARE FOR THE VERSION 2 MODEL ONLY! For V3 see HERE.

  1. Read the Fireware FAQ and Peacock announcement
  2. Download (see Where do I download firmware?) trailed build K2.6_mini-WNR2000v2.chk from the broadcom_K26 directory.
    • Note: the broadcom_K3X build directory lists the WNR2000v2, but it is too big to flash!
  3. Push the reset button on the back of the router until the lights flash (or 30s), then release.
  4. Attach an Ethernet cable to a router LAN port, and disable wireless on the computer.
  5. Wait until you have a connection with the router then login to the router at http://192.168.1.1/
  6. At the password prompt, put admin/admin or admin/password for the username/password
  7. Go to the Router Upgrade link on the left side of the router gui and click on it
  8. Navigate to and Choose the file that you downloaded, double checking that it is the mini-WNR2000v2.chk file and not some recipe your grandma sent you or some other router file
  9. When it asks you if you want to upgrade to a different version, click on yes.
  10. Wait FIVE full minutes after the upgrade appears to have finished. You can watch the lights on the front if you need something to do. As long as they are changing, you need to sit quietly and wait! If you screw this up you WILL brick your router. When the green and blue lights, and the connected port light have all stopped blinking, it should be ready as long as you have waited FIVE FULL MINUTES!
  11. Log onto the router at http://192.168.1.1/
  12. Set the username and password by TYPING in the boxes and hitting enter.
  13. Reset the router as outlined in note 1 of the peacock announcement. THIS STEP IS IMPORTANT!
  14. Repeat steps 12 and 13 and go in and configure your router. Hit save as you make your configurations before you switch to another tab, and when you are done, hit APPLY.

Upgrading to Later Builds

Find build links in the Firmware FAQ.

  • The WNR2000v2 flash size limit was once reported as 3392 KB (3,473,408 bytes), however, larger builds such as 26490 k2.6 mini and openvpn_small were able to be flashed, as was 33413 k2.6 mini.
  • Note: failing to flash does not necessarily mean it is oversize. In fact, oversize firmware should brick due to partition overwrite.

Overclocking

Attempt at your own risk - it is recommended to add a headsink and/or improve cooling.
The BCM4716 uses the pll20mhz_table from hndmips.c, and the CFE allows overclocking.

  • Use the GUI, or (for more options) set clkfreq based on the pll20mhz_table's {cpu,ddr,axi} settings.
  • If manually setting, also set the nvram "overclocking" parameter to the {cpu} speed, for the GUI:
nvram set clkfreq={cpu,ddr,axi}
nvram set overclocking={cpu}
nvram commit && reboot
  • The RAM (Samsung K4H561638J-LCCC) is DDR400, rated for 200 MHz (the 'ddr' speed from hndmips.c).
  • In one test, an overclock at 400,200,100 without a heatsink produced a max SoC surface temperature of only 53.8degC (128degF) after several speedtest runs. `ifconfig` showed no errors.

Bad Flash Recovery

A brick from flashing too large an image can be recovered via a pin-short to enter TFTP mode as described in this thread http://www.dd-wrt.com/phpBB2/viewtopic.php?t=81013 . Timing is very important for the short, please read the entire thread for instructions. This is not without risk!

Notes

Forum device thread

WNR2000v2 has a known bug with firmware 18777 and below (also 26490): LAN1, LAN2, LAN3 and LAN4 port work properly under 10M/100M half/full duplex, but the LED display are incorrect: LAN1 and LAN2 always amber; LAN 3 always green; LAN4 LED is correct, it will display amber for 10M connection and green for 100M networking.