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.

1. In case of a backup, you'll need to look into if the backup is sufficient anyways. Don't be scared to try and learn.
2. ps

I tried severall times to kill some services but I think I kill the wrong ones because SSH hangs after some killing.
Here are soms services/processes I stopped: syslog, klogd, hotplug2, dyn. update, wathcdog, udhcpc

Is there a shortlist of services that can be safely killed because it's now trial and error based

anybody has some experience with intel 5100 agn wireless adapters?

i have 2 laptops, dell e6400 (intel 5100) and a hp hdx (intel 5100). Both win7 x64, both latest intel (v14) driver, channel width to 'auto', both same driver settings, etc etc but with very different wireless performance:

2.4Ghz 20mhz
HP        DELL
Tx 5MB Tx 4MB
Rx 9MB Tx 600KB

5Ghz 40Mhz
HP          DELL
Tx 10MB  Tx 4MB
Rx 10MB    Rx 500KB

already tried loads of stuff, from hours of wndr settings testing (and old firmwares) to a full reinstall of the dell laptop. can't figure it out.

Rayures wrote:

anybody has some experience with intel 5100 agn wireless adapters?

i have 2 laptops, dell e6400 (intel 5100) and a hp hdx (intel 5100). Both win7 x64, both latest intel (v14) driver, channel width to 'auto', both same driver settings, etc etc but with very different wireless performance:

2.4Ghz 20mhz
HP        DELL
Tx 5MB Tx 4MB
Rx 9MB Tx 600KB

5Ghz 40Mhz
HP          DELL
Tx 10MB  Tx 4MB
Rx 10MB    Rx 500KB

already tried loads of stuff, from hours of wndr settings testing (and old firmwares) to a full reinstall of the dell laptop. can't figure it out.

I have a Dell Inspiron e1505 (very similar to the Latitude e6400) with an Intel 5100 NIC running Windows7 x64.  I found some weirdness and performance issues using the latest drivers from the intel web site (including not being able to see the 5 ghz radio in inSSIDer), so I ended up falling back to the default drivers provided by Windows7.

I don't know how you got the above performance numbers, but I ran some iperf tests when I was running arokh build 27951 and was able to get about 80 Mbits/sec with the 2.4 ghz radio and about 50 Mbits/sec with the 5 ghz radio.

Latest build uses busybox ntpd instead of ntpclient, make sure your /etc/config/system contains this:

config 'timeserver'
    list server    '0.openwrt.pool.ntp.org'
    list server    '1.openwrt.pool.ntp.org'
    list server    '2.openwrt.pool.ntp.org'
    list server    '3.openwrt.pool.ntp.org'

