Re: WNDR3700 exploration

I've installed last snapshot available (openwrt-ar71xx-wndr3700-squashfs-sysupgrade.bin of 16/02/10) and now I've some questions:

- How can I set wifi (2,4 and 5Ghz)?
- How can I set leds?



Tnks for your support. Great job boyz!

Re: WNDR3700 exploration

kamzata wrote:

I've installed last snapshot available (openwrt-ar71xx-wndr3700-squashfs-sysupgrade.bin of 16/02/10) and now I've some questions:

- How can I set wifi (2,4 and 5Ghz)?
- How can I set leds?

OK! let's try together to write a workaround without having to compile anything.

1) First you need to configure your internet connection by modifying the file /etc/config/network, for example if you have a PPPoE connection you should have something like this:

config interface wan
    option ifname    eth1
    option proto    pppoe
    option username    xxx.xxxx@xxxx
    option password xxxx
    option keepalive    3
    option demand    0
    option defaultroute    1
    option peerdns    1

2) Then install the iw modules and the web interface:

opkg install kmod-ath9k hostapd-mini crda kmod-leds-wndr3700-usb wpa-supplicant-mini luci-admin-full luci-theme-openwrt

3) Reboot
4) Go to webinterface > Network > Wifi and set as favorite (you can also use WPA2-PSK if you prefer). For the radio1 device, SET THE CHANNEL TO 48
5) Open your wireless config file. To each config wifi-device (not wifi-iface) section, you must also add an "option country US" (or insert your own two-letter regulatory country code as appropriate, in capitals) in order to get the correct regulatory domain enabled.
6) To configure the LEDs go to webinterface > System > LED Configuration

But now the interface at 5GHz does not work. Probably need to set Atheros drivers to respect the user's regdomain settings. I tried adding a line like this to the wireless config file but nothing has changed.

option regdomain 1

The output of wifi is:

root@OpenWrt:~# wifi
Configuration file: /var/run/hostapd-phy0.conf
Using interface wlan0 with hwaddr 00:26:f2:94:88:22 and ssid 'AeroStato'
Configuration file: /var/run/hostapd-phy1.conf
wlan1: IEEE 802.11 Configured channel (36) not found from the channel list of current mode (2) IEEE 802.11a
wlan1: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-1)
wlan1: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
Failed to start hostapd for phy1

Any idea?

Re: WNDR3700 exploration

enodiesop wrote:

The output of wifi is:

root@OpenWrt:~# wifi
Configuration file: /var/run/hostapd-phy0.conf
Using interface wlan0 with hwaddr 00:26:f2:94:88:22 and ssid 'AeroStato'
Configuration file: /var/run/hostapd-phy1.conf
wlan1: IEEE 802.11 Configured channel (36) not found from the channel list of current mode (2) IEEE 802.11a
wlan1: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-1)
wlan1: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
Failed to start hostapd for phy1

Any idea?

If adding 'option country XX' to wifi-device didn't work, it could be the snapshots are missing the crda package, or don't have the ath9k option "respect user's regdomain settiings' set at build-time. Needs to be fixed.

Is there anything under LED configuration for the WNDR3700 builds? last I checked it was nil.

179 (edited by essdz 2010-02-17 17:48:56)

Re: WNDR3700 exploration

CoyoteDen wrote:
enodiesop wrote:
wlan1: IEEE 802.11 Configured channel (36) not found from the channel list of current mode (2) IEEE 802.11a
wlan1: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-1)
wlan1: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
Failed to start hostapd for phy1

Any idea?

If adding 'option country XX' to wifi-device didn't work, it could be the snapshots are missing the crda package, or don't have the ath9k option "respect user's regdomain settiings' set at build-time. Needs to be fixed.

My guess too is a missing the "option country XX" (where XX is your two-character ISO country code) option in the radio section of the wireless.

enodiesop, if that doesn't work, what is the result of running "iw phy1 info"?

CoyoteDen wrote:

Is there anything under LED configuration for the WNDR3700 builds? last I checked it was nil.

The LED patches haven't been integrated into the mainline trunk yet. I will badger the OpenWRT developers again if this doesn't get done by next week, but in the meantime, if you are building yourself, you can apply my patch from the bottom of this message: https://lists.openwrt.org/pipermail/openwrt-devel/2010-February/005929.html (with thanks to ase and other folks here for doing most of the hard work)

On a related note, it seems like it might be an useful idea for someone here to publish a working WNDR3700 image with most of the basic features compiled correctly and built in. If we get this done, I bet we could attract some decent attention from the NETGEAR forums to get new testers and help build momentum for the WNDR3700 port. (There seem to be a lot of annoyed users who are stuck on the stock factory firmware...)

Although the current trunk state isn't perfect, I think it's usable and that signal strength is decent.

