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.

Rayures wrote:

Nice big_smile

which version and revision of the WNDR3700 do you have?

Mine i bought it as being WNDR37AV, but firmware wise and hardware wise its a WNDR3700v1. I am not sure I can see whats the revision number.

The fact that everyone has higher RX has me puzzled, because thats download speed, I get extreme high upload speed and extreme low download speed...


I tested with a windows XP machine that has a intel 5300AGN.

Testing on 2.4GHZ reports TX of 13MB and RX of 7.5MB, I assumed TX would be higher than in the mac since it connects at 300mbps vs 130mbps.

However in 5GHZ the TX was about 13 MB (lower than in mac) and RX was 2.5MB (way lower than in mac).

Im thinking about restoring to original firmware and then updating back with the latest build from arokh to see if that fixes my RX issues since I have been using the sysupgrade feature of the router and i am not sure if that could have affected the RX performance...

(Last edited by abolition on 18 Jan 2011, 12:26)

Borromini wrote:

For reference, and as a follow-up to Rayure's post:

$ netio -t zeus

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

TCP connection established.
Packet size  1k bytes:  5361.67 KByte/s Tx,  14.94 MByte/s Rx.
Packet size  2k bytes:  5656.33 KByte/s Tx,  15.88 MByte/s Rx.
Packet size  4k bytes:  5554.00 KByte/s Tx,  14.87 MByte/s Rx.
Packet size  8k bytes:  5312.00 KByte/s Tx,  15.80 MByte/s Rx.
Packet size 16k bytes:  5515.46 KByte/s Tx,  15.49 MByte/s Rx.
Packet size 32k bytes:  5450.52 KByte/s Tx,  15.18 MByte/s Rx.
$ iperf -c zeus
------------------------------------------------------------
Client connecting to zeus, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 10.0.0.5 port 41798 connected with 10.0.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  53.6 MBytes  44.9 Mbits/sec

Backfire r24999 (so not trunk) 5 GHz, HT40+, channel 44. One brick wall in between, router's wall-mounted. No clue where the Rx/Tx discrepancy comes from. Netio/iperf server run on the router, client on a laptop with an IPW4965 card, kernel 2.6.37, no compat-wireless on the client, just the stock kernel driver.

With the netio server on a gigabit client (and the netio client still on my laptop) Rx and Tx are closer to one another:

$ netio -t arethusa

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

TCP connection established.
Packet size  1k bytes:  11.79 MByte/s Tx,  12.64 MByte/s Rx.
Packet size  2k bytes:  11.25 MByte/s Tx,  14.70 MByte/s Rx.
Packet size  4k bytes:  10.86 MByte/s Tx,  11.85 MByte/s Rx.
Packet size  8k bytes:  10.01 MByte/s Tx,  14.87 MByte/s Rx.
Packet size 16k bytes:  9848.00 KByte/s Tx,  14.73 MByte/s Rx.
Packet size 32k bytes:  10.36 MByte/s Tx,  14.92 MByte/s Rx.
Done.

Can you share that backfire image you are using? I am curious as to how you get 2.5x the RX speed i get and if its firmware related.

abolition wrote:

Can you share that backfire image you are using? I am curious as to how you get 2.5x the RX speed i get and if its firmware related.

I think it can be found on his website.
http://nauseamedialis.org/downloads

I just added the r24999 images (only squashfs, I deleted the rest, sorry). If you need jffs I can run another build for r24999 but you'll have to wait a bit. The netio package can be found at the link above as well.

Laptop is 3m from the router (wall-mounted, the brick wall is in between the router and the laptop), distance matters as well, and of course the channel you pick makes a difference too. I tried the upper 5 GHz range last night and it was disctinctly worse than 44 HT40+ for me. I'm using Backfire whereas Rayures and arokh build from trunk, that might make a difference as well.

Server and client OSes are both Linux by the way (kernel 2.6.36 on the desktop, which acted as a netio server, and 2.6.37 on the laptop).

(Last edited by Borromini on 18 Jan 2011, 14:08)

Im gonna have to try that tongue its bs i get more RX on 2.4GHZ than in 5GHZ when i can only link at half the speed xD