Upgrade succeeded big_smile
After freeing up ram (http://wiki.openwrt.org/doc/howto/gener … ree.up.ram) I did the sysupgrade en it went well. One error occur (something with TRX header error and couldn't been fixed) but it was only a message because everthing else works (inc. LuCi). I rebooted it and it works like a charm !!!

dusty_wrt54g wrote:

I have a Dell Inspiron e1505 (very similar to the Latitude e6400) with an Intel 5100 NIC running Windows7 x64.  I found some weirdness and performance issues using the latest drivers from the intel web site (including not being able to see the 5 ghz radio in inSSIDer), so I ended up falling back to the default drivers provided by Windows7.

I don't know how you got the above performance numbers, but I ran some iperf tests when I was running arokh build 27951 and was able to get about 80 Mbits/sec with the 2.4 ghz radio and about 50 Mbits/sec with the 5 ghz radio.

thanks for the tip, will try that on the dell.

the performance figures i got are from netio v1.31 (simmilar prog as iperf, but netio does Rx and Tx, where iperf only does Tx@8KB). Also tried an iperf on the dell, got 20Mbit on 2.4 Ghz (Tx) :S. Those figures are not consistent with other tests i did. Netio is more to the real performance (i.e a file copy/ftp between the dell and a wired pc).

(Last edited by Rayures on 28 Oct 2011, 18:52)

Oct 29 13:23:33 OpenWrt daemon.info xl2tpd[3846]: L2TP kernel support not detected.

That's normal. The xl2tpd kernel mode l2tp does not work with newer kernels.

arokh wrote:

That's normal. The xl2tpd kernel mode l2tp does not work with newer kernels.

but that means that  l2tp  doesn't work right now on the alternative build?
'Cause i tried to add a user name and password to make it work.

Use openl2tp instead of xl2tp tp get kernel support.

@mmhorda

No, it means kernel mode doesn't work.

@Pilot6

I tried, but couldn't get any VPN clients to work with it.

I need to arrange parental control
tried http://www.avidz.net/mia
install, run, but it does not work, can anyone help?

Does the ipsec/l2tp version of your router firmware work with shrew vpn client, and what do i configure to have vpn connection with:
- a PSK
- and UserName password login (xauth?)

Any help is appriciated!

The default settings seem to allow for a VPN connection but I cannot seem to use the usernamepassword xauth form to login.

Why don't you try it? Read first post for instructions.

Today I put your release on my new WNDR3800 (flashed using stock firmware) , have to say it works brilliantly. Been going about 10hours now, reliable and fast smile
Thanks for the work you put in, I tried to compile my own but wasn't very successful! lol.

Good to hear, want to buy myself a WNDR3800 for christmas smile

arokh wrote:

Good to hear, want to buy myself a WNDR3800 for christmas smile

Same for me big_smile
I was thinking about WNDR4500 but i read the reviews, it's not more powerful than 3700s.

(Last edited by coatto87 on 2 Nov 2011, 11:04)

To help others that might be getting a double /overlay when doing extroot:

There's was bug on trunk that breaks extroot. It was fixed here: https://dev.openwrt.org/changeset/28717

I was running arokh's 28713 so I just missed the fix being in my build.

Also, you can fix it right on the jffs2 partition if you don't want to upgrade your firmware. That's what I did while await a new build from here.

hello,

what is the main reason for using this community image for the router instead of using the standard-openwrt build? (If i need an additional programm i would install it on my own using the package-system).

Thanks

If you run a vanilla build, you'll find that most packages have no working configuration by default. Also, kernel will lack things like inotify or support for GPT partitioned disks etc.

arokh wrote:

If you run a vanilla build, you'll find that most packages have no working configuration by default. Also, kernel will lack things like inotify or support for GPT partitioned disks etc.

Thanks for your reply. So the main-advantage if your build is, that this is an out-of-the-box working build with a default configuration. Is it possible to uninstall unwanted services like "MiniDLNA" after flashing?
is there a feauture-list aviable what diffrences there are between standard openwrt-kernel and the kernel of your build?

Sure you can disable them. You'll need to look at the diffs if you want to see all the tweaks that has been done.

(Last edited by arokh on 3 Nov 2011, 14:20)

Has anybody tried openVPN (http://wiki.openwrt.org/inbox/vpn.howto) on this build?

Does it work or do you have any issues? I currently have an openWRT build that leads to openVPN crash so I'd rather ask before flashing this build.

arokh wrote:

Sure you can disable them. You'll need to look at the diffs if you want to see all the tweaks that has been done.

i just flashed my stock new v2 with your build.

here is my df and free output


root@OpenWrt /# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    8.4M    352.0K      8.0M   4% /
/dev/root                 6.3M      6.3M         0 100% /rom
tmpfs                    30.2M    240.0K     30.0M   1% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock4            8.4M    352.0K      8.0M   4% /overlay
overlayfs:/overlay        8.4M    352.0K      8.0M   4% /

so / + /rom = the 16MB of the v2-flash-size? or is there another way to find out, wether i have the 16mb-flash?

root@OpenWrt /# free
             total         used         free       shared      buffers
Mem:         61876        32860        29016            0         3296
-/+ buffers:              29564        32312
Swap:            0            0            0

and here is dmesg-output:

Linux version 3.0.4 (trondah@ff0) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Thu Nov 3 03:27:15 CET 2011
prom: fw_arg0=00000006, fw_arg1=a3f6bfb0, fw_arg2=a3f6c450, fw_arg3=00000010
MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
SoC: Atheros AR7161 rev 2
Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat 802e1960, node_mem_map 81000000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line:  board=WNDR3700v2 console=ttyS0,115200 mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,960k(kernel),14912k(rootfs),64k(art)ro,15872k@0x70000(firmware) rootfstype=squashfs,jffs2 noinitrd
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 61692k/65536k available (2147k kernel code, 3844k reserved, 420k data, 184k init, 0k highmem)
SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:80
Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is NETGEAR WNDR3700v2
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
pci 0000:00:00.0: [0700:1107] type 0 class 0x000000
pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0fffffff pref]
pci 0000:00:00.0: reg 14: [io  0x0000-0x00ff]
pci 0000:00:00.0: supports D1 D2
pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:00.0: PME# disabled
pci 0000:00:11.0: [168c:ff1d] type 0 class 0x000200
pci 0000:00:11.0: fixup device configuration
pci 0000:00:11.0: reg 10: [mem 0x00000000-0x0000ffff]
pci 0000:00:11.0: PME# supported from D0 D3hot
pci 0000:00:11.0: PME# disabled
pci 0000:00:12.0: [168c:ff1d] type 0 class 0x000200
pci 0000:00:12.0: fixup device configuration
pci 0000:00:12.0: reg 10: [mem 0x00000000-0x0000ffff]
pci 0000:00:12.0: PME# supported from D0 D3hot
pci 0000:00:12.0: PME# disabled
pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
pci 0000:00:11.0: BAR 0: set to [mem 0x10000000-0x1000ffff] (PCI address [0x10000000-0x1000ffff])
pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
pci 0000:00:12.0: BAR 0: set to [mem 0x10010000-0x1001ffff] (PCI address [0x10010000-0x1001ffff])
PCI: mapping irq 72 to pin1@0000:00:11.0
PCI: mapping irq 73 to pin1@0000:00:12.0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 120
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: found mx25l12805d, expected m25p80
m25p80 spi0.0: mx25l12805d (16384 Kbytes)
6 cmdlinepart partitions found on MTD device spi0.0
Creating 6 MTD partitions on "spi0.0":
0x000000000000-0x000000050000 : "u-boot"
0x000000050000-0x000000070000 : "u-boot-env"
0x000000070000-0x000000160000 : "kernel"
0x000000160000-0x000000ff0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=790000, len=860000
0x000000790000-0x000000ff0000 : "rootfs_data"
0x000000ff0000-0x000001000000 : "art"
0x000000070000-0x000000ff0000 : "firmware"
Realtek RTL8366S ethernet switch driver version 0.2.2
rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
rtl8366s rtl8366s: RTL8366 ver. 1 chip found
rtl8366s: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
eth0: using fixed link parameters
eth1: Atheros AG71xx at 0xba000000, irq 5
eth1: connected to PHY at rtl8366s:04 [uid=001cc960, driver=Generic PHY]
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=25)
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Freeing unused kernel memory: 184k freed
input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
Button Hotplug driver version 0.4.1
ar71xx: pll_reg 0xb8050010: 0x11110000
eth0: link up (1000Mbps/Full duplex)
Registered led device: wndr3700:green:power
Registered led device: wndr3700:orange:power
Registered led device: wndr3700:green:wps
Registered led device: wndr3700:orange:wps
Registered led device: wndr3700:green:wan
eth0: link down
NET: Registered protocol family 10
ar71xx: pll_reg 0xb8050010: 0x11110000
eth0: link up (1000Mbps/Full duplex)
ADDRCONF(NETDEV_UP): eth1: link is not ready
device eth0.1 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.1) entering forwarding state
br-lan: port 1(eth0.1) entering forwarding state
ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
Compat-wireless backport release: compat-wireless-2011-10-14
Backport based on wireless-testing.git master-2011-11-01
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Enabling device 0000:00:11.0 (0000 -> 0002)
ath: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
ath: random mac address will be used: ee:d1:e6:3f:1b:0d
ath: EEPROM regdomain: 0x60
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: 00
ath: Regpair used: 0x60
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Registered led device: ath9k-phy0
ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=72
PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
Registered led device: ath9k-phy1
ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0010000, irq=73
cfg80211: Calling CRDA for country: US
NET: Registered protocol family 8
NET: Registered protocol family 20
cfg80211: Regulatory domain changed to country: US
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
PPP generic driver version 2.4.2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
PPP MPPE Compression module registered
IPv6 over IPv4 tunneling driver
GRE over IPv4 demultiplexor driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR71xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
nf_conntrack version 0.5.0 (966 buckets, 3864 max)
xt_time: kernel timezone is -0000
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading
ip6_tables: (C) 2000-2006 Netfilter Core Team
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ar71xx-ohci ar71xx-ohci: Atheros AR71xx built-in OHCI controller
ar71xx-ohci ar71xx-ohci: new USB bus registered, assigned bus number 2
ar71xx-ohci ar71xx-ohci: irq 14, io mem 0x1c000000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
Registered led device: wndr3700:green:usb
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-alauda
usbcore: registered new interface driver ums-cypress
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-isd200
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-karma
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
ADDRCONF(NETDEV_UP): wlan0: link is not ready
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
br-lan: port 2(wlan0) entering forwarding state
eth0: no IPv6 routers present
device wlan0 left promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
br-lan: port 2(wlan0) entering forwarding state
ADDRCONF(NETDEV_UP): wlan1: link is not ready
device wlan1 entered promiscuous mode
br-lan: port 3(wlan1) entering forwarding state
br-lan: port 3(wlan1) entering forwarding state
device wlan1 left promiscuous mode
br-lan: port 3(wlan1) entering forwarding state
device wlan1 entered promiscuous mode
br-lan: port 3(wlan1) entering forwarding state
br-lan: port 3(wlan1) entering forwarding state
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
JFFS2 notice: (1931) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
ar71xx-wdt: enabling watchdog timer

Sorry, posts 2026 to 2025 are missing from our archive.