I'd be happy to offer my time to create such a build, but I'm not in a good position to distribute it (I'm stuck behind a firewall). If I build an image, would some other folks be willing to help seed a torrent?

Re: WNDR3700 exploration

essdz wrote:

I'd be happy to offer my time to create such a build, but I'm not in a good position to distribute it (I'm stuck behind a firewall). If I build an image, would some other folks be willing to help seed a torrent?

I can provide HTTP hosting for more or less unlimited traffic and duration.  PM me.

Re: WNDR3700 exploration

My guess too is a missing the "option country XX" (where XX is your two-character ISO country code) option in the radio section of the wireless.

enodiesop, if that doesn't work, what is the result of running "iw phy1 info"?

The line "option country XX" is in my wireless config file as described in the wiki page. The output of "iw phy1 info" is:

Wiphy phy1
    Band 1:
        Capabilities: 0x104e
            HT20/HT40
            SM Power Save disabled
            RX HT40 SGI
            No RX STBC
            Max AMSDU length: 7935 bytes
            DSSS/CCK HT40
        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
        Minimum RX AMPDU time spacing: 8 usec (0x06)
        HT TX/RX MCS rate indexes supported: 0-15
        Frequencies:
            * 5180 MHz [36] (30.0 dBm) (passive scanning, no IBSS)
            * 5200 MHz [40] (30.0 dBm) (passive scanning, no IBSS)
            * 5220 MHz [44] (30.0 dBm) (passive scanning, no IBSS)
            * 5240 MHz [48] (30.0 dBm) (passive scanning, no IBSS)
            * 5260 MHz [52] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5280 MHz [56] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5300 MHz [60] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5320 MHz [64] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5500 MHz [100] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5520 MHz [104] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5540 MHz [108] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5560 MHz [112] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5580 MHz [116] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5600 MHz [120] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5620 MHz [124] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5640 MHz [128] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5660 MHz [132] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5680 MHz [136] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5700 MHz [140] (30.0 dBm) (passive scanning, no IBSS, radar detection)
            * 5745 MHz [149] (30.0 dBm) (passive scanning, no IBSS)
            * 5765 MHz [153] (30.0 dBm) (passive scanning, no IBSS)
            * 5785 MHz [157] (30.0 dBm) (passive scanning, no IBSS)
            * 5805 MHz [161] (30.0 dBm) (passive scanning, no IBSS)
            * 5825 MHz [165] (30.0 dBm) (passive scanning, no IBSS)
        Bitrates (non-HT):
            * 6.0 Mbps
            * 9.0 Mbps
            * 12.0 Mbps
            * 18.0 Mbps
            * 24.0 Mbps
            * 36.0 Mbps
            * 48.0 Mbps
            * 54.0 Mbps
    max # scan SSIDs: 4
    Coverage class: 0 (up to 0m)
    Supported interface modes:
         * IBSS
         * managed
         * AP
         * AP/VLAN
         * monitor
         * mesh point
    Supported commands:
         * new_interface
         * set_interface
         * new_key
         * new_beacon
         * new_station
         * new_mpath
         * set_mesh_params
         * set_bss
         * authenticate
         * associate
         * deauthenticate
         * disassociate
         * join_ibss
         * (null)
         * (null)
         * set_wiphy_netns
         * connect
         * disconnect

I think the problem is that the ath9k module is not compiled with the option "Force Atheros drivers to respect the user's regdomain settings". I do not know how to enable it after compilation or if it's possible.

If I build an image, would some other folks be willing to help seed a torrent?

I do not know how to distribute a build on the official website openwrt.org, but if you need to spread out I'll be happy to help seed a torrent.

182 (edited by Etique 2010-02-17 20:58:00)

Re: WNDR3700 exploration

Guys,

I have been watching this thread for over one month now and I just wanted to say a huge thanks to all of you.

As this is the only way I can contribute, I'll make a donation to OpenWRT right away (as soon as I find a link lol... Or I'll donate to nslu2 instead!)

Cheers and respect.

183

Re: WNDR3700 exploration

OK, it seems like there is at least a little bit of interest in an easy-to-use build.

I'll give a try at building a recent image (with "reasonably working" wireless code). I'm going to propose using the following config, with everything built into the image rather than relying on modules, which should make it dead simple to install.

Did I forget anything? We probably can't satisfy everyone with a single build (that's what BuildRoot is for!), but I think this config will address the majority of home DSL/cable users.

CONFIG_HAVE_DOT_CONFIG=y
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_WNDR3700=y
CONFIG_TARGET_BOARD="ar71xx"
CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time"
CONFIG_LINUX_2_6_32=y
CONFIG_DEFAULT_base-files=y
CONFIG_DEFAULT_busybox=y
CONFIG_DEFAULT_dnsmasq=y
CONFIG_DEFAULT_dropbear=y
CONFIG_DEFAULT_firewall=y
CONFIG_DEFAULT_hotplug2=y
CONFIG_DEFAULT_iptables=y
CONFIG_DEFAULT_kmod-ath9k=y
CONFIG_DEFAULT_kmod-button-hotplug=y
CONFIG_DEFAULT_kmod-input-core=y
CONFIG_DEFAULT_kmod-input-gpio-buttons=y
CONFIG_DEFAULT_kmod-input-polldev=y
CONFIG_DEFAULT_kmod-ipt-nathelper=y
CONFIG_DEFAULT_kmod-leds-gpio=y
CONFIG_DEFAULT_kmod-usb-core=y
CONFIG_DEFAULT_kmod-usb2=y
CONFIG_DEFAULT_libc=y
CONFIG_DEFAULT_libgcc=y
CONFIG_DEFAULT_mtd=y
CONFIG_DEFAULT_opkg=y
CONFIG_DEFAULT_ppp=y
CONFIG_DEFAULT_ppp-mod-pppoe=y
CONFIG_DEFAULT_swconfig=y
CONFIG_DEFAULT_uci=y
CONFIG_DEFAULT_ucitrigger=y
CONFIG_DEFAULT_udevtrigger=y
CONFIG_DEFAULT_wpad-mini=y
CONFIG_LINUX_2_6=y
CONFIG_GPIO_SUPPORT=y
CONFIG_PCI_SUPPORT=y
CONFIG_USB_SUPPORT=y
CONFIG_BIG_ENDIAN=y
CONFIG_USES_SQUASHFS=y
CONFIG_USES_JFFS2=y
CONFIG_USES_TGZ=y
CONFIG_mips=y
CONFIG_ARCH="mips"

