From DD-WRT Wiki
 Installation of DD-WRT
The Netgear WNDR3700 is an extremely powerful consumer 802.11 a/b/g/n router, sporting a fast Atheros or Broadcom CPU, lots of RAM & flash space, and capable of high transmit power that even gives 2Wire a run for the money makes this router is ready for the future, & DD-WRT makes it even better. Installation of DD-WRT is very simple and can be done in a few steps. To date there are four hardware revisions of this router, v1, v2, v3, & v4. Each of which requires its own firmware build, whether you use the stock firmware or DD-WRT.
v1 units are not labeled at all and are just called "WNDR3700".
v2 units are labeled on the side of the box and in firmware as "WNDR3700v2".
v3 units are labeled on the side of the box and in firmware as "WNDR3700v3".
v4 units are labeled on the side of the box and in firmware as "WNDR3700v4(?)" (supported as of Mar, 25 2013 build 21061)
1-A. Download DD-WRT for the WNDR3700 v1 from here depending on the region you purchased your router from:
1-B. If you have a WNDR3700 v2, download from here following the same flashing steps:
1-C. If you have a WNDR3700 v3, download from here flashing the trailed build:
Upgrade Builds: This unit is broadcom based and has 64k of nvram. Use the nv64k.bin flavors to upgrade with.
1-D. If you have a WNDR3700 v4, download from here following the same flashing steps:
2. Make sure you are connected to the router with an ethernet cable. Then upgrade your firmware through the stock firmware web interface, the process will take a few minutes. Do not interrupt the upgrade process and wait at least 2 minutes after 100% is reached.
3. The wireless LEDs should now be flashing, and if your NIC card is gigabit, you should also see one orange LAN led, if you see these your flash is complete and you can now proceed to the 30/30/30 or triple 30 reset (step 4.).
4. Hold the reset button under the router for 30 seconds and do not release it, while still holding the reset button unplug the router and leave it unplugged for 30 more seconds. Still holding the reset button, plug the router back in and wait yet another 30 seconds. Unplug the router again and release the reset button, plug it back in and wait at least 2 minutes, this is critical as the router is building NVRAM settings.
5. Repeat step 4 one final time.
6. Power cycle the router: Unplug it for 30 seconds and plug it back in, or use the switch. Installation is now complete.
The webflash.bin doesn't work on some WNDR3700's and could brick the router, but most are fine. Most likely cause the router is faulty to begin with. To restore from the brick TFTP the stock firmware or a known working build of DD-WRT back from it (-factory.img file).
To upgrade to a newer build of DD-WRT, use the web interface and selecting the "wndr3700-webflash.bin" file instead. eg from:  Do not select "restore defaults" or you may have a semi bricked device. There has been many reports of "restore defaults" bricking multiple different routers yet some have no issue, so USE AT YOUR OWN RISK! You should not have to restore to defaults just from upgrading builds, to restore to defaults instead use the far superior triple 30 reset. Also, if you do partially brick your router, use this page to unbrick it.
Now that DD-WRT is fully installed and NVRAM is cleared, ensure your PC does not have any internal static IP then point your browser to 192.168.1.1, this is the DD-WRT default IP and can be changed to any IP you like. You should be at the username and password screen, set them accordingly then proceed to setting up your new DD-WRT WNDR3700.
- NOTE: Some people have run into problems following the directions above, usually due to waiting only a few seconds after sending the firmware to the unit to flash, when its not finished flashing the unit probably gets reset or loss of power. This forum thread describes an alternative method - http://www.dd-wrt.com/phpBB2/viewtopic.php?t=140667&postdays=0&postorder=asc&start=30
- TFTP & recovery directions - http://www.dd-wrt.com/phpBB2/viewtopic.php?t=79802&highlight=stock+wndr+3700
 Known Issues
Since DD-WRT is still in beta there is some issues with the WNDR3700, having followed the proper safe procedure above, you should have minimal or no issues. If luck is not on your side then take a look at the current known most critical issues and fixes for them if there is any.
 Issue 1
There has been some reports of very weak radios (both 2.4GHz and 5GHz) after flashing DD-WRT, but there is also reports of weak wireless with those that never flashed DD-WRT. The issue seems to be faulty hardware, a fairly large bad batch off the assembly line (see "fix" below). Owners with this problem report the wireless is so weak one can't move any further away from the router than 1 meter. A chart has been made by a WNDR3700 owner that is linked at the bottom of this page, you have over 85% chance to get a good working router. See this thread on netgear forums for some low S/N information: http://forum1.netgear.com/showthread.php?t=54442
According to this thread TA numbers ending in 01R15 are likely to be bad. 01R17 are better, 07R18 is 50/50, and it appears 01R21+ are usually fine. Anything starting with 02R is from the "2nd generation" and no issues have been reported with the 2.4Ghz/5.0Ghz bands.
Fix: None short of exchanging the router for another one.
 Issue 2