Can't believe how spoiled I have become in this short amount of time. Im almost dissappointed when there's no new Arokh build for 2 days tongue haha.

Everything works so much better with Openwrt than Netgear-firmware: No connection drops/timeouts. Wifi connects very quickly. Dhcp-server works 100x better. The wifi-speeds are not as good as stock, but still very acceptable.

You can tftp the openwrt factory.img images directly. I've done this several times.

I tried to install an USB printer, but when installing kmod-usb-printer I get the following messages in dmesg:

usblp: Unknown symbol kmem_cache_alloc
usblp: Unknown symbol __kmalloc
usblp: Unknown symbol kmalloc_caches

Anyone an idea what's wrong?

Everything else works very good! Thanks for supplying these builds arokh.

So I put the factory firmware and these are my resulsts


5GHZ


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

TCP connection established.
Packet size  1k bytes:  15.83 MByte/s Tx,  6228.52 KByte/s Rx.
Packet size  2k bytes:  15.85 MByte/s Tx,  6244.72 KByte/s Rx.
Packet size  4k bytes:  17.20 MByte/s Tx,  6192.17 KByte/s Rx.
Packet size  8k bytes:  17.43 MByte/s Tx,  6455.75 KByte/s Rx.
Packet size 16k bytes:  17.67 MByte/s Tx,  6318.71 KByte/s Rx.
Packet size 32k bytes:  17.60 MByte/s Tx,  6180.65 KByte/s Rx.
Done.

2.4GHZ


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

TCP connection established.
Packet size  1k bytes:  8202.99 KByte/s Tx,  9108.38 KByte/s Rx.
Packet size  2k bytes:  7113.67 KByte/s Tx,  9165.45 KByte/s Rx.
Packet size  4k bytes:  8897.89 KByte/s Tx,  9458.29 KByte/s Rx.
Packet size  8k bytes:  7986.87 KByte/s Tx,  9464.89 KByte/s Rx.
Packet size 16k bytes:  8805.13 KByte/s Tx,  9541.60 KByte/s Rx.
Packet size 32k bytes:  7697.34 KByte/s Tx,  9634.85 KByte/s Rx.
Done.

Result shows that there is a huge increase in RX in 2.4GHZ and a smaller one on 5GHZ, gonna try now the backfire image.

EDIT:

Performance with backfire:

2.4GHZ


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

TCP connection established.
Packet size  1k bytes:  7506.50 KByte/s Tx,  7191.59 KByte/s Rx.
Packet size  2k bytes:  7175.33 KByte/s Tx,  8416.34 KByte/s Rx.
Packet size  4k bytes:  8932.00 KByte/s Tx,  8824.46 KByte/s Rx.
Packet size  8k bytes:  9166.67 KByte/s Tx,  9030.09 KByte/s Rx.
Packet size 16k bytes:  9200.00 KByte/s Tx,  8923.43 KByte/s Rx.
Packet size 32k bytes:  9278.21 KByte/s Tx,  8951.43 KByte/s Rx.
Done.


5GHZ


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

TCP connection established.
Packet size  1k bytes:  13.31 MByte/s Tx,  7664.38 KByte/s Rx.
Packet size  2k bytes:  15.18 MByte/s Tx,  7811.78 KByte/s Rx.
Packet size  4k bytes:  16.72 MByte/s Tx,  7177.77 KByte/s Rx.
Packet size  8k bytes:  17.32 MByte/s Tx,  7788.37 KByte/s Rx.
Packet size 16k bytes:  17.57 MByte/s Tx,  8324.77 KByte/s Rx.
Packet size 32k bytes:  17.81 MByte/s Tx,  7999.21 KByte/s Rx.
Done.

(Last edited by abolition on 18 Jan 2011, 19:57)

Please use [ code ] tags, that improves readability.

So the results above are with the Netgear stock firmware?

Borromini wrote:

Please use [ code ] tags, that improves readability.

So the results above are with the Netgear stock firmware?

Yes,

And real life performance I get about 55-65 mbit on speedtest with stock firmware, 71-75 with backfire.