CONFIG_TARGET_ROOTFS_JFFS2=y
CONFIG_TARGET_ROOTFS_SQUASHFS=y
CONFIG_TARGET_ROOTFS_TGZ=y

CONFIG_X86_GRUB_ROOTPART="/dev/sda2"
CONFIG_X86_GRUB_BOOTOPTS=""
CONFIG_OLPC_BOOTSCRIPT_ROOTPART="/dev/sda2"

CONFIG_LARGEFILE=y
CONFIG_SHADOW_PASSWORDS=y
CONFIG_USE_SSTRIP=y

CONFIG_KERNEL_DEBUG_FS=y
CONFIG_DOWNLOAD_FOLDER=""
CONFIG_AUTOREBUILD=y
CONFIG_BUILD_SUFFIX=""
CONFIG_TARGET_ROOTFS_DIR=""
CONFIG_EXTERNAL_KERNEL_TREE=""
CONFIG_KERNEL_GIT_CLONE_URI=""
CONFIG_KERNEL_GIT_LOCAL_REPOSITORY=""
CONFIG_TARGET_OPTIMIZATION="-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time"
CONFIG_SOFT_FLOAT=y
CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS=""
CONFIG_BINUTILS_VERSION="2.19.1"
CONFIG_GCC_VERSION_4_3_3_CS=y
CONFIG_EXTRA_GCC_CONFIG_OPTIONS=""
CONFIG_INSTALL_LIBSTDCPP=y
CONFIG_USE_UCLIBC=y
CONFIG_GCC_VERSION="4.3.3+cs"
CONFIG_GCC_VERSION_4=y
CONFIG_GCC_VERSION_4_3=y
CONFIG_UCLIBC_VERSION="0.9.30.1"
CONFIG_LIBC="uClibc"
CONFIG_LIBC_VERSION="0.9.30.1"
CONFIG_TARGET_SUFFIX="uclibc"
CONFIG_IMAGEOPT=y
CONFIG_UCI_PRECONFIG_network_lan_dns=""
CONFIG_UCI_PRECONFIG_network_lan_proto="static"
CONFIG_UCI_PRECONFIG_network_lan_gateway=""
CONFIG_UCI_PRECONFIG_network_lan_netmask="255.255.255.0"
CONFIG_UCI_PRECONFIG_network_lan_ipaddr="192.168.1.1"
CONFIG_UCI_PRECONFIG_luci_main_lang="en"
CONFIG_TARGET_PREINIT_SUPPRESS_STDERR=y
CONFIG_TARGET_PREINIT_TIMEOUT=2
CONFIG_TARGET_PREINIT_IFNAME=""
CONFIG_TARGET_PREINIT_IP="192.168.1.1"
CONFIG_TARGET_PREINIT_NETMASK="255.255.255.0"
CONFIG_TARGET_PREINIT_BROADCAST="192.168.1.255"
CONFIG_INITOPT=y
CONFIG_TARGET_INIT_PATH="/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin"
CONFIG_TARGET_INIT_ENV=""
CONFIG_TARGET_INIT_CMD="/sbin/init"
CONFIG_TARGET_INIT_SUPPRESS_STDERR=y

CONFIG_FEATURE_drawing-backend_DirectFB=y

CONFIG_PACKAGE_base-files=y
CONFIG_PACKAGE_busybox=y

CONFIG_BUSYBOX_CONFIG_FEATURE_2_6_MODULES=y
CONFIG_BUSYBOX_CONFIG_HAVE_DOT_CONFIG=y

CONFIG_BUSYBOX_CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
CONFIG_BUSYBOX_CONFIG_SHOW_USAGE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VERBOSE_USAGE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_COMPRESS_USAGE=y
CONFIG_BUSYBOX_CONFIG_LONG_OPTS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_DEVPTS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_PIDFILE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_SUID=y
CONFIG_BUSYBOX_CONFIG_FEATURE_PREFER_APPLETS=y
CONFIG_BUSYBOX_CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
CONFIG_BUSYBOX_CONFIG_FEATURE_SYSLOG=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC=y

CONFIG_BUSYBOX_CONFIG_LFS=y
CONFIG_BUSYBOX_CONFIG_CROSS_COMPILER_PREFIX=""
CONFIG_BUSYBOX_CONFIG_EXTRA_CFLAGS=""

CONFIG_BUSYBOX_CONFIG_NO_DEBUG_LIB=y
CONFIG_BUSYBOX_CONFIG_INCLUDE_SUSv2=y

CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS=y
CONFIG_BUSYBOX_CONFIG_PREFIX="./_install"

CONFIG_BUSYBOX_CONFIG_PASSWORD_MINLEN=6
CONFIG_BUSYBOX_CONFIG_MD5_SIZE_VS_SPEED=2
CONFIG_BUSYBOX_CONFIG_FEATURE_FAST_TOP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING=y
CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_MAX_LEN=512
CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_HISTORY=256
CONFIG_BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION=y
CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_FANCY_PROMPT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_NON_POSIX_CP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_COPYBUF_KB=4
CONFIG_BUSYBOX_CONFIG_IOCTL_HEX2STR_ERROR=y

CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ=y
CONFIG_BUSYBOX_CONFIG_BUNZIP2=y
CONFIG_BUSYBOX_CONFIG_GUNZIP=y
CONFIG_BUSYBOX_CONFIG_GZIP=y
CONFIG_BUSYBOX_CONFIG_TAR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_CREATE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_FROM=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y

CONFIG_BUSYBOX_CONFIG_BASENAME=y
CONFIG_BUSYBOX_CONFIG_CAT=y
CONFIG_BUSYBOX_CONFIG_CHGRP=y
CONFIG_BUSYBOX_CONFIG_CHMOD=y
CONFIG_BUSYBOX_CONFIG_CHOWN=y
CONFIG_BUSYBOX_CONFIG_CHROOT=y
CONFIG_BUSYBOX_CONFIG_CP=y
CONFIG_BUSYBOX_CONFIG_CUT=y
CONFIG_BUSYBOX_CONFIG_DATE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT=y
CONFIG_BUSYBOX_CONFIG_DD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
CONFIG_BUSYBOX_CONFIG_DF=y
CONFIG_BUSYBOX_CONFIG_DIRNAME=y
CONFIG_BUSYBOX_CONFIG_DU=y
CONFIG_BUSYBOX_CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
CONFIG_BUSYBOX_CONFIG_ECHO=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_ECHO=y
CONFIG_BUSYBOX_CONFIG_ENV=y
CONFIG_BUSYBOX_CONFIG_EXPR=y
CONFIG_BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64=y
CONFIG_BUSYBOX_CONFIG_FALSE=y
CONFIG_BUSYBOX_CONFIG_HEAD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_HEAD=y
CONFIG_BUSYBOX_CONFIG_HOSTID=y
CONFIG_BUSYBOX_CONFIG_ID=y
CONFIG_BUSYBOX_CONFIG_LENGTH=y
CONFIG_BUSYBOX_CONFIG_LN=y
CONFIG_BUSYBOX_CONFIG_LS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_FILETYPES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_SORTFILES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_USERNAME=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_COLOR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y
CONFIG_BUSYBOX_CONFIG_MD5SUM=y
CONFIG_BUSYBOX_CONFIG_MKDIR=y
CONFIG_BUSYBOX_CONFIG_MKFIFO=y
CONFIG_BUSYBOX_CONFIG_MKNOD=y
CONFIG_BUSYBOX_CONFIG_MV=y
CONFIG_BUSYBOX_CONFIG_NICE=y
CONFIG_BUSYBOX_CONFIG_PRINTF=y
CONFIG_BUSYBOX_CONFIG_PWD=y
CONFIG_BUSYBOX_CONFIG_RM=y
CONFIG_BUSYBOX_CONFIG_RMDIR=y
CONFIG_BUSYBOX_CONFIG_SEQ=y
CONFIG_BUSYBOX_CONFIG_SLEEP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP=y
CONFIG_BUSYBOX_CONFIG_SORT=y
CONFIG_BUSYBOX_CONFIG_SYNC=y
CONFIG_BUSYBOX_CONFIG_TAIL=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_TAIL=y
CONFIG_BUSYBOX_CONFIG_TEE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
CONFIG_BUSYBOX_CONFIG_TEST=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TEST_64=y
CONFIG_BUSYBOX_CONFIG_TOUCH=y
CONFIG_BUSYBOX_CONFIG_TR=y
CONFIG_BUSYBOX_CONFIG_TRUE=y
CONFIG_BUSYBOX_CONFIG_UNAME=y
CONFIG_BUSYBOX_CONFIG_UNIQ=y
CONFIG_BUSYBOX_CONFIG_WC=y
CONFIG_BUSYBOX_CONFIG_YES=y

CONFIG_BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS=y

CONFIG_BUSYBOX_CONFIG_FEATURE_AUTOWIDTH=y

CONFIG_BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE=y

CONFIG_BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y

CONFIG_BUSYBOX_CONFIG_CLEAR=y
CONFIG_BUSYBOX_CONFIG_RESET=y

CONFIG_BUSYBOX_CONFIG_MKTEMP=y
CONFIG_BUSYBOX_CONFIG_START_STOP_DAEMON=y
CONFIG_BUSYBOX_CONFIG_WHICH=y

CONFIG_BUSYBOX_CONFIG_AWK=y
CONFIG_BUSYBOX_CONFIG_FEATURE_AWK_LIBM=y
CONFIG_BUSYBOX_CONFIG_DIFF=y
CONFIG_BUSYBOX_CONFIG_SED=y
CONFIG_BUSYBOX_CONFIG_VI=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_MAX_LEN=1024
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_COLON=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_YANKMARK=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SEARCH=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_READONLY=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SETOPTS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SET=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC=y

CONFIG_BUSYBOX_CONFIG_FIND=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PRINT0=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PERM=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_TYPE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_XDEV=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_MAXDEPTH=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_EXEC=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_USER=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_GROUP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_NOT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_DEPTH=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PAREN=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_SIZE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PRUNE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PATH=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_REGEX=y
CONFIG_BUSYBOX_CONFIG_GREP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT=y
CONFIG_BUSYBOX_CONFIG_XARGS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y
CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y

CONFIG_BUSYBOX_CONFIG_INIT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_USE_INITTAB=y
CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_SYSLOG=y
CONFIG_BUSYBOX_CONFIG_HALT=y
CONFIG_BUSYBOX_CONFIG_MESG=y

CONFIG_BUSYBOX_CONFIG_PASSWD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_PASSWD_WEAK_CHECK=y

