OpenWrt Forum Archive

Topic: Fully featured OpenWrt build for the WNDR3700 (NO LONGER MAINTAINED)

The content of this topic has been archived between 13 Apr 2013 and 6 May 2018. Unfortunately there are posts – most likely complete pages – missing.

I shall try to follow the guide in http://wiki.openwrt.org/doc/howto/extroot to set up extroot, so that I can install more packages.

If I have difficulties with it or questions, is this thread the right place to ask them, or would you rather have me posting in a separate thread?

I use extroot in case you need help.

I've discovered an issue with LuCI (affects most recent trunk builds):

Enabling the green WAN LED in LuCI (System -> LED Configuration) causes the USB LED to permanently disable irregardless if you reverse the changes in LuCI.

However, if you change the 'default' option setting in /etc/config/system from 0 to 1 under 'wan_led', the LED changes appropriately and the USB LED is not affected.

I believe that LuCI is incorrectly adding a 'default' option to 'usb_led', like so:

config 'led' 'wan_led'
        option 'sysfs' 'wndr3700:green:wan'
        option 'name' 'WAN LED (green)'
        option 'default' '1'

config 'led' 'usb_led'
        option 'name' 'USB'
        option 'sysfs' 'wndr3700:green:usb'
        option 'trigger' 'usbdev'
        option 'dev' '1-1'
        option 'interval' '50'
        option 'default' '0' # should not be here!

By default, the default option in usb_led does not exist. Can anyone else reproduce this?

(Last edited by got_milk on 24 Jan 2011, 00:48)

Hello all, I just arrived here from the Netgear fiasco. I must say this is a very very fine firmware you have built sir. I have removed your custom 222 redirect and I also changed the default wan firewall from "reject" to "drop". All ports are stealth now according to Shields up.
I must ask if this rule is needed, what is it for?

IPv4 only  
UDP  
wan:0.0.0.0/0:*  
Device:0.0.0.0/0:68  
accept

I believe that is for DHCP or dns.

And I did the same changes as you + changing the ICMP-rule to drop and shields up says Im completely stealth smile

got_milk: try checking the "Default state" option in the ui, it should set "option default" to "1"

I want to say some some words of support to the idea of including accel-pptp in the build: there is a huge amount of providers in ex-USSR region that provide internet connection via pptp and hence a huge number of people suffering from that. I have 100 Mb/s connection, but my Netgear 3700 cuts the channel to 20-24 Mb/s when I use openwrt with default pptp client. As it was said already, accel-pptp is fully compatible (there are some openwrt builds with accel-pptp included, unfortunately, not for wndr3700) and provides 3-5 times speed gain. Obviously, accel-pptp inclusion into the build will make the build really valuable for all the guys who are using pptp. Hope you'll consider this when you'll have a time.

jow wrote:

got_milk: try checking the "Default state" option in the ui, it should set "option default" to "1"

It does do that but the USB LED light still turns off and remains off. I can only get the USB LED to work as intended if I remove the "option default" line from /etc/config/system. Both 0 and 1 with that setting produce the same result - no LED at all.

Is it just me or leads running "netio -s" directly on the router to unreliable results?

G 2,4GHz 40MHz Channel 4, HT40+, running netio -s on WNDR3700 router and netio -t on Laptop (Win7 64bit, Intel Wifi Link 5300) distance of 20feets

I obtain

TCP connection established.
Packet size  1k bytes:  3396.70 KByte/s Tx,  8112.94 KByte/s Rx.
Packet size  2k bytes:  3298.02 KByte/s Tx,  8996.29 KByte/s Rx.
Packet size  4k bytes:  3310.89 KByte/s Tx,  8394.06 KByte/s Rx.
Packet size  8k bytes:  3350.48 KByte/s Tx,  9391.06 KByte/s Rx.
Packet size 16k bytes:  3426.79 KByte/s Tx,  8079.38 KByte/s Rx.
Packet size 32k bytes:  3188.34 KByte/s Tx,  9000.88 KByte/s Rx.
Done.

very close to the router (6 feets)

