Netgear

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:35, 23 December 2009 (edit)
Clock (Talk | contribs)
(New page: ==Netgear== ===Netgear WGR614v8/L/WW=== Initial flash of DD-WRT firmware is done though Netgear update GUI using a device specific .chk file If the firmware you are loading is before sv...)
← Previous diff
Revision as of 03:44, 23 December 2009 (edit) (undo)
Clock (Talk | contribs)

Next diff →
Line 1: Line 1:
 +It is extremely important to follow the guidelines for your specific modem. Please see [[Installation]] for more information. Remember to follow the peacock thread first for background [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486], use this page to identify your modem model correctly, and use the dd-wrt download search page ([http://www.dd-wrt.com/dd-wrtv3/dd-wrt/downloads.html DD-WRT Downloads page] or [https://secure.dd-wrt.com/dd-wrtv3/dd-wrt/downloads.html secure version]) to ensure that you are getting the correct file (or files, as often is required) for the job.
 +
==Netgear== ==Netgear==

Revision as of 03:44, 23 December 2009

It is extremely important to follow the guidelines for your specific modem. Please see Installation for more information. Remember to follow the peacock thread first for background [1], use this page to identify your modem model correctly, and use the dd-wrt download search page (DD-WRT Downloads page or secure version) to ensure that you are getting the correct file (or files, as often is required) for the job.

Contents

Netgear

Netgear WGR614v8/L/WW

Initial flash of DD-WRT firmware is done though Netgear update GUI using a device specific .chk file

If the firmware you are loading is before svn11600 then you will need to update the firmware using this file first before upgrading to a newer build. After the initial .chk flash (after svn11600) any generic .bin file can be used to upgrade firmware to the router using the DD-WRT Firmware update tab.

These are the notes provided by Eko.

Files listed are located here

Notes:

Flashing Netgear WGR614v8, WGR614L, WGR614WW

For first flash (running original Netgear's firmware) or for tftp please use dd-wrt.v24-11604_NEWD_mini_wgr614v8-L.chk file.


For upgrade when already running DD-WRT (IMPORTANT!):

- if your DD-WRT build is less then 11600 please use dd-wrt.v24-11604_WGR614v8-L_mini.bin file. Then you can upgrade to any build listed below.

- if your DD-WRT build number is greater then 11600, you can upgrade directly using any build listed below. Keep in mind that as newer builds come out (higher svn numbers than 11600) they are also compatible.

Compatible builds:

  • dd-wrt.v24-11604_NEWD_mini.bin
  • dd-wrt.v24-11604_NEWD_mini_hotspot.bin
  • dd-wrt.v24-11604_NEWD_std.bin
  • dd-wrt.v24-11604_NEWD_std-nokaid.bin
  • dd-wrt.v24-11604_NEWD_std-nokaid_nohotspot_nostor.bin
  • dd-wrt.v24-11604_NEWD_voip.bin
  • dd-wrt.v24-11604_NEWD_openvpn_jffs_small.bin
  • dd-wrt.v24-11604_NEWD_openvpn.bin


Additional wiki information about the WGR614v8 can be found here. Some of this data is outdated but it could still provide to be useful.

Netgear WNR834Bv1

This model (the V1) does NOT have a JTAG header, only serial, so caution must be exercised when working on this unit.

Not much is said about this device other than flash it with a modified header. All information I found was that there was not modified header build for this unit except that which was created by SveaSoft with theire Talisman 1.3.1 package.

So... after much investigation it was found that the firmware needs to be updated in the form of an .img file. Original Netgear firmware was a .img file and would only accept TFTP input or web GUI input of a .img file.

[NOTE] - further investigation proved that the .img file is actually a .zip file. You can rename the .img to .zip and extract the contained WNR834B.bin file. Using a hex editor this .bin file contains both the CFE and FW for the unit....so by removing the first byte through the last byte before the HDR0 in the file will leave just the FW of the .bin file... this is a .bin file and CAN be flashed directly to the unit using TFTP.

Also found was that any .bin file can be flashed using TFTP to the unit unless the nvram has been erased using the CFE's "nvram erase" command then it will need flashing with the original .img file again. Once the Netgear FW .img is flashed navigate to the upgrade FW tab and use the 1158_mini build of .img provided below.


I found that Simri created a .img build for this unit and it works very well. The first loading of DD-WRT firmware must be an .img file and can be loaded from the Netgear firmware update tab.

11580_mini build of .img

Hard reset
Load firmware (192.168.1.1 with admin/password for un/pw)
wait 5 minutes
power cycle router
hard reset again
configure.

Subsequent DD-WRT firmware updates can be done from the DD-WRT firmware update page and you can load any .bin file except for the mega build. (I suggest you don't downgrade lower than the 11580 build that you used for the initial flash)

Here is the original Netgear firmware as well for those that want to revert back.

Additional information about this unit can be found here

USE THESE INSTRUCTIONS AT YOUR OWN RISK. DD-WRT WILL NOT BE RESPONSIBLE IF YOU BRICK THE ROUTER

[NOTE] - if you have DD-WRT on the unit and have the wrong MAC address. You can use another method of obtaining the correct MAC address permanently.

Extract the cfe.bin by using the HTTP backup method (save this file to your disk drive) Edit the cfe.bin file using a hex editor...locate and modify both the et0macaddr and et1macaddr to be the MAC address with that which is found on the sticker of your unit (yes...both et0 and et1 will be that address)....Make sure you do not ADD any bytes to the file (only overwrite current bytes)....if you do add to the file...you will have an unrecoverable brick....guaranteed...remember you only have serial communication and the CFE must work for serial to work.

Then using WinSCP (SSH must be enabled in DD-WRT) copy the newly edited CFE to the unit's /tmp directory. Now you can use a telnet session to mtd the new CFE over the old one....remember...you must have the exact same CFE with only the MAC address's changed for this to work...if you don't you will have an unrecoverable brick...guaranteed.

the commands for overwriting the CFE is

mtd unlock cfe
mtd write /tmp/cfe.bin cfe

When it finishes reboot the router. The correct MAC addresses should now show up on the Status tab.


Thanks to Sparky and Simri for sharing their knowledge of these Netgear units on the forum. redhawk

Netgear WNR834Bv2

(See Important Notes below before attempting to flash)

Image:Warning.png

Do not use bin/chk files from the router database older than svn12188. Currently, they are bricking routers. Once this problem is sorted out, this message will be removed.
Sparkie Updated by redhawk0

The Netgear WNR834Bv2 is now fully supported as of 3rd July 2008. Thanks to Eko, Brainslayer, etc. for their superb work in getting this router supported.

These (slightly modified) instructions were first posted by sparkie here. Read that complete thread for the hairy details on getting this device fully supported, if you are so interested or suffer from insomnia.

Step 1: Download the mini version of DD-WRT version 24, build 12548, new driver in the dot CHK format here.

Step 2: Flash the firmware to your router using Netgear's factory firmware standard web interface. Note that to successfully flash this device, you may need to use IE or Firefox 3 or higher. sparkie has reported in the thread linked above that Firefox 2 will not work with the Netgear factory web upgrade page to flash this device.

Step 3: If the mini build is insufficient for your needs, you may download your preferred flash BIN file from here. Then flash up the new .BIN file using the DD-WRT web interface from the Administration tab, then the Firmware Upgrades tab.

Important Notes (Please read these in full before attempting to flash):

  • DO NOT ATTEMPT TO FLASH ANY BUILDS EARLIER THAN 9856 DATED 3RD JULY 2008, or you risk bricking your router. Some of the v24 release candidate 7s worked with minor bugs. But the first final v24 bricked the router for some users as a result of a problem with JFFS.
  • TFTP flashing only works when the router detects a bad flash and puts itself in diagnostic mode. This can be seen by a flashing green power light, and also a ping trace will show response immediately after powerup with TTL=100. Proper flashes will stop replying to pings after about 15 seconds, then will reply with TTL=64. Diag mode will stay at TTL=100. Diag mode can be forced by opening the router and shorting pins 16 and 17 on the MX flash chip during powerup. Some suggest you try the pin short first, other suggest JTAG. Both have their pros and cons.
  • TTL=100 3~6 times means your router is bricked. No amount of uploading an image via tftp at the proper time will work. It will require a pin short, or jtag to fix. It is futile to try and achieve perfect timing to upload an image in this mode.
  • NEWD = New Drivers; VINT = Vintage Drivers. Use only NEWD firmwares with this router. VINT builds are for much older routers.
  • DO NOT INSTALL the generic broadcom dd-wrt.v24_std_generic.bin file (2.4 SP1). It will likely brick your router.
  • If your router is stuck in 'tftp only' mode (characterized by a constant TTL=100 ping response), you can rescue it by TFTPing the original Netgear firmware less the header file located here, which will flash your router back to Netgear's stock 1.0.22 North America firmware. This file is called wnr834bv2_1_0_22_na.bin
  • For routers will a more recent flash, you will need the 2.1.13 version of the flashes 2.1.13_NA / 2.1.13_WW
  • Your router has only 4 MB of Flash RAM. Do not attempt to flash the MEGA version of DD-WRT to this device.

DOUBLE SUPER DUPER Extremely Important Note:

According to Eko, the NVRAM of this router has an additional partition on it which contains your router's serial number, MAC address, and board code. DD-WRT builds prior to 9856 would overwrite this section of NVRAM, if the user enabled JFFS. Builds 9856 and higher include support for turning JFFS on with this model router. In the event that you accidentally erase this part of the NVRAM, you can only recover your router by flashing it via JTAG.


This also implies that if you want to use the OpenVPN version, you'll want one with an openvpn_jffs_small suffix like THIS one (current as of 15/5/2009).

WNR834Bv2 JTAG Pinout:

J12 Pin 1 connected to JP1 pin 1 via 100 ohm resistor. 

J12 Pin 3 --100r--> TDI (Pin 2 of parallel port) 
J12 Pin 5 --100r--> to TD0 (Pin 13 of parallel port) 
J12 Pin 7 --100r--> to TMS (Pin 4 of parallel port) 
J12 Pin 9 --100r--> to TCK (Pin 3 of parallel port) 
J12 Pin 10 -------> to GND (Pin 20&25 of parallel port)  

  • Functional NVRAM backup is here.
  • Functional CFE backup is here.
  • Functional Custom backup is here. (REQUIRES MODIFICATION OF MAC ADDRESS)
  • Tornado's JTAG v2.1.4 is here.


RECOVERY PROCESS VIA JTAG

One of the best threads that has been found for debricking the WNR834Bv2.


The fastest way to recover a bricked WNR834Bv2 is to wipe the kernel portion of the flash, and reflash the custom section.

  • 1. Download one of the binpacks WNR834Bv2 World Wide. WNR834Bv2 North America, and the custom.bin
  • 2. JTAG the router
  • 3. Erase the kernel portion of the flash
  • 4. Reflash the 'custom' section of the flash (hex edit the custom.bin and put your own MAC address in at offset 40~45!)
  • 4a. flash parameters: -flash:custom /window:1fc00000 /start:1ffe0000 /length:10000
  • 5. Power cycle the router and the router will respond with a constant ttl=100 ping response
  • 6. TFTP a dot CHK file appropriate to your router (NA or WW)
  • 6a. You will know that the transfer was completed and the flash process is working when router power light blinks amber on and off once per second. After a few minutes, the router will begin to respond with a ttl=64 ping and will be functional again.

RECOVERY PROCESS VIA PIN SHORT

  • Pin Locations.
  • Short pins 16 & 17
  • Power up router
  • Open two command prompt/console windows
  • Start a ping of the router, it should respond with TTL=100
  • Initiate TFTP upload of a .chk file (DD-WRT or one of the stock Netgear ones)
  • Immediately remove the short
  • You will know that the transfer was completed and the flash process is working when router power light blinks amber on and off once per second. After a few minutes, the router will begin to respond with a ttl=64 ping and will be functional again. (Yes, it actually does take 2~3 minutes)

FAULTY POWER SUPPLY

Many of the factory refurb WNR834B v1 and v2 routers sold in 2008 through frys.com, geeks.com, tigerdirect.com, and woot.com were shipped with a marginal or defective power supply manufactured by DVE. These units are smaller than traditional power supplies, and can be identified by the following information:

P/N: 332-10006-01

MODEL: DSA-12R-12 AUS 120120

The routers will operate perfectly with only 9VDC @ 800mA, but older-style surplus Netgear power supplies that output 12VDC @ 1A are available from AllElectronics.com as DCTX-1216

Netgear WNDR3300

Initial flash of dd-wrt firmware can be done though Netgear factory firmware GUI using a device specific .chk file

Just get this .chk file (as of 2009, May First) and use Netgear GUI to upload to your router. All done.


Few things I noticed so far.

- You can try but std never worked for me so far.

- If you brick it (green power light keeps blinking), unbricking is easy. Just use tftp to upload above .chk or factory firmware. (tftp info here)


These are the notes provided by Eko.

Files listed are located here

Notes:

Flashing Netgear WNDR3300

For first flash (running original Netgear's firmware) or for tftp please use dd-wrt.v24-12030_NEWD_mini_wndr3300.chk file.

If you need additional info WNDR3300 is discussed here.