CONFIG_BUSYBOX_CONFIG_INSMOD=y
CONFIG_BUSYBOX_CONFIG_RMMOD=y
CONFIG_BUSYBOX_CONFIG_LSMOD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
CONFIG_BUSYBOX_CONFIG_MODPROBE=y
CONFIG_BUSYBOX_CONFIG_DEPMOD=y

CONFIG_BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
CONFIG_BUSYBOX_CONFIG_DEFAULT_MODULES_DIR="/lib/modules"
CONFIG_BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE="modules.dep"

CONFIG_BUSYBOX_CONFIG_DMESG=y
CONFIG_BUSYBOX_CONFIG_FEATURE_DMESG_PRETTY=y
CONFIG_BUSYBOX_CONFIG_FDISK_SUPPORT_LARGE_DISKS=y
CONFIG_BUSYBOX_CONFIG_HEXDUMP=y
CONFIG_BUSYBOX_CONFIG_HWCLOCK=y
CONFIG_BUSYBOX_CONFIG_VOLUMEID=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_FAT=y
CONFIG_BUSYBOX_CONFIG_MOUNT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_LABEL=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_NFS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_CIFS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FLAGS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB=y
CONFIG_BUSYBOX_CONFIG_PIVOT_ROOT=y
CONFIG_BUSYBOX_CONFIG_RDATE=y
CONFIG_BUSYBOX_CONFIG_SWITCH_ROOT=y
CONFIG_BUSYBOX_CONFIG_UMOUNT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL=y

CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP=y

CONFIG_BUSYBOX_CONFIG_CROND=y
CONFIG_BUSYBOX_CONFIG_FEATURE_CROND_DIR="/var/spool/cron"
CONFIG_BUSYBOX_CONFIG_CRONTAB=y
CONFIG_BUSYBOX_CONFIG_LESS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_MAXLINES=9999999
CONFIG_BUSYBOX_CONFIG_LOCK=y
CONFIG_BUSYBOX_CONFIG_STRINGS=y
CONFIG_BUSYBOX_CONFIG_TIME=y
CONFIG_BUSYBOX_CONFIG_WATCHDOG=y

CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6=y
CONFIG_BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y
CONFIG_BUSYBOX_CONFIG_VERBOSE_RESOLUTION_ERRORS=y
CONFIG_BUSYBOX_CONFIG_ARPING=y
CONFIG_BUSYBOX_CONFIG_BRCTL=y
CONFIG_BUSYBOX_CONFIG_FEATURE_BRCTL_FANCY=y
CONFIG_BUSYBOX_CONFIG_FEATURE_BRCTL_SHOW=y
CONFIG_BUSYBOX_CONFIG_HTTPD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_RANGES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_CGI=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_ERROR_PAGES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_PROXY=y
CONFIG_BUSYBOX_CONFIG_IFCONFIG=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y
CONFIG_BUSYBOX_CONFIG_IP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IP_ADDRESS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IP_LINK=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IP_ROUTE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IP_TUNNEL=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IP_RULE=y
CONFIG_BUSYBOX_CONFIG_NC=y
CONFIG_BUSYBOX_CONFIG_NETMSG=y
CONFIG_BUSYBOX_CONFIG_NETSTAT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_NETSTAT_PRG=y
CONFIG_BUSYBOX_CONFIG_NSLOOKUP=y
CONFIG_BUSYBOX_CONFIG_PING=y
CONFIG_BUSYBOX_CONFIG_PING6=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_PING=y
CONFIG_BUSYBOX_CONFIG_ROUTE=y
CONFIG_BUSYBOX_CONFIG_TELNET=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE=y
CONFIG_BUSYBOX_CONFIG_TELNETD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE=y
CONFIG_BUSYBOX_CONFIG_TRACEROUTE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE=y
CONFIG_BUSYBOX_CONFIG_APP_UDHCPC=y
CONFIG_BUSYBOX_CONFIG_UDHCP_DEBUG=9
CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_RFC3397=y
CONFIG_BUSYBOX_CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
CONFIG_BUSYBOX_CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
CONFIG_BUSYBOX_CONFIG_VCONFIG=y
CONFIG_BUSYBOX_CONFIG_WGET=y
CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION=y
CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS=y
CONFIG_BUSYBOX_CONFIG_TUNCTL=y

CONFIG_BUSYBOX_CONFIG_FREE=y
CONFIG_BUSYBOX_CONFIG_KILL=y
CONFIG_BUSYBOX_CONFIG_KILLALL=y
CONFIG_BUSYBOX_CONFIG_KILLALL5=y
CONFIG_BUSYBOX_CONFIG_PGREP=y
CONFIG_BUSYBOX_CONFIG_PIDOF=y
CONFIG_BUSYBOX_CONFIG_PKILL=y
CONFIG_BUSYBOX_CONFIG_PS=y
CONFIG_BUSYBOX_CONFIG_BB_SYSCTL=y
CONFIG_BUSYBOX_CONFIG_TOP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y
CONFIG_BUSYBOX_CONFIG_UPTIME=y

CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_ASH=y
CONFIG_BUSYBOX_CONFIG_ASH=y
CONFIG_BUSYBOX_CONFIG_ASH_BASH_COMPAT=y
CONFIG_BUSYBOX_CONFIG_ASH_JOB_CONTROL=y
CONFIG_BUSYBOX_CONFIG_ASH_READ_TIMEOUT=y
CONFIG_BUSYBOX_CONFIG_ASH_ALIAS=y
CONFIG_BUSYBOX_CONFIG_ASH_GETOPTS=y
CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_ECHO=y
CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_PRINTF=y
CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_TEST=y
CONFIG_BUSYBOX_CONFIG_ASH_CMDCMD=y
CONFIG_BUSYBOX_CONFIG_ASH_EXPAND_PRMT=y
CONFIG_BUSYBOX_CONFIG_SH_MATH_SUPPORT=y
CONFIG_BUSYBOX_CONFIG_SH_MATH_SUPPORT_64=y