Some report MAC addresses changing to FF:FF:FF:FF:FF:FF, this can be caused by a improper flash. Reflash following the steps above before attempting the fix. If reflashing did not fix the problem replacing caldata should, see fix link.
Fix: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=468313#468313 (updated)
 Issue 3
To date (1-1-2013) This only affects the WNDR3700v2. You must have no later than 22.214.171.124 of the netgear factory firmware in order to flash dd-wrt to this unit. Netgear has put a check in later firmware revisions (as so with the WNDR3800) to see if you are not using their firmware and will fail thereof.
 Router Specifications
- v1: Atheros AR7161 680 MHz
- v2: Atheros AR7161 680 MHz
- v3: Broadcom BCM4718A 480MHz
- v4: Atheros AR9344 560MHz
- v1: 64MB
- v2: 64MB
- v3: 64MB
- v4: 128MB
- v1: 8MB
- v2: 16MB
- v3: 8MB
- v4: 128MB
- v1: Realtek RTL8366SR
- v2: Realtek RTL8366SR
- v3: Broadcom BCM53115(?)
- v4: ?
Radios (2.4 GHz/5GHz):
- v1: Atheros AR9223/Atheros AR9220
- v2: Atheros AR9223/Atheros AR9220
- v3: Broadcom BCM4718A1/Broadcom BCM4331
- v4: Atheros AR9582(?)/Atheros AR9582(?)
# Of Antennas & type:
- v1: 8 (Internal)
- v2: 8 (Internal)
- v3: ? (Internal)
- v4: ? (Internal)
Antenna Gain (2.4 GHz/5GHz):
- v1: 2.8 dBi/3.9 dBi
- v2: 2.8 dBi/3.9 dBi
- v3: ?
- v4: ?
Max TX Power (2.4 GHz/5GHz):
- v1: 17dBm/24dBm
- v2: 17dBm/24dBm
- v3: 251mW(?)/251mW(?)
- v4: ?/?
Antenna Chains (TX/RX): (applicable for Atheros ONLY)
- v1: 1+2/1+2
- v2: 1+2/1+2
- v3: N/A
- v4: 1+2/1+2(?)
- Max TX Power is assuming 40 MHz channel width is in use & regulatory domain is Canada/USA/Singapore. Under 20 MHz operation 2.4 GHz may have higher TX power due to reduced channel width.
Q: After flashing DD-WRT, the LAN LEDs are now green for 10/100M and orange 1000M?
A: This is an intentional change by the DD-WRT developers, Netgear had the colors backwards as gigabit is usually orange (check any other NIC!).
Q: I heard some WNDR3700 radios were dying shortly after flashing DD-WRT? Does the firmware damage routers?
A: No DD-WRT does not damage routers, there is also reports as said above, of WNDR3700's having weak wireless even when DD-WRT was never put on it. It is a faulty hardware issue.
Q: Is there going to be a special version after DD-WRT is out of beta for this router?
A: Maybe, maybe not. Probably not because Netgear already paid for special support *for us*, this is why WNDR3700 has extra features such as RP-PPPOE server and per user/subnet/MAC QoS speed control as these are special build features.
Q: My wireless performance dropped after installing DD-WRT?
A: Refer to the Atheros wireless settings wiki page, you are probably using defaults or incorrect settings.
Q: What is the default username and password for DD-WRT?
A: Username is "root" and password is "admin".
Q: With stock firmware I was able to setup a guest AP or virtual AP, can I do this as well with DD-WRT?
A: Absolutely, and much more!
Q: How come I cannot get 802.11n 300Mbps speeds with a 300Mbps client?
A: You must use WPA2 AES when encrypting your wireless connection, or have no security, otherwise the router will fallback to 802.11a/g speeds as WPA2 AES is a mandatory requirement of 802.11n specification as WPA2 AES is the only approved encryption method in the Wireless-N standard.
Q: Is it possible to restore the factory or stock firmware that came with my router?
A: Yes. Refer to WNDR3700: Restore Factory Firmware in Five Easy Steps.
 Useful Information
- Refer to this wiki article for a guide to wireless settings for Atheros.
- Refer to this thread containing various info regarding WNDR3700.
- Refer to this thread about the possibility of different revisions of the WNDR3700, weak wireless problem could be tied to revision.
- Refer to this thread for a guide to restoring the Netgear factory firmware.
- Software Installation on USB enabled Atheros routers 
- Refer to this thread for a guide compiling kernel modules