OpenWrt Forum Archive

Topic: Have WNDR3700, will test

The content of this topic has been archived between 20 Apr 2018 and 25 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I am new here, so please do not beat me up too badly.  I have a Netgear WNDR3700 left over from the beta test.  I would love to play with the OpenWRT software but quite frankly I do need the router so I would prefer not to brick it.  Should this work?  If so which one - I think the ar71xx, but I want to at least start with the right build.

Thanks,
Warren

Don't really need the pictures since it is sitting in the rack in my basement, but I would still love to test dd-wrt with this router - I think it would be a real winner.

W

Since it's not Broadcom based, dd-wrt is not an alternative as I understand it.

wndr3700 seems to run a fork of Kamikaze 7.09 already. Check the bootlog! http://dd-wrt.com/phpBB2/download.php?id=11124

It's a bit more expensive than linksys 160nl, but has also better hardware, e.g. "Atheros-based dual-radio, dual-band 802.11n router with Gigabit ports" + 64MB RAM.

U-Boot 1.1.4DNI1.6 (May 22 2009 - 16:37:44)

WNDR3700U (ar7100) U-boot 0.0.12
DRAM:  b8050000: 0xc0140180
64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 315k for U-Boot at: 83fb0000
Reserving 192k for malloc() at: 83f80000
Reserving 44 Bytes for Board Info at: 83f7ffd4
Reserving 36 Bytes for Global Data at: 83f7ffb0
Reserving 128k for boot params() at: 83f5ffb0
Stack Pointer at: 83f5ff98
Now running in RAM - U-Boot at: 83fb0000
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
CHH:mac: 0 if: 2
CHH:mac:verify: 0 if: 00000002
: cfg1 0xf cfg2 0x7014
eth0: 00:24:XX:XX:XX:XX
eth0 up
CHH:mac: 1 if: 1
CHH:mac:verify: 1 if: 00000001
: cfg1 0xf cfg2 0x7014
eth1: 00:24:XX:XX:XX:XX
eth1 up
eth0, eth1
Trying eth0
: unit 0 phy is up...RGMii 1000Mbps full duplex
#259:ag7100_set_mac_from_link
: pll reg 0x18050010: 0x11110000
: cfg_1: 0x1ff0000
: cfg_2: 0x3ff
: cfg_3: 0x8001ff
: cfg_4: 0xffff
: cfg_5: 0xfffef
: done cfg2 0x7215 ifctl 0x40605060 miictrl 0x22

 Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual

 nmrp server is stopped or failed !
Hit any key to stop autoboot:  0
   Verifying Checksum ... OK
### SQUASHFS loading 'image/uImage' to 0x80800000
### SQUASHFS load complete: 939504 bytes loaded to 0x80800000
## Booting image at 80800000 ...
   Image Name:   Linux Kernel Image
   Created:      2009-08-26   9:29:14 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    939440 Bytes = 917.4 kB
   Load Address: 80002000
   Entry Point:  80297000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80297000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