CONFIG_BUSYBOX_CONFIG_SYSLOGD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_REMOTE_LOG=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
CONFIG_BUSYBOX_CONFIG_LOGREAD=y
CONFIG_BUSYBOX_CONFIG_KLOGD=y
CONFIG_BUSYBOX_CONFIG_LOGGER=y
CONFIG_PACKAGE_dnsmasq=y
CONFIG_PACKAGE_dropbear=y
CONFIG_PACKAGE_firewall=y
CONFIG_PACKAGE_hotplug2=y
CONFIG_PACKAGE_libc=y
CONFIG_PACKAGE_libgcc=y
CONFIG_PACKAGE_libpthread=y
CONFIG_PACKAGE_librt=y
CONFIG_PACKAGE_mtd=y
CONFIG_PACKAGE_opkg=y
CONFIG_PACKAGE_swconfig=y
CONFIG_PACKAGE_uci=y
CONFIG_PACKAGE_ucitrigger=y
CONFIG_PACKAGE_udevtrigger=y
CONFIG_PACKAGE_wireless-tools=y

CONFIG_PACKAGE_luci-kamikaze=y

CONFIG_PACKAGE_luci-admin-core=y
CONFIG_PACKAGE_luci-admin-full=y
CONFIG_PACKAGE_luci-admin-mini=y
CONFIG_PACKAGE_luci-app-firewall=y

CONFIG_PACKAGE_luci-cbi=y
CONFIG_PACKAGE_luci-core=y
CONFIG_PACKAGE_luci-core_source=y
CONFIG_PACKAGE_luci-http=y
CONFIG_PACKAGE_luci-ipkg=y
CONFIG_PACKAGE_luci-lmo=y
CONFIG_PACKAGE_luci-lucid=y
CONFIG_PACKAGE_luci-nixio=y
CONFIG_PACKAGE_luci-nixio_axtls=y
CONFIG_PACKAGE_luci-px5g=y
CONFIG_PACKAGE_luci-sgi-cgi=y
CONFIG_PACKAGE_luci-sys=y
CONFIG_PACKAGE_luci-uci=y
CONFIG_PACKAGE_luci-uvl=y
CONFIG_PACKAGE_luci-web=y

CONFIG_PACKAGE_luci-theme-base=y
CONFIG_PACKAGE_luci-theme-openwrt=y

CONFIG_PACKAGE_luci-i18n-english=y

CONFIG_PACKAGE_kmod-scsi-core=y

CONFIG_PACKAGE_kmod-crypto-core=y
CONFIG_PACKAGE_kmod-crypto-aes=y
CONFIG_PACKAGE_kmod-crypto-arc4=y
CONFIG_PACKAGE_kmod-crypto-des=y
CONFIG_PACKAGE_kmod-crypto-hmac=y
CONFIG_PACKAGE_kmod-crypto-md5=y
CONFIG_PACKAGE_kmod-crypto-null=y
CONFIG_PACKAGE_kmod-crypto-sha1=y

CONFIG_PACKAGE_kmod-fs-ext2=y
CONFIG_PACKAGE_kmod-fs-mbcache=y
CONFIG_PACKAGE_kmod-fs-msdos=y
CONFIG_PACKAGE_kmod-fs-vfat=y
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-nls-cp437=y
CONFIG_PACKAGE_kmod-nls-cp850=y
CONFIG_PACKAGE_kmod-nls-iso8859-1=y
CONFIG_PACKAGE_kmod-nls-iso8859-15=y
CONFIG_PACKAGE_kmod-nls-utf8=y

CONFIG_PACKAGE_kmod-ipt-core=y
CONFIG_PACKAGE_kmod-ipt-conntrack=y
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
CONFIG_PACKAGE_kmod-ipt-extra=y
CONFIG_PACKAGE_kmod-ipt-nat=y
CONFIG_PACKAGE_kmod-ipt-nat-extra=y
CONFIG_PACKAGE_kmod-ipt-nathelper=y
CONFIG_PACKAGE_kmod-ipt-nathelper-extra=y

CONFIG_PACKAGE_kmod-gre=y
CONFIG_PACKAGE_kmod-ppp=y
CONFIG_PACKAGE_kmod-pppoe=y

CONFIG_PACKAGE_kmod-button-hotplug=y
CONFIG_PACKAGE_kmod-crc-ccitt=y
CONFIG_PACKAGE_kmod-input-core=y
CONFIG_PACKAGE_kmod-input-gpio-buttons=y
CONFIG_PACKAGE_kmod-input-polldev=y
CONFIG_PACKAGE_kmod-leds-gpio=y
CONFIG_PACKAGE_kmod-leds-wndr3700-usb=y
CONFIG_PACKAGE_kmod-textsearch=y

CONFIG_PACKAGE_kmod-usb-core=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_kmod-usb-uhci=y
CONFIG_PACKAGE_kmod-usb2=y

CONFIG_PACKAGE_kmod-ath=y
CONFIG_ATH_USER_REGD=y
CONFIG_PACKAGE_ATH_DEBUG=y
CONFIG_PACKAGE_kmod-ath9k=y
CONFIG_PACKAGE_ATH9K_DEBUG=y
CONFIG_PACKAGE_kmod-mac80211=y
CONFIG_PACKAGE_MAC80211_DEBUGFS=y