Packet size  1k bytes:  3973.91 KByte/s Tx,  10.06 MByte/s Rx.
Packet size  2k bytes:  4187.24 KByte/s Tx,  10.44 MByte/s Rx.
Packet size  4k bytes:  4173.92 KByte/s Tx,  10.82 MByte/s Rx.
Packet size  8k bytes:  4176.71 KByte/s Tx,  10.13 MByte/s Rx.
Packet size 16k bytes:  4332.23 KByte/s Tx,  10.38 MByte/s Rx.
Packet size 32k bytes:  4347.95 KByte/s Tx,  9940.31 KByte/s Rx.
Done.

however running the netio server on a Gbit wire connected computer and using the same client the results change:

TCP connection established.
Packet size  1k bytes:  4720.70 KByte/s Tx,  6622.10 KByte/s Rx.
Packet size  2k bytes:  5102.82 KByte/s Tx,  7138.99 KByte/s Rx.
Packet size  4k bytes:  5286.17 KByte/s Tx,  6797.29 KByte/s Rx.
Packet size  8k bytes:  5035.18 KByte/s Tx,  7907.19 KByte/s Rx.
Packet size 16k bytes:  5026.45 KByte/s Tx,  7147.51 KByte/s Rx.
Packet size 32k bytes:  5523.43 KByte/s Tx,  7240.45 KByte/s Rx.
Done.

The gap between the TX and Rx rate is a lot closer, but overall Rx is much lower too.

very close to the router (6 feets)

TCP connection established.
Packet size  1k bytes:  10.71 MByte/s Tx,  9.54 MByte/s Rx.
Packet size  2k bytes:  13.53 MByte/s Tx,  9769.77 KByte/s Rx.
Packet size  4k bytes:  13.37 MByte/s Tx,  6171.75 KByte/s Rx.
Packet size  8k bytes:  13.73 MByte/s Tx,  10.53 MByte/s Rx.
Packet size 16k bytes:  10.53 MByte/s Tx,  8468.86 KByte/s Rx.
Packet size 32k bytes:  12.77 MByte/s Tx,  9186.46 KByte/s Rx.
Done.

Now the Tx rate is a lot higher, kinda strange why does the distance affect the Tx rate so extremly but the Rx rate only moderately?

now the netio server running on the Laptop client (with the Intel wifi link 5300 card), and the client is the Gbit computer

TCP connection established.
Packet size  1k bytes:  4229.33 KByte/s Tx,  3457.96 KByte/s Rx.
Packet size  2k bytes:  10155.11 KByte/s Tx,  3672.56 KByte/s Rx.
Packet size  4k bytes:  10.31 MByte/s Tx,  4010.57 KByte/s Rx.
Packet size  8k bytes:  9468.00 KByte/s Tx,  4066.27 KByte/s Rx.
Packet size 16k bytes:  10.11 MByte/s Tx,  3835.62 KByte/s Rx.
Packet size 32k bytes:  10.59 MByte/s Tx,  3839.10 KByte/s Rx.
Done.

this is the output from the Gbit client, so the results must be reversed and again the Tx values are extremely low (Rx for the Gbit client, but Tx for the Wireless client running the netio server, I hope its not too confusing wink).


So I did a "reality test" with a FTP file transfer (still 2,4 GHz network) (20 feets)

ftp server running on the Gbit client

download ->7.5 MB/s
upload/send -> 6.1 MB/s

ftp server running on the WNDR3700 router (pure-ftp)

download -> 6.6 MB/s
upload -> 3.1 MB/s

Does the hardware of the router restrict? (regarding the ftp transfer I would say it could be the filesystem, but netio delivers nearly the same results), and CPU load was never above 50%.