I will do a tftp upload now of arokh's image to test again.

(Last edited by abolition on 18 Jan 2011, 20:01)

I was trying to use the guide at http://sebastian-bauer.ws/en/2010/12/28/wake-on-wan-mit-openwrt.html to be able to have ports forwarded to 192.168.1.254 be broadcasted to all connected lan-devices. But when I start the new service I made, it says:

/etc/rc.common: line 78: ip: not found

This is the code in the service:

#!/bin/sh /etc/rc.common

START=10
STOP=15

start() {
  ip neigh change 192.168.1.254 lladdr FF:FF:FF:FF:FF:FF nud permanent dev br-lan
  ip neigh add 192.168.1.254 lladdr FF:FF:FF:FF:FF:FF nud permanent dev br-lan
}

stop() {
  ip neigh del 192.168.1.254 lladdr FF:FF:FF:FF:FF:FF nud permanent dev br-lan

Anybody know why?

Edit: I installed net-tools-arp and now I can use: ARP -s - Add static entry to the ARP cache table. Syntax: "arp -s (ip address) (mac address)"

In my case: /overlay/usr/bin/arp -s 192.168.1.254 FF:FF:FF:FF:FF:FF

Now I forward UDP port 9 to 192.168.1.254 and can wake up any pc through WOL from the internet, as long as I know its mac-address. I must however make sure that no pc will actually use the 192.168.1.254 ip-address wink

(Last edited by erikk1 on 18 Jan 2011, 21:33)

You need iproute2 installed.

Edit: on my laptop, ip is provided by iproute2, but it turns out to be split out/a separate package on OpenWrt.

(Last edited by Borromini on 18 Jan 2011, 21:07)

You need to install "ip" with opkg

jovazwa wrote:

I tried to install an USB printer, but when installing kmod-usb-printer I get the following messages in dmesg:

usblp: Unknown symbol kmem_cache_alloc
usblp: Unknown symbol __kmalloc
usblp: Unknown symbol kmalloc_caches

Anyone an idea what's wrong?

Everything else works very good! Thanks for supplying these builds arokh.

yeah the kernel module and used kernel does not match because the kernel module package you want to use (kmod-usb-printer) is from trunk feeds, hence newer than the kernel, in order to solve it you have to use older matching kernel modules or create your own kernel+package.

arokh, maybe it should be more clear in the description in the opening post that port 222 on wan exposes ssh by default? It says so in the changelog already, but not in the description in the top. Especially without a password set, this might be quiete a security risk.

Edit: Jow, thanks for that info!

Edit2:
Arokh build january 16. Wifi 5Ghz, Country NL, channel 44 + 48 (40MHz) at 16dBm, netio 1.31.
Server: gigabit connected ion + dual-core atom pc.
Client: intel culv with Intel5100 wifi.

Packet size  1k bytes:  6724.45 KByte/s Tx,  7363.99 KByte/s Rx.
Packet size  2k bytes:  7274.16 KByte/s Tx,  8348.03 KByte/s Rx.
Packet size  4k bytes:  7350.77 KByte/s Tx,  9097.56 KByte/s Rx.
Packet size  8k bytes:  7690.18 KByte/s Tx,  9303.70 KByte/s Rx.
Packet size 16k bytes:  7995.78 KByte/s Tx,  9328.45 KByte/s Rx.
Packet size 32k bytes:  7876.43 KByte/s Tx,  8837.84 KByte/s Rx.

(Last edited by erikk1 on 19 Jan 2011, 15:29)

Without a password set it is not possible to login at all (on ssh).

Just wanted to provide another stock firmware (1.0.4.75) data point.

Server - Win 7 32-bit - Realtek Gigabit
Client - Win 7 64-bit - Intel 4965AGN

NetIO 1.31

5.0 GHz 300.0 Mbps
Packet size  1k bytes:  9988.83 KByte/s Tx,  11524.91 KByte/s Rx.
Packet size  2k bytes:  8612.99 KByte/s Tx,  15565.13 KByte/s Rx.
Packet size  4k bytes:  4992.78 KByte/s Tx,  9329.67 KByte/s Rx.
Packet size  8k bytes:  9391.88 KByte/s Tx,  10732.88 KByte/s Rx
Packet size 16k bytes:  6390.05 KByte/s Tx,  12920.56 KByte/s Rx.
Packet size 32k bytes:  8242.98 KByte/s Tx,  10720.16 KByte/s Rx.

2.4 GHz 130.0 Mbps
Packet size  1k bytes:  7391.56 KByte/s Tx,  8919.65 KByte/s Rx.
Packet size  2k bytes:  7047.29 KByte/s Tx,  8915.55 KByte/s Rx.
Packet size  4k bytes:  7398.24 KByte/s Tx,  9246.82 KByte/s Rx.
Packet size  8k bytes:  7438.31 KByte/s Tx,  8462.94 KByte/s Rx.
Packet size 16k bytes:  7168.33 KByte/s Tx,  9165.06 KByte/s Rx.
Packet size 32k bytes:  7157.30 KByte/s Tx,  8327.00 KByte/s Rx.

I've been working on rolling my own version of Arokh's OpenWrt build, but haven't installed it yet.  I'll post those results once I get things operating properly.

Please add PPTP and L2tp.

NullDev wrote:

Just wanted to provide another stock firmware (1.0.4.75) data point.

Server - Win 7 32-bit - Realtek Gigabit
Client - Win 7 64-bit - Intel 4965AGN

NetIO 1.31

5.0 GHz 300.0 Mbps
Packet size  1k bytes:  9988.83 KByte/s Tx,  11524.91 KByte/s Rx.
Packet size  2k bytes:  8612.99 KByte/s Tx,  15565.13 KByte/s Rx.
Packet size  4k bytes:  4992.78 KByte/s Tx,  9329.67 KByte/s Rx.
Packet size  8k bytes:  9391.88 KByte/s Tx,  10732.88 KByte/s Rx
Packet size 16k bytes:  6390.05 KByte/s Tx,  12920.56 KByte/s Rx.
Packet size 32k bytes:  8242.98 KByte/s Tx,  10720.16 KByte/s Rx.

2.4 GHz 130.0 Mbps
Packet size  1k bytes:  7391.56 KByte/s Tx,  8919.65 KByte/s Rx.
Packet size  2k bytes:  7047.29 KByte/s Tx,  8915.55 KByte/s Rx.
Packet size  4k bytes:  7398.24 KByte/s Tx,  9246.82 KByte/s Rx.
Packet size  8k bytes:  7438.31 KByte/s Tx,  8462.94 KByte/s Rx.
Packet size 16k bytes:  7168.33 KByte/s Tx,  9165.06 KByte/s Rx.
Packet size 32k bytes:  7157.30 KByte/s Tx,  8327.00 KByte/s Rx.

I've been working on rolling my own version of Arokh's OpenWrt build, but haven't installed it yet.  I'll post those results once I get things operating properly.

My tests on stock firmware were done on 1.0.4.68, I did not find that file, and my router never prompted for a firmware upgrade past 1.0.4.68... I really dont understand how people get 2x the RX rate I get. Its so sad i cant get past 6000Kbyte/s RX on 5GHZ.

Please, please, pleeeese add accel-pptp !!  roll

abolition wrote:

My tests on stock firmware were done on 1.0.4.68, I did not find that file, and my router never prompted for a firmware upgrade past 1.0.4.68... I really dont understand how people get 2x the RX rate I get. Its so sad i cant get past 6000Kbyte/s RX on 5GHZ.

Netgear released 1.0.6.98 earlier this month, but it was found to be extremely buggy (dropped wired connections and failing DHCP requests) and removed.  1.0.4.75 is not an "official" release but an internal test build.  After reading the Netgear forums, it seems that the .75 version is preferred over .68.  Google will net you the firmware along with the MD5SUM for verification.

Will test it when i am home, thanks nulldev and rayures.

@crocodil

PPTP is already included in this build.

@morzexxx

accel-pptp is a fork of poptop and requires a kernel module and patched client. It wouldn't be compatible with other PPTP clients. Also, this type of router won't be able to handle many VPN connections anyways, it's not designed for that.