CONFIG_PACKAGE_ntpclient=y

CONFIG_PACKAGE_crda=y
CONFIG_PACKAGE_ez-ipupdate=y
CONFIG_PACKAGE_iptables=y
CONFIG_PACKAGE_iptables-mod-conntrack=y
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
CONFIG_PACKAGE_iptables-mod-extra=y
CONFIG_PACKAGE_iptables-mod-nat=y
CONFIG_PACKAGE_iptables-mod-nat-extra=y
CONFIG_PACKAGE_iptables-utils=y
CONFIG_PACKAGE_iw=y
CONFIG_PACKAGE_ppp=y
CONFIG_PACKAGE_ppp-mod-pppoe=y
CONFIG_PACKAGE_pptp=y
CONFIG_PACKAGE_wpad-mini=y

CONFIG_PACKAGE_libblkid=y
CONFIG_PACKAGE_libext2fs=y
CONFIG_PACKAGE_libuuid=y

CONFIG_PACKAGE_libiptc=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_libnl-tiny=y
CONFIG_PACKAGE_libpcap=y
CONFIG_PACKAGE_libuci=y
CONFIG_PACKAGE_libuci-lua=y
CONFIG_PACKAGE_libusb=y
CONFIG_PACKAGE_libxtables=y

CONFIG_PACKAGE_blkid=y
CONFIG_PACKAGE_e2fsprogs=y

CONFIG_KEXEC_TOOLS_TARGET_NAME="mips"

CONFIG_PACKAGE_lua=y

Re: WNDR3700 exploration

Etique wrote:

As this is the only way I can contribute, I'll make a donation to OpenWRT right away (as soon as I find a link lol... Or I'll donate to nslu2 instead!)

Here you go: https://dev.openwrt.org/wiki/SupportDonate

Regards,
Gabor

185 (edited by essdz 2010-02-18 12:47:54)

Re: WNDR3700 exploration

essdz wrote:

OK, it seems like there is at least a little bit of interest in an easy-to-use build.

I'll give a try at building a recent image (with "reasonably working" wireless code). I'm going to propose using the following config, with everything built into the image rather than relying on modules, which should make it dead simple to install.

All right--here is a torrent for a turnkey OpenWRT .IMG file that you should be able to install using the manufacturer's interface for uploading firmware. This brings up both wireless radios, the LAN and WAN ports, and has fancy blinking lights.

Before you download this, please make sure that you would be comfortable using the TFTP unbrick method (mentioned in the WNDR3700 wiki page) to restore the manufacturer's firmware, in the event that this build does not work for you and/or you wish to go back.

http://linuxtracker.org/index.php?page= … 534c9bb4e5

This was built with the config I specified a few messages above, using trunk revision 19642. The only changes compared to the trunk should be:

1) it includes the LED patches mentioned from a few messages ago, and

2) the mac80211 scripts were tweaked slightly so that the wireless interface is brought up on first boot (rather than being disabled, as it is by default). The wireless radios will be configured for the USA regulatory domain, so if you happen to live in another country, you should quickly telnet into 192.168.1.1 and edit /etc/config/wireless, adjust the country settings for both radios, and then run "wifi" to restart the wireless interface.

Please let me know how this works, either way! (Thanks go to all of the people on the thread who are already seeding this image.)

186

Re: WNDR3700 exploration

Hello,

Not tested yet (I'd like to build a image including a dns server with views capabilities) but I'm seeding your image on a 100mb box so you can stop seeding when you want on your side.

Re: WNDR3700 exploration

Works great wink I still have to get 300mbps working though...

I wonder why I'm having problems with luci network settings on my own firmware. Here it works perfectly, but with mine, the pages never load...

188 (edited by kamzata 2010-02-18 22:30:14)

Re: WNDR3700 exploration

essdz wrote:
essdz wrote:

OK, it seems like there is at least a little bit of interest in an easy-to-use build.

I'll give a try at building a recent image (with "reasonably working" wireless code). I'm going to propose using the following config, with everything built into the image rather than relying on modules, which should make it dead simple to install.

All right--here is a torrent for a turnkey OpenWRT .IMG file that you should be able to install using the manufacturer's interface for uploading firmware. This brings up both wireless radios, the LAN and WAN ports, and has fancy blinking lights.

Before you download this, please make sure that you would be comfortable using the TFTP unbrick method (mentioned in the WNDR3700 wiki page) to restore the manufacturer's firmware, in the event that this build does not work for you and/or you wish to go back.

http://linuxtracker.org/index.php?page= … 534c9bb4e5

This was built with the config I specified a few messages above, using trunk revision 19642. The only changes compared to the trunk should be:

1) it includes the LED patches mentioned from a few messages ago, and

2) the mac80211 scripts were tweaked slightly so that the wireless interface is brought up on first boot (rather than being disabled, as it is by default). The wireless radios will be configured for the USA regulatory domain, so if you happen to live in another country, you should quickly telnet into 192.168.1.1 and edit /etc/config/wireless, adjust the country settings for both radios, and then run "wifi" to restart the wireless interface.

Please let me know how this works, either way! (Thanks go to all of the people on the thread who are already seeding this image.)

Can you share "sysupgrade" version?

And... how can I flash original firmware from OpenWRT? I've tried this but it doesn't work.

189

Re: WNDR3700 exploration

