WNDR3700 Developers' Overview
This page contains, thus far, one user's complete notes on how to build a working OpenWrt WNDR3700 image from scratch, including working wireless on 2.4 GHz and 5 GHz bands. This page assumes that you are comfortable with building software and using kernel-style makefile systems, but otherwise, the page describes how to build the system from the ground up (including getting your base OS ready to build OpenWrt in the first place).
This page also describes the method used to unbrick a WNDR3700 (which does NOT require a serial cable), as well as optional instructions for manufacturing a serial cable (should you wish to use it for running ramdisk images).
These instructions are working fine as of the relatively-recent trunk revision 19064.
Until WNDR3700 support is integrated into a release, you'll need to execute the following commands to pull down the latest bleeding-edge code:
cd ~ mkdir openwrt cd openwrt git clone git://git.openwrt.org/openwrt.git trunk
If you also want to check out the extra packages that can be installed on your system (including the helpful ntpclient and the WebUI LuCI), you can also run this:
cd ~/openwrt/trunk ./scripts/feeds update packages luci ./scripts/feeds install -a -p luci ./scripts/feeds install <package_name>
Run the OpenWrt's BuildRoot menu configuration system to get started:
cd ~/openwrt/trunk make menuconfig
Make the following selections beyond the defaults. You might be able to get away with building things as kernel modules instead of built-in, but the author has not tried.
If you want to slap a USB memory stick in the back of your router to allow you to install many more packages read the pages USB Basic Support and USB Storage.
A sample .config file is linked to below. If you use this, at the very least, you will need to edit the DNS server address listed in the “image configuration” step (see #4 above).
Type
make
and it should merrily build away for at least a good half hour (or more). When you're done, you should have the resulting binaries stored in ~/openwrt/trunk/bin/ar71xx. As of trunk revision 25119, separate binaries will be created for the WNDR3700v1 and WNDR3700v2.
Please see WNDR3700 - Installation or OpenWrt - Installation