Has anybody an idea why the results for the Gbit client and the router differ so much? even If I run the netio server on the wireless client again I obtain the same bad Tx results, makes not much sense to me? (sry for the long post but I didn't want to leave out important information).

(Last edited by redcow on 25 Jan 2011, 01:10)

from gbit client

2.4GHZ channel 13 40HT-

NETIO - Network Throughput Benchmark, Version 1.31
(C) 1997-2010 Kai Uwe Rommel

TCP connection established.
Packet size  1k bytes:  8978.17 KByte/s Tx,  6903.69 KByte/s Rx.
Packet size  2k bytes:  8967.00 KByte/s Tx,  8031.42 KByte/s Rx.
Packet size  4k bytes:  9509.17 KByte/s Tx,  7278.97 KByte/s Rx.
Packet size  8k bytes:  9772.00 KByte/s Tx,  8444.35 KByte/s Rx.
Packet size 16k bytes:  9829.87 KByte/s Tx,  8056.49 KByte/s Rx.
Packet size 32k bytes:  9854.10 KByte/s Tx,  7532.19 KByte/s Rx.
Done.

from router

NETIO - Network Throughput Benchmark, Version 1.31
(C) 1997-2010 Kai Uwe Rommel

TCP connection established.
Packet size  1k bytes:  4782.22 KByte/s Tx,  8996.73 KByte/s Rx.
Packet size  2k bytes:  4766.67 KByte/s Tx,  8458.74 KByte/s Rx.
Packet size  4k bytes:  4773.89 KByte/s Tx,  8602.33 KByte/s Rx.
Packet size  8k bytes:  4709.90 KByte/s Tx,  8551.16 KByte/s Rx.
Packet size 16k bytes:  4748.56 KByte/s Tx,  8128.60 KByte/s Rx.
Packet size 32k bytes:  4639.10 KByte/s Tx,  8528.61 KByte/s Rx.
Done.

5GHZ channel 44 40HT+

gbit client

NETIO - Network Throughput Benchmark, Version 1.31
(C) 1997-2010 Kai Uwe Rommel

TCP connection established.
Packet size  1k bytes:  11.22 MByte/s Tx,  5575.35 KByte/s Rx.
Packet size  2k bytes:  12.24 MByte/s Tx,  4745.14 KByte/s Rx.
Packet size  4k bytes:  13.55 MByte/s Tx,  6785.10 KByte/s Rx.
Packet size  8k bytes:  13.55 MByte/s Tx,  6626.74 KByte/s Rx.
Packet size 16k bytes:  14.88 MByte/s Tx,  6570.09 KByte/s Rx.
Packet size 32k bytes:  13.14 MByte/s Tx,  6976.68 KByte/s Rx.
Done.

router

NETIO - Network Throughput Benchmark, Version 1.31
(C) 1997-2010 Kai Uwe Rommel

TCP connection established.
Packet size  1k bytes:  5151.33 KByte/s Tx,  6588.42 KByte/s Rx.
Packet size  2k bytes:  5384.91 KByte/s Tx,  6665.79 KByte/s Rx.
Packet size  4k bytes:  5784.00 KByte/s Tx,  6510.78 KByte/s Rx.
Packet size  8k bytes:  5165.62 KByte/s Tx,  6562.17 KByte/s Rx.
Packet size 16k bytes:  5377.79 KByte/s Tx,  6019.21 KByte/s Rx.
Packet size 32k bytes:  5321.59 KByte/s Tx,  6810.62 KByte/s Rx.
Done.

(Last edited by abolition on 25 Jan 2011, 19:49)

I've installed this firmware with an external HD attached.  All has been working OK but I now cannot add a new firewall rule, either via the LUCI web interface or by directly editing the /etc/config/firewall file with vi.

What do I need to check?  LUCI shows OpenWrt  Kamikaze (r24729).

fastbike wrote:

I've installed this firmware with an external HD attached.  All has been working OK but I now cannot add a new firewall rule, either via the LUCI web interface or by directly editing the /etc/config/firewall file with vi.

What do I need to check?  LUCI shows OpenWrt  Kamikaze (r24729).

That release is a little older than what I am using. Go back to page 1 of this thread and click on the first link marked as daily builds and grab his latest sysupgrade dated today.

My question to the builder is that my build is from Jan.23, I understand that I can sysupgrade to today's build and it should retain my current settings but can I install the latest .img so I can start off fresh and reconfigure my settings?

If you want to start fresh, put the router in recovery mode and TFTP the .img to the router. When it completes flashing, restory factory defaults. I think that's as fresh as you can get.

interesting?

Revision 25115, 5.6 KB (checked in by nbd, 42 minutes ago)
ath9k: optimize memory allocations - improves performance and reduces ath9k RAM usage by 2 MB per device

@abolition thanks for the test, so its definitely the router that messes up the netio Tx statistic.

a lot of wireless stuff was committed today, neverless speaking in netio statistic for me there is no change in performance  (using trunk r25116).

[edit]

actually there is a difference, the Tx rate is more stable and 0.5-1MB/s higher than before.

[/edit]

(Last edited by redcow on 26 Jan 2011, 22:01)

@erikk1

When you flash with TFTP the JFFS2 partition is erased, so you don't need to reset to factory after that.

@absolition

Yeah, there's been a fair amount of updates that should benefit this router today. New wireless drivers, improved memory allocation, mac80211 mac address filtering are some of the changes I spotted in the changelog. The daily build is finished in an hour or so smile

erikk1 wrote:

If you want to start fresh, put the router in recovery mode and TFTP the .img to the router. When it completes flashing, restory factory defaults. I think that's as fresh as you can get.

I was under the impression after reading 1 of these pages that the tftp was only to go back to Netgear stock and it wouldn't accept any other firmware, it will issue an error code. I cannot find in Luci and option to reset defaults. Were u speaking of Netgear stock or this build? I just want to load up to the latest build here and redo my settings.

TFTP the .img to the router just like he said. It will reset all OpenWrt settings you have modified.

New build is out, now also for V2 smile

(Last edited by arokh on 27 Jan 2011, 03:09)

Hello everybody! I joined OpenWRT just few days ago - flashed my WNDR3700 from factory SW to image made by Arokh. I have made basic settings, attached USB disk and so far everything works fine. Could someone help me to start ctorrent, please? As I see ctorrent is included already in this image but what are steps to start it? Should I start ctorrent from command line or there are some web interface? Do I need to create directories on USB disk manually before I can start ctorrent? Is web interface for ctorrent included or I should install it? If I want to install some additional SW how can I check that there is enough free space?

Thanks Arokh for great job! You give the chance to taste OpenWRT also for me and many others.
Sorry if my questions are stupid but this is completely new for me and I try to learn as fast as I can.

Hi arokh!
how are you?
I have a little gift for you big_smile
I found a way to do inotify working on minidlna.
You have to change options on minidlna to not execute it as daemon.
So, this is my init script of minidlna:

#!/bin/sh /etc/rc.common
# Copyright (C) 2010 OpenWrt.org
#edited by coatto87 <coatto87@gmail.com> - inotify now working on minidlna 

START=50

start() {
    minidlna -R -d &

}

stop() {
    killall -9 minidlna

}

I tested it on my build and it works like a charm.

Regards

@jda

Unless you install a web interface for it, yes you need to use the command line. Google for the docs which explain all your questions.

@coatto87

I'm good, and you? smile Great find! Made the change to my tree, next build will have inotify smile

@arokh   bravo (applauding)  I've been sratching around with the Netgear firmware for nearly 2 years, and you have succeeded where both vendor and other homebrew products have repeatedly failed.   This should be the standard software with the router.  I had some funky things happen with bringing up the wireless interfaces and iptables- but I think they're issues with the modules rather than your build.

Is there a comment changelog for the daily builds (like the entries on the 1st page).  I can see the info in the .diff file, but its not always obvious if there is any significant change of behavior

(Last edited by Dickie on 27 Jan 2011, 17:23)

@arokh

Cool, as soon as i am home (1h or so) will test the new build and the speed tests, lets hope they have improved the Rx, I see too many Tx fixes, but i already get 13-15MB TX on 5GHz vs 6MB Rx.

Edit:

For me its slower both tx and rx.

(Last edited by abolition on 27 Jan 2011, 18:39)

I have bought the WNDR3700 v2 today and want to flash it with OpenWRT and the "arokh" build. I know I must download the img and upload them through the webinterface. But I don't know If I can download the arokh files and upload them, or must I first install the latest OpenWRT img before I can update it to the arokh build? Can someone explain me which steps what I must do? Which image or images I must download and which steps must be taken to get the latest OpenWRT and arokh build? I don't know the difference of the files when I see the directory listing: http://enduser.subsignal.org/~trondah/ Thanks for the comment.

Sorry, posts 426 to 425 are missing from our archive.