essdz wrote:

All right--here is a torrent for a turnkey OpenWRT .IMG file that you should be able to install using the manufacturer's interface for uploading firmware. This brings up both wireless radios, the LAN and WAN ports, and has fancy blinking lights.

kamzata wrote:

Can you share "sysupgrade" version?

And... how can I flash original firmware from OpenWRT? I've tried this but it doesn't work.

PM me and I can email a copy of the sysupgrade version to you. I didn't bother seeding it because I figured there wouldn't be a lot of interest. (After all, if you're already running OpenWRT on the device...)

As for restoring the manufacturer's firmware, there is probably a faster way to do it using MTD (perhaps involving stripping some junk off the mfgr's firmware files), but you can definitely flash back to the factory firmware by following the steps listed here:

http://wiki.openwrt.org/inbox/netgear/wndr3700#uh.oh.i.bricked.my.router.optional

Re: WNDR3700 exploration

hi all,

I installed successfully the last revision of openwrt on my wndr3700 and it works beautifully (great work thanks!)

I noticed however that there is no rtc support, I don't even know if the router has a rtc. For now I'm using ntpd which syncs with a time server every reboot

I wanted to know if I could compile in some kernel option to get a working rtc

thank you!

Re: WNDR3700 exploration

essdz wrote:
essdz wrote:

All right--here is a torrent for a turnkey OpenWRT .IMG file that you should be able to install using the manufacturer's interface for uploading firmware. This brings up both wireless radios, the LAN and WAN ports, and has fancy blinking lights.

kamzata wrote:

Can you share "sysupgrade" version?

And... how can I flash original firmware from OpenWRT? I've tried this but it doesn't work.

PM me and I can email a copy of the sysupgrade version to you. I didn't bother seeding it because I figured there wouldn't be a lot of interest. (After all, if you're already running OpenWRT on the device...)

As for restoring the manufacturer's firmware, there is probably a faster way to do it using MTD (perhaps involving stripping some junk off the mfgr's firmware files), but you can definitely flash back to the factory firmware by following the steps listed here:

http://wiki.openwrt.org/inbox/netgear/wndr3700#uh.oh.i.bricked.my.router.optional

I don't understand 8 step. I've Windows TFTP installed (on Windows 7) but how should I use it?

http://img251.imageshack.us/img251/310/18140838.png

192

Re: WNDR3700 exploration

Is it possible to use just something like Tftpd32 in windows to upload firmware?

Re: WNDR3700 exploration

This works every time:

- plug the PC into LAN port 1
- set the pc to a static IP of 192.168.1.2
- power on the router
- press and hold the RESET button as soon as the switch LEDs light up.
- keep holding RESET until the power LED begins to flash orange and then green.
- once the power LED is flashing green, release RESET and enter the following on the PC:

tftp -i 192.168.1.1 PUT <filename>

(replacing <filename> with your firmware image, of course.)

The TFTP transfer will happen VERY quickly. This is because the image is stored in RAM before flashing. Unless you can access the serial console, the router gives no indication it is now writing the image. What you can do is try to TFTP it again. If TFTP now fails, that's good, the router is busy flashing the image. If TFTP works, the router refused to flash the previous image.

After a good 5 minutes or so, the power light will turn solid orange. The router should now be booting into the image.

Re: WNDR3700 exploration

I wonder if anybody has been able to get HT40 modes working on the WNDR3700. I seem to be stuck at 130Mbit/s with Short-GI and HT40 non operational even when set in wireless config.
Would be nice if other people could test if it works and report back.

  --Markus

195 (edited by gulikoza 2010-02-19 22:41:46)

Re: WNDR3700 exploration

Yes, I managed to get it to work after some country and wireless tweaking. I get 270Mbps association (on a 5GHz channel) in the next room, transfer rate is about 4MB/s (netgear firmware managed about 6.5MB/s)

Re: WNDR3700 exploration

HT40+ on channel 36 (the default) works with my MacBook. 300Mbps assocation

Re: WNDR3700 exploration

Is anyone else having problems with the tracker site timing out?

Thanks

Re: WNDR3700 exploration

I have problems, it drops my connection sad

Re: WNDR3700 exploration

CoyoteDen wrote:

This works every time:

- plug the PC into LAN port 1
- set the pc to a static IP of 192.168.1.2
- power on the router
- press and hold the RESET button as soon as the switch LEDs light up.
- keep holding RESET until the power LED begins to flash orange and then green.
- once the power LED is flashing green, release RESET and enter the following on the PC:

tftp -i 192.168.1.1 PUT <filename>

(replacing <filename> with your firmware image, of course.)

The TFTP transfer will happen VERY quickly. This is because the image is stored in RAM before flashing. Unless you can access the serial console, the router gives no indication it is now writing the image. What you can do is try to TFTP it again. If TFTP now fails, that's good, the router is busy flashing the image. If TFTP works, the router refused to flash the previous image.

After a good 5 minutes or so, the power light will turn solid orange. The router should now be booting into the image.

This is I recieve:

http://img638.imageshack.us/img638/6285/11372208.png

How can I do?

Re: WNDR3700 exploration

For kamzata, i have followed this step for reflashing my wndr3700 router after a brick and now it work perfect:

-   power down the router
-   set your IP to 192.168.1.2 (the same class of the router)
-   press and hold the RESET button for about 2 min
-   until you see the power LED become orange and start blinking
-   release connect you PC to a LAN port of the router
-   from the command prompt type "tftp -i 192.168.1.1 PUT <filename>"