Linux version 2.6.15 (ronger@ronger-desktop) (gcc version 3.4.4 (OpenWrt-2.0)) #1 Wed Aug 26 17:29:04 CST 2009
flash_size passed from bootloader = 8
CPU revision is: 00019374
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=31:09 rootfstype=squashfs init=/etc/preinit mtdparts=ar7100-nor0:320k(uboot),128k(env),7296k(rootfs),64k(config),64k(config_bak),64k(pot),64k(traffic_meter),128k(language),64k(caldata),7471040@458816(mount_fs)
Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
PID hash table entries: 512 (order: 9, 8192 bytes)
Using 340.000 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 61952k/65536k available (2151k kernel code, 3536k reserved, 488k data, 132k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
NET: Registered protocol family 16
WLAN ON/OFF button is pressed..
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
AR7100 GPIOC major 0
Initializing usb led semaphore
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered
Serial: 8250/16550 driver $Revision: #1 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize
10 cmdlinepart partitions found on MTD device ar7100-nor0
Creating 10 MTD partitions on "ar7100-nor0":
0x00000000-0x00050000 : "uboot"
0x00050000-0x00070000 : "env"
0x00070000-0x00790000 : "rootfs"
0x00790000-0x007a0000 : "config"
0x007a0000-0x007b0000 : "config_bak"
0x007b0000-0x007c0000 : "pot"
0x007c0000-0x007d0000 : "traffic_meter"
0x007d0000-0x007f0000 : "language"
0x007f0000-0x00800000 : "caldata"
0x00070040-0x00790000 : "mount_fs"
mtd: partition "mount_fs" doesn't start on an erase block boundary -- force read-only
10 Dec 2004 USB 2.0 'Enhanced' Host Controller (EHCI) Driver (AR7100_EHCI)
In ar7100_ehci_drv_probe
probing ehci...
hcd->regs is 0xbb000000
ehci->caps is 0xbb000000
ehci->caps->hc_base is 0x1000010
ar7100-ehci ar7100-ehci.0: AR7100 EHCI
ar7100-ehci ar7100-ehci.0: new USB bus registered, assigned bus number 1
ar7100-ehci ar7100-ehci.0: irq 3, io mem 0x1b000000
hcc_params addr 0xbb000008 val 0xa020 hcs_params addr 0xbb000004 val 0x1212
ar7100-ehci ar7100-ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
...probing done
2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (ar7100_ohci)block sizes: ed 64 td 64
In ohci_hcd_ar7100_drv_probeprobing...
ar7100-ohci ar7100-ohci.0: new USB bus registered, assigned bus number 2
ar7100-ohci ar7100-ohci.0: irq 22, io mem 0x1c000000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
probing done
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
u32 classifier
    Perfomance counters on
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
ip_conntrack version 2.4 (512 buckets, 4096 max) - 228 bytes per conntrack
ip_conntrack_rtsp v0.6.21 loading
ip_nat_rtsp v0.6.21 loading
ip_tables: (C) 2000-2002 Netfilter core team
IPP2P v0.8.2 loading
DNIFILTER loading
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Ebtables v2.0 registered
ar7100wdt_init: Registering WDT success
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 132k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
init started:  BusyBox v1.4.2 (2009-08-26 17:05:42 CST) multi-call binary
Loading data from /dev/mtd/3 ...
The data configuration is Valid
The data center is Running ...
ipt_CONENAT: module license 'unspecified' taints kernel.
sed: /etc/modules.d/20-dnirtsp: No such file or directory
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
Generating Rules...
Done!
fuse init (API version 7.8)
fuse distribution version: 2.7.4
POT is Running...
POT is Finished!!!
The POT-(Get/Set) Demo is Running ...
sn:22R1985L00A2D
SN: 22R1985L00A2D
dni-qos module init at dev:eth1, real_dev:eth1
/home/ronger/release/wndr3700-35/build_mips/linux-2.6-wndr3700u/rtl8366s/switch-core.c #172:switch_init
/home/ronger/release/wndr3700-35/build_mips/linux-2.6-wndr3700u/rtl8366s/switch-core.c #177:switch_init
/home/ronger/release/wndr3700-35/build_mips/linux-2.6-wndr3700u/rtl8366s/switch-core.c #181:switch_init
/home/ronger/release/wndr3700-35/build_mips/linux-2.6-wndr3700u/rtl8366s/switch-core.c #201:switch_init
/home/ronger/release/wndr3700-35/build_mips/linux-2.6-wndr3700u/rtl8366s/switch-core.c #203:switch_init
/home/ronger/release/wndr3700-35/build_mips/linux-2.6-wndr3700u/rtl8366s/switch-core.c #210:switch_init init succeeds
AG7100: Length per segment 512
AG7100: Max segments per packet 4
AG7100: Max tx descriptor count    400
AG7100: Max rx descriptor count    252
AG7100: fifo cfg 3 018001ff
AG7100CHH: Mac address for unit 0
AG7100CHH: 00:24:XX:XX:XX:XX
AG7100CHH: Mac address for unit 1
AG7100CHH: 00:24:XX:XX:XX:XX
init the qos
NET-LAN: Default WAN MAC is : 00:24:XX:XX:XX:XX
AG7100: unsupported ioctl
device eth0 entered promiscuous mode
number of br ports=1
NET-LAN: Default LAN MAC is : 00:24:XX:XX:XX:XX
ag7100_ring_alloc Allocated 4800 at 0x83de8000
ag7100_ring_alloc Allocated 3024 at 0x83f7a000
CHH:mac:verify: 0 if: 00000002
AG7100: cfg1 0xf cfg2 0x7014
AG7100: unit 0 phy is up...RGMii 1000Mbps full duplex
AG7100#1000:ag7100_set_mac_from_link
AG7100: pll reg 0x18050010: 0x11110000
AG7100: cfg_1: 0x1ff0000
AG7100: cfg_2: 0x3ff
AG7100: cfg_3: 0x18001ff
AG7100: cfg_4: 0xffff
AG7100: cfg_5: 0xfffef
AG7100: done cfg2 0x7215 ifctl 0x0 miictrl 0x22
Writing 4
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
/home/ronger/release/wndr3700-35/build_mips/linux-2.6-wndr3700u/kmod-ar7100-watchdog/watchdog.c #25:ar7100_reset_watchdog AR7100 HW watchdog enabled
udhcp server (v0.9.8) started
The attached devices demo is Running ...
killall: miniupnpd: no process killed
killall: utelnetd: no process killed
killall: telnetenable: no process killed
Jan  1 00:00:09 miniupnpd[969]: listening on 192.168.1.1:5555
The telnetenable is running ...
Deleting static route ... Done!
Adding static route ... Done!
ag7100_ring_alloc Allocated 4800 at 0x8394e000
ag7100_ring_alloc Allocated 3024 at 0x8394c000
CHH:mac:verify: 1 if: 00000000
AG7100: cfg1 0xf cfg2 0x7014
AG7100: unit 1: phy not up carrier 1
AG7100: WAN Rx Hang Detected 1 times!
Writing 6
ADDRCONF(NETDEV_UP): eth1: link is not ready
ag7100_ring_free Freeing at 0x8394e000
ag7100_ring_free Freeing at 0x8394c000
ag7100_ring_alloc Allocated 4800 at 0x8394e000
ag7100_ring_alloc Allocated 3024 at 0x8394c000
CHH:mac:verify: 1 if: 00000000
AG7100: cfg1 0xf cfg2 0x7014
Writing 6
ADDRCONF(NETDEV_UP): eth1: link is not ready
udhcp client (v0.9.8) started
traffic_meter config_update : killall: traffic_meter: no process killed
.
killall: ntpclient: no process killed
time zone index is : 0
Run NTP Client with setting: pri:time-g.netgear.com sec:time-h.netgear.com
Jan  1 00:00:15 miniupnpd[969]: received signal 15, good-bye
Jan  1 00:00:18 miniupnpd[1063]: listening on 192.168.1.1:5555
/etc/rc.d/rc.wlan: /etc/rc.d/rc.wlan: 56: uname: not found
Args: 1
ath_hal: 0.9.17.1 (AR5416, REGOPS_FUNC, WRITE_EEPROM, 11D)
wlan: 0.8.4.2 (Atheros/multi-bss)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
insmod: ath_dfs.ko: no module by that name found
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_pci: 0.9.4.5 (Atheros/multi-bss)
!!!!! SC Callback Registration for wifi0
wifi0: Atheros 9280: mem=0x10000000, irq=48 hw_base=0xb0000000
!!!!! SC Callback Registration for wifi1
wifi1: Atheros 9280: mem=0x10010000, irq=49 hw_base=0xb0010000
wlan: mac acl policy registered
wlan_me: Version 0.1
Copyright (c) 2008 Atheros Communications, Inc. All Rights Reserved
Creating ap for NETGEAR on
Added ath0 mode master
Interface doesn't accept private ioctl...
HALDbg (8BE0): Operation not permitted
The command noedgech needs exactly 1 argument(s)...
Invalid command : ampdumin
Created ath0 mode ap for NETGEAR
lo        no wirelAG7100: unsupported ioctl
AG7100: unsupported ioctl


sit0      no wireless extensions.

br0       no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wifi0     no wireless extensions.

wifi1     no wireless extensions.

Modules already loaded
Creating ap for NETGEAR-5G on
Added ath1 mode master
Interface doesn't accept private ioctl...
HALDbg (8BE0): Operation not permitted
The command noedgech needs exactly 1 argument(s)...
Invalid command : ampdumin
Created ath1 mode ap for NETGEAR-5G
lo        no wirelAG7100: unsupported ioctl
AG7100: unsupported ioctl


sit0      no wireless extensions.

br0       no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wifi0     no wireless extensions.

wifi1     no wireless extensions.

/etc/ath/activateVAP: /etc/ath/activateVAP: 62: uname: not found
lo        no wirelAG7100: unsupported ioctl
AG7100: unsupported ioctl


sit0      no wireless extensions.

br0       no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wifi0     no wireless extensions.

wifi1     no wireless extensions.

device ath0 entered promiscuous mode
br0: port 2(ath0) entering learning state
br0: topology change detected, propagating
br0: port 2(ath0) entering forwarding state
number of br ports=2
/etc/ath/activateVAP: /etc/ath/activateVAP: 1: arping: not found
>>>>> WPS ENABLED, PSK
cat: /etc/wpa2/WSC_ath0.conf: No such file or directory
>>>>> WPS Translate, Index:0
/etc/ath/activateVAP: /etc/ath/activateVAP: 62: uname: not found
lo        no wirelAG7100: unsupported ioctl
AG7100: unsupported ioctl


sit0      no wireless extensions.

br0       no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wifi0     no wireless extensions.

wifi1     no wireless extensions.

Country ie is DE
device ath1 entered promiscuous mode
br0: port 3(ath1) entering learning state
br0: topology change detected, propagating
br0: port 3(ath1) entering forwarding state
number of br ports=3
/etc/ath/activateVAP: /etc/ath/activateVAP: 1: arping: not found
>>>>> WPS ENABLED, PSK
cat: /etc/wpa2/WSC_ath1.conf: No such file or directory
>>>>> WPS Translate, Index:2
Making Topology File . . .
Reading topology file /var/run/topology.conf ...
Reading bss configuration file /etc/wpa2/WSC_ath0.conf ...

Reading bss configuration file /etc/wpa2/WSC_ath1.conf ...

br0: port 2(ath0) entering disabled state
br0: port 3(ath1) entering disabled state
l2_packet_receive - recvfrom: Network is down
Could not connect to kernel driver.
Using interface ath0 with hwaddr 00:24:XX:XX:XX:XX and ssid 'NETGEAR'
Country ie is DE
br0: port 2(ath0) entering learning state
br0: topology change detected, propagating
br0: port 2(ath0) entering forwarding state
upnp_wps_device_init called
l2_packet_receive - recvfrom: Network is down
Could not connect to kernel driver.
Using interface ath1 with hwaddr 00:24:XX:XX:XX:XX and ssid 'NECountry ie is DE
TGEAR-5G'
br0: port 3(ath1) entering learning state
br0: topology change detected, propagating
br0: port 3(ath1) entering forwarding state
upnp_wps_device_init called
Starting Firewall...
Done!
time zone index is : 0
Run NTP Client with setting: pri:time-g.netgear.com sec:time-h.netgear.com
dnsmasq: started, version 2.39 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt ISC-leasefile no-DBus no-I18N no-TFTP
dnsmasq: using local addresses only for domain lan
dnsmasq: failed to access /tmp/dhcp.leases: No such file or directory
dnsmasq: no servers found in /tmp/resolv.conf, will retry
dnsmasq: cleared cache
killall: uhttpd: no process killed
checksum = 0xFF, len = 131072
There is not language table in flash or language table was broken!
gui_region = English
region = English, download_region =
 Update string table successfully, memory usage: 248KB.
The httpd server is running ...
Start utelnetd by telnetenable
killall: lld2d: no process killed
traffic_meter start : .
USB Storage daemon is Running ...
Boot up procedure is Finished!!!

Please press Enter to activate this console.


BusyBox v1.4.2 (2009-08-26 17:05:42 CST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (7.09) -----------------------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@WNDR3700:/#

OK, help me here please.  I have used dd-wrt in the past but not openwrt.  How would I go about loading this?

Thanks in advance,
W

@wmeinick:
Could you try to investigate if it is possible to access the device with telnet or ssh?

[warren@alien ~]$ telnet 192.168.17.1
Trying 192.168.17.1...
Connected to 192.168.17.1 (192.168.17.1).
Escape character is '^]'.
Connection closed by foreign host.
[warren@alien ~]$ ssh 192.168.17.1
ssh: connect to host 192.168.17.1 port 22: Connection refused

Looks like telnet might somehow be possible.  I am not home right now, but if I can gain access to a web browser from my office in the house then I will post more info.  If not it will have to wait until tonight.

W

Did you get access with telnet?

I have not been able to.  I will keep trying, but so far nothing sad

W

In this thread (http://www.dd-wrt.com/phpBB2/viewtopic.php?t=58349) on the DD-WRT forum there is information about how to access the router through telnet.

There are also information about used file system (squashfs) and wireless driver (Atheros binary)

Expect it is Atheros reference design with few mods like WRT610N.

Connect serial console.  Boot output and command shell will reveal a lot.

Compile Kamikaze trunk as a ramdisk image.

From console tftp boot the image, no bricking risk.

First step eh? See the WRT160NL exploration thread, page 2 and later.

(Last edited by vincentfox on 7 Oct 2009, 09:47)

I tried the telnet enabler.  It did not work.  I suppose I could hook up a serial console - never wired one into a router before and I'm told I solder like a 3yo smile  Any idea what to look for?  Will there be a header of some sort on the average motherboard or do I have to pull right off the pins of a chip?

Finally got it to work.  I can tenet in.  woohoo!

wmelnick wrote:

I suppose I could hook up a serial console - never wired one into a router before and I'm told I solder like a 3yo smile  Any idea what to look for?  Will there be a header of some sort on the average motherboard or do I have to pull right off the pins of a chip?

Open it and post a pic.  Ordinarily there is a 5-pin header for it somewhere and it's not difficult.  Usually I use some clip-on test leads and you only need 3 wires connecting to a Nokia DKU-5 cable costs $5 on EBay.  It's really trivial hack.

Bought the cable ($3.99 from a US seller).  I'll put my other dd-wrt G router into place tonight to keep the rest of the family from killing me while I do this and take some pics of the inside.  Does the cable do serial to USB or are we patching into a USB port?

(Last edited by wmelnick on 8 Oct 2009, 14:21)

Cable goes into USB port.  I clip off the connector on the phone end and patch 3 exposed wires into the router and that's it.  The driver for the DKU-5 is the PL2303 driver easy to find on internet.  Baud 115,200 8-n-1 flow-control=none.

That is amazingly handy since the router sits 6 inches above my linux server.  I can just plug it in and have it log to a file or access it in a bunch of different ways.  Thanks - this is going to be fun!

wmelnick wrote:

Finally got it to work.  I can tenet in.  woohoo!

What did you modify to get telnet working?

@vmelnick:
I'm not sure why you were haveing problems enabling telnet, but I got it done with no problems at all. I just wanted to let you know befor you try to solder the serial cable to yours. I Got the following screen:

Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
KAMIKAZE (7.09) -----------------------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
---------------------------------------------------
root@WNDR3700:/#

I definitely looks like it's running Kamikaze already, so hopefully it'll be easy to load the latest build into it. I've never used openwrt, though, so if anyone wants to walk me through doing it, I would appreciate it.

I did finally get the telnet to work.  I ended up having to run the Windows version of telnet enable, then I was able to get the MacOS laptop to talk to the telnet port.

If that is all I need to load up a newer version of the software that gives me more control then that is fine - I'll happily play with it.  I do have to admit that my ultimate goal is to get dd-wrt running on it, but loading up kamikaze or openwrt along the way would be fun too.

W

bxb13 wrote:

@vmelnick:
I'm not sure why you were haveing problems enabling telnet, but I got it done with no problems at all. I just wanted to let you know befor you try to solder the serial cable to yours. I Got the following screen:

Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
KAMIKAZE (7.09) -----------------------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
---------------------------------------------------
root@WNDR3700:/#

I definitely looks like it's running Kamikaze already, so hopefully it'll be easy to load the latest build into it. I've never used openwrt, though, so if anyone wants to walk me through doing it, I would appreciate it.

That looks pretty crazy smile. I understood the WNDR3700 has a USB port but it seems to be marketed as a storage port only. Pity it's Kamikaze 7.09 though - but it does open the possibility to install p910nd and get a printer running on that port :-).

As for walking you through, there is An introduction to Buildroot-NG. Buildroot-NG makes it pretty easy to build the stuff, but you'd need to know what patches Netgear applied. You can find the source code here. Best thing might be to diff this code against a regular 7.09 codebase and see where that gets you, but that's just an amateur guess. I've never ventured beyond the OpenWRT buildroot myself smile.

Oh - and be sure to get the bootloader too smile. It's offered separately so I suppose a stock OpenWRT image won't just boot, but you never know wink.

Edit: I unpacked the source tarball and it's definitely an OpenWRT one... Very interesting :-). Would be so cool if OpenWRT 8.09.1 supported this out of the box :^). I will diff this against an 8.09.1 tree when I get home, I'm curious.

(Last edited by Borromini on 12 Oct 2009, 13:13)

Okay, I took a loock at the tarball - there's quite a lot of binary stuff in there, still:

$ grep -B 4 Binary wndr3700_gpl_source.txt 
[package name]
    Complete package name
    From Where
    License
    Binary or Source code
--
[datalib]
    datalib
    DNI
    DNI
    Binary
[detcable]
    detcable
    DNI
    DNI
    Binary
[dni-ripd]
    dni-ripd
    DNI
    DNI
    Binary
[fetchPIN]
    fetchPIN
    DNI
    DNI
    Binary
[led-control]
    led-control
    DNI
    DNI
    Binary
--
[net-util]
    net-util
    DNI
    DNI
    Binary
[net-wall]
    net-wall
    DNI
    DNI
    Binary
--
[samba-scripts]
    samba-scripts
    DNI
    DNI
    Binary
--
[trafficmeter]
    trafficmeter
    DNI
    DNI
    Binary
[wndr3700-hostapd]
    hostapd
    Atheros
    BSD/GPL
    Binary
[wndr3700-libwpa]
    hostapd
    Atheros
    BSD/GPL
    Binary
--
[wndr3700-wpatalk]
    hostapd
    Atheros
    BSD/GPL
    Binary
--
[ag7100-init]
    ag7100-init
    Atheros
    Atheros
    Binary
[ar7100-gpio]
    ar7100-gpio
    Atheros
    Atheros
    Binary
[ar7100-watchdog]
    ar7100-watchdog
    Atheros
    Atheros
    Binary
[conenat]
    conenat
    DNI
    DNI
    Binary
[dni-dmapool]
    dni-dmapool
    DNI
    DNI
    Binary
[dni-qos]
    dni-qos
    DNI
    DNI
    Binary
--
[dnshijack]
    dnshijack
    DNI
    DNI
    Binary
--
[spiadvdos]
    spiadvdos
    DNI
    DNI
    Binary    
[spidos]
    spidos
    DNI
    DNI
    Binary
[starcraft]
    starcraft
    DNI
    DNI
    Binary
--
[rtl8366s]
    rtl8366sr
    Realtek
    DNI
    Binary
[urlblock]
    urlblock
    DNI
    DNI
    Binary
[madwifi]
    madwifi
    Atheros
    Atheros
    Binary
[usbled]
    usbled
    DNI
    DNI
    Binary

As you can see from the list the binaries there are no links on where to obtain them (if you'd want any updated versions). The kernel seems to be 2.6.15 and Netgear has added a custom target for their WNDR3700.

This is the list of binary modules:

find . -name "*ko"
./kmod-conenat.git/ipt_CONENAT.ko
./kmod-spidos.git/ipt_spiDoS.ko
./rtl8366sr.git/rtl8366sr_mod.ko
./madwifi-11n.git/lib/wlan_xauth.ko
./madwifi-11n.git/lib/wlan_me.ko
./madwifi-11n.git/lib/wlan_scan_sta.ko
./madwifi-11n.git/lib/wlan_scan_ap.ko
./madwifi-11n.git/lib/ath_dev.ko
./madwifi-11n.git/lib/wlan_ccmp.ko
./madwifi-11n.git/lib/ath_hal.ko
./madwifi-11n.git/lib/ath_pci.ko
./madwifi-11n.git/lib/wlan_acl.ko
./madwifi-11n.git/lib/ath_rate_atheros.ko
./madwifi-11n.git/lib/wlan_ext.ko
./madwifi-11n.git/lib/wlan_wep.ko
./madwifi-11n.git/lib/wlan_tkip.ko
./madwifi-11n.git/lib/wlan.ko
./madwifi-11n.git/lib/ath_pktlog.ko
./kmod-spiadvdos.git/ipt_spiadvDoS.ko
./kmod-urlblock.git/ipt_urlBlock.ko
./kmod-dni-qos.git/dni-qos.ko
./kmod-starcraft.git/ip_nat_STARCRAFT.ko
./ag7100.git/ag7100_mod.ko
./package/ar7100-gpio/src/ar7100gpiointr.ko
./package/ar7100-gpio/src/ar7100gpio.ko
./package/wndr3700-usbled/src/wndr3700-usbled.ko
./package/ar7100-watchdog/src/watchdog.ko
./kmod-dnshijack.git/ipt_dnshijack.ko
./dni-dmapool.git/dni-dmapool.ko

I tried to diff the WNDR3700 and Kamikaze 7.09 tree but it breaks on the binaries, I guess I'll have to find a way to work around that (diff sure has, I just never had to use it tongue). Both trees look very different, though.

(Last edited by Borromini on 12 Oct 2009, 21:50)

OK, but if we leave the existing Netgear modules alone, and keep it at v 7.09, shouldn't we be able to add our own modules and add a decent GUI, like X-WRT? I'm a complete noob when it comes to OpenWRT, and after checking out the docs, I'm pretty sure that I'm not gonna mess with the firmware by myself. And I'll prolly get flamed for this, but I can't leave the router without a user-friendly GUI. But if you guys would like my help testing anything, let me know -- I don't mind messing around with that as long as I can get the original Netgear firmware back in the end.

You probably can add it just on top yes, that shouldn't be a problem. As for other packages (I'm particularly interested in usb printer modules and a printer daemon package), you should find out what architecture is. BTW - I don't know if you ever tried 8.09, but it has an integrated GUI that pretty much blows your socks off wink.