User Tools

Site Tools


toh:netgear:wndr3800

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:netgear:wndr3800 [2012/11/29 08:56]
hnyman add note about info on wndr3700 page
toh:netgear:wndr3800 [2015/07/21 08:40] (current)
kenyon [Installation] rc3
Line 7: Line 7:
 | v1   ​| ​ 2011-03 ​ | - | [[https://​dev.openwrt.org/​changeset/​28597|r28597]] | successor to the [[toh:​netgear:​WNDR3700]] | | v1   ​| ​ 2011-03 ​ | - | [[https://​dev.openwrt.org/​changeset/​28597|r28597]] | successor to the [[toh:​netgear:​WNDR3700]] |
  
-| {{:​meta:​icons:​tango:​48px-emblem-important.svg.png?​nolink}} | In general, the advice and documentation regarding WNDR3700v1 and WNDR3700v2 is also valid for WNDR3800. The only differences are with amounts of RAM and flash memory. This WNDR3800 article is rather short, as most of the applicable information can already be found on the [[toh:​netgear:​wndr3700|WNDR3700 wiki page]]. |+| {{:​meta:​icons:​tango:​48px-emblem-important.svg.png?​nolink}} | In general, the advice and documentation regarding WNDR3700v1 and WNDR3700v2 is also valid for WNDR3800. The only differences are with amounts of RAM and flash memory. This WNDR3800 article is rather short, as most of the applicable information can already be found on the [[toh:​netgear:​wndr3700|WNDR3700 wiki page]].  There is also a WNDR3800-1CHNAS which will not respond to the normal WNDR3800 images. ​ Applying [[https://​github.com/​nakarotori/​openwrt/​commit/​c1bb068f18e24f90b155520205b8b54688b98951|this patch]] does create a usable image. |
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
-^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^ +^ Version ​^ CPU ^ Ram ^ Flash ^ Network ​^ Wireless ​^ USB ^ Serial ^ JTag ^ Wiki ^ FCC 
-| Atheros AR7161 rev 2 680 MHz | 128MiB | 16MiB | 4 x 1| Yes | Yes | Yes | +| v1 | Atheros AR7161 rev 2 680MHz ​| 128MiB | 16MiB | 1 WAN + 4x LAN (GBit) | AR9220 [an 2x2:2] + AR9223 [bgn 2x2:​2] ​| Yes | Yes | Yes | [[https://​wikidevi.com/​wiki/​Netgear_WNDR3800|here]] | [[https://​apps.fcc.gov/​oetcf/​eas/​reports/​ViewExhibitReport.cfm?​mode=Exhibits&​RequestTimeout=500&​calledFromFrame=N&​application_id=278475&​fcc_id='​PY308300092'​|here]] |
  
 ===== Installation ===== ===== Installation =====
 1. First, it is need to select OpenWRT firmware, please consult ->​[[doc:​howto:​obtain.firmware]] ​ 1. First, it is need to select OpenWRT firmware, please consult ->​[[doc:​howto:​obtain.firmware]] ​
  
-This device is supported in Backfire 10.03.1 and above. Manually building OpenWrt is not required. Quickest way is to download a precompiled [[http://​downloads.openwrt.org/​backfire/10.03.1/​ar71xx/​|stable image]], look for wndr3800 factory (SquashFS is recommended):​ +This device is supported in Backfire 10.03.1 and above. Manually building OpenWrt is not required. Quickest way is to download a precompiled [[http://​downloads.openwrt.org/​barrier_breaker/14.07/ar71xx/generic/|last stable image]] ​(Barrier Breaker 14.07), look for wndr3800 factory (SquashFS is recommended):​ 
-  * [[http://​downloads.openwrt.org/​backfire/10.03.1/​ar71xx/​openwrt-ar71xx-wndr3800-squashfs-factory.img|openwrt-ar71xx-wndr3800-squashfs-factory.img]] ​      21-Dec-2011 01:03             ​3080325 +  * [[http://​downloads.openwrt.org/​barrier_breaker/14.07/ar71xx/generic/​openwrt-ar71xx-generic-wndr3800-squashfs-factory.img|openwrt-ar71xx-wndr3800-squashfs-factory.img]] 
-You also may try last trunk image: +You also may try Chaos Calmer 15.05 (pre-release) or last trunk image: 
-  * [[http://​downloads.openwrt.org/​snapshots/​trunk/​ar71xx/​openwrt-ar71xx-generic-wndr3800-squashfs-factory.img|openwrt-ar71xx-generic-wndr3800-squashfs-factory.img]]+  * [[http://​downloads.openwrt.org/​chaos_calmer/​15.05-rc3/​ar71xx/​generic/​openwrt-15.05-rc3-ar71xx-generic-wndr3800-squashfs-factory.img|openwrt-15.05-rc3-ar71xx-generic-wndr3800-squashfs-factory.img]] 
 +  * [[http://​downloads.openwrt.org/​snapshots/​trunk/​ar71xx/generic/​openwrt-ar71xx-generic-wndr3800-squashfs-factory.img|openwrt-ar71xx-generic-wndr3800-squashfs-factory.img]]
  
 2. Second, please consult ->​[[doc:​howto:​generic.flashing|Installing OpenWrt (generic)]] and additionally the instructions on this page and/or the one for the [[toh:​netgear:​WNDR3700]]. 2. Second, please consult ->​[[doc:​howto:​generic.flashing|Installing OpenWrt (generic)]] and additionally the instructions on this page and/or the one for the [[toh:​netgear:​WNDR3700]].
Line 27: Line 27:
  
 ==== Flash Layout ==== ==== Flash Layout ====
-See the example ->[[doc:techref:​Flash Layout]] to understand OpenWrt better.+Original layout of WNDR3800:
  
-''​cat /​proc/​mtd ​+''​cat /proc/mtd
 dev:    size   ​erasesize ​ name dev:    size   ​erasesize ​ name
 mtd0: 00050000 00010000 "​uboot"​ mtd0: 00050000 00010000 "​uboot"​
Line 41: Line 41:
 mtd8: 00010000 00010000 "​caldata"​ mtd8: 00010000 00010000 "​caldata"​
 mtd9: 00e3ffc0 00010000 "​mount_fs"''​ mtd9: 00e3ffc0 00010000 "​mount_fs"''​
-  ​Netgear WNDR3800 ​ Flash Layout ​          ​^^^^^^^^^^^ + ​Original ​Netgear WNDR3800 ​ Flash Layout ​ ^^^^^^^^^^^ 
-^ Layer0 ​      ​| ​ 16384KiB ​ |||||||||| +^ Layer0 ​      ​| ​ 16384KiB ​(16MiB) ​ ​|||||||||| 
-Size in KiB  | 320KiB | 128KiB | 14592KiB | 64KiB | 64KiB | 64KiB | 64KiB | 1024KiB | 64KiB | 14591,​9375KiB ​+Layer1 ​ ​| ​ 320KiB ​  128KiB ​  14592KiB ​ ||  ​64KiB   64KiB   64KiB   64KiB   1024KiB ​  64KiB  
-^ Name         | **//​uboot//​** | **//env//** | **//​rootfs//​** | **//​config//​** | **//​config_bak//​** | **//pot//** | **//​traffic_meter//​** | **//​language//​** | **//​caldata//​** | **//​mount_fs//​**| +^ Name         | **//​uboot//​** | **//env//** | **//​rootfs//​** ​|| **//​config//​** | **//​config_bak//​** | **//pot//** | **//​traffic_meter//​** | **//​language//​** | **//​caldata//​** | 
-^ mountpoint ​  ​| ​   |    |  /  |    |    |    |    |    |    |    ​| +^ Layer2 ​      ​| ​ |  |  64B  |  14591,​9375KiB ​ |    |    |    |    |    |    | 
-^ filesystem ​  ​| ​   |    |  SquashFS?  ​|    ​|    |    |    |    |    |    |+^ Name       ​| ​ |  |   ​|  ​**//​mount_fs//​** ​ ​| ​   |    |    |    |    |    ​
 +^ mountpoint ​  ​| ​   |    | /   ​| ​   |    |    |    |    |    |     
 +^ filesystem ​  ​| ​   |    | SquashFS? ​ |    |    |    |    |    |    |
  
 +  * config and config_bak -- NVRAM with configuration
 +  * traffic_meter -- collected data of traffic
 +
 +
 +OpenWRT layout for WNDR3800:
 +
 +''​OpenWRT:/#​ cat /​proc/​cmdline ​
 + ​board=WNDR3700 console=ttyS0,​115200 mtdparts=spi0.0:​320k(u-boot)ro,​128k(u-boot-env)ro,​15872k(firmware),​64k(art)ro rootfstype=squashfs,​jffs2 noinitrd
 +OpenWRT:/# cat /​proc/​mtd ​
 +dev:    size   ​erasesize ​ name
 +mtd0: 00050000 00010000 "​u-boot"​
 +mtd1: 00020000 00010000 "​u-boot-env"​
 +mtd2: 00f80000 00010000 "​firmware"​
 +mtd3: 00105440 00010000 "​kernel"​
 +mtd4: 00e7abc0 00010000 "​rootfs"​
 +mtd5: 00cc0000 00010000 "​rootfs_data"​
 +mtd6: 00010000 00010000 "​art"''​
 +
 +^   ​Netgear WNDR3800 ​ Flash Layout with OpenWRT ​ ^^^^^^^
 +^ Layer0 ​      ​| ​ 16MiB  ||||||
 +^ Layer1 ​      ​| ​ 320KiB ​ |  128KiB ​ |  15872KiB ​ |||  64KiB  |
 +^ Name         ​| ​ **//​uboot//​** ​ |  **//​u-boot-env//​** ​ |  **//​firmware//​** ​ |||  **//​art//​** ​ |
 +^ Layer2 ​      ​| ​   |    |  1070144B (~1MiB) ​ |  15182784B (~14,​5MiB) ​ ||    |
 +^ Name         ​| ​   |    |  **//​kernel//​** ​ |  **//​rootfs//​** ​ ||    |
 +^ Layer3 ​      ​| ​   |    |   ​| ​ 1813440B (~1,​73MiB) ​ |  12,​75MiB ​ |    |
 +^ Name         ​| ​   |    |   ​| ​   |  **//​rootfs-data//​** ​ |    |
 +^ Filesystem ​  ​| ​   |    |   ​| ​ squashfs ​ |  jffs  |    |
 +^ mountpoint ​  ​| ​   |    |   ​| ​ /  |  /​overlay ​ |    |
 +
 +See the example ->​[[doc:​techref:​Flash.Layout]] to understand OpenWrt better.
  
 ==== OEM easy installation ==== ==== OEM easy installation ====
Line 53: Line 85:
 You may install OpenWRT using upgrade firmware of web interface of original firmware. You may install OpenWRT using upgrade firmware of web interface of original firmware.
  
-Download a squashfs-factory image file of OpenWRT. +  - Download a squashfs-factory image file of OpenWRT. 
-* Open http://​192.168.1.1 in the web brouser. +  - Set IP from pool 192.168.1.2-192.168.1.254 on your computer and next open http://​192.168.1.1 in the web brouser. 
-Select an //​Administration//​ page, use firmware file selection button and firmware upgrade button to start firmware upgrade process. +  ​- ​Select an //​Administration//​ page, use firmware file selection button and firmware upgrade button to start firmware upgrade process. 
-Confirm firmwware upgrade to OpenWRT. +  ​- ​Confirm firmwware upgrade to OpenWRT. 
-Wait upload process, firmware upgrade process, additional wait 10 minutes ​and only next switch off and turn on router+  ​- ​Wait upload process, firmware upgrade process, additional wait up to 10 minutes. You wiil be able to notice this moment when browser won't be load http://​192.168.1.1/​index.htm at its next updating
-Telnet to 192.168.1.1. You in the [[doc:​uci|OpenWRT console]]. Now you may install [[doc:​LuCI]] if needed.+  ​- ​Telnet to 192.168.1.1. You in the [[doc:​uci|OpenWRT console]]. Now you may install [[doc:​LuCI]] if needed
 +  - If you can't connect via telnet, simple switch off and turn on router, wait several tens of seconds for router booting, and again try connect.
  
 ==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
Line 66: Line 99:
 ==== Upgrading OpenWrt ==== ==== Upgrading OpenWrt ====
  
-You shoud use a standard upgrade procedure. Please consult with ->​[[doc:​howto:​generic.sysupgrade]].+You should ​use a standard upgrade procedure. Please consult with ->​[[doc:​howto:​generic.sysupgrade]]. 
 + 
 +Here are the stages of upgrading the WNDR3800 to a newer OpenWRT version:  
 + 
 + 
 +  - download firmware - [[http://​downloads.openwrt.org/​snapshots/​trunk/​ar71xx/​openwrt-ar71xx-generic-wndr3800-squashfs-sysupgrade.bin|openwrt-ar71xx-generic-wndr3800-squashfs-sysupgrade.bin]]. 
 +  - backup (it is recommended to generate a config backup archive). 
 +  - flash FW (check keep settings option if you want to save your settings). 
 +  - when router comes up connect through SSH. 
 +  - opkg update 
 +  - opkg install luci 
 +  - opkg install luci-ssl (now you are able to connect through the web UI too)./ 
 +  - /​etc/​init.d/​uhttpd enable 
 +  - reboot and connect in order to see that everything works (sanity check). 
 + 
  
 ===== Bootlogs ===== ===== Bootlogs =====
 ==== Original firmware Boot Log ==== ==== Original firmware Boot Log ====
-| FIXME Please write here syslog ​of Netgear'​s ​firmware ​boot process |+serial console log of original ​firmware ​(modified OpenWRT Kamikaze):​ 
 +<​HTML>​ 
 +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​200px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​ 
 +<​code>​Linux version 2.6.15 (josn@dnisw3) (gcc version 3.4.4 (OpenWrt-2.0)) #1 Wed Sep 28 10:41:57 CST 2011 
 +flash_size passed from bootloader = 16 
 +CPU revision is: 00019374 
 +Determined physical RAM map: 
 + ​memory:​ 08000000 @ 00000000 (usable) 
 +Built 1 zonelists 
 +Kernel command line: console=ttyS0,​115200 root=31:09 rootfstype=squashfs init=/​etc/​preinit mtdparts=ar7100-nor0:​) 
 +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: 1024 (order: 10, 16384 bytes) 
 +Using 340.000 MHz high precision timer. 
 +Console: colour dummy device 80x25 
 +Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) 
 +Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) 
 +Memory: 126592k/​131072k available (2332k kernel code, 4380k reserved, 519k data, 140k init, 0k highmem) 
 +Mount-cache hash table entries: 512 
 +Checking for '​wait'​ instruction... ​ available. 
 +NET: Registered protocol family 16 
 +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 
 +tun: Universal TUN/TAP device driver, 1.6 
 +tun: (C) 1999-2004 Max Krasnyansky <​maxk@qualcomm.com>​ 
 +10 cmdlinepart partitions found on MTD device ar7100-nor0 
 +Creating 10 MTD partitions on "​ar7100-nor0":​ 
 +0x00000000-0x00050000 : "​uboot"​ 
 +0x00050000-0x00070000 : "​env"​ 
 +0x00070000-0x00eb0000 : "​rootfs"​ 
 +0x00eb0000-0x00ec0000 : "​config"​ 
 +0x00ec0000-0x00ed0000 : "​config_bak"​ 
 +0x00ed0000-0x00ee0000 : "​pot"​ 
 +0x00ee0000-0x00ef0000 : "​traffic_meter"​ 
 +0x00ef0000-0x00ff0000 : "​language"​ 
 +0x00ff0000-0x01000000 : "​caldata"​ 
 +0x00070040-0x00eb0000 : "​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... 
 +usb 2-2: new full speed USB device using ar7100-ohci and address 2 
 +ehci-9130: hub_port_reset  
 +usb 2-2: device descriptor read/64, error -145 
 +ehci-9130: hub_port_reset  
 +usb 2-2: device descriptor read/64, error -145 
 +usb 2-2: new full speed USB device using ar7100-ohci and address 3 
 +ehci-9130: hub_port_reset  
 +usb 2-2: device descriptor read/64, error -145 
 +ehci-9130: hub_port_reset  
 +usb 2-2: device descriptor read/64, error -145 
 +usb 2-2: new full speed USB device using ar7100-ohci and address 4 
 +usb 2-2: device not accepting address 4, error -145 
 +usb 2-2: new full speed USB device using ar7100-ohci and address 5 
 +usb 2-2: device not accepting address 5, error -145 
 +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 
 +nf_conntrack version 0.4.1 (1024 buckets, 8192 max) 
 +NET: Registered protocol family 2 
 +IP route cache hash table entries: 2048 (order: 1, 8192 bytes) 
 +TCP established hash table entries: 8192 (order: 3, 32768 bytes) 
 +TCP bind hash table entries: 8192 (order: 3, 32768 bytes) 
 +TCP: Hash tables configured (established 8192 bind 8192) 
 +TCP reno registered 
 +ip_conntrack version 2.4 (1024 buckets, 8192 max) - 272 bytes per conntrack 
 +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 
 +ip6_tables: (C) 2000-2002 Netfilter core team 
 +NET: Registered protocol family 17 
 +Ebtables v2.0 registered 
 +ar7100wdt_init:​ Registering WDT success 
 +VFS: Mounted root (squashfs filesystem) readonly. 
 +Freeing unused kernel memory: 140k freed 
 +Warning: unable to open an initial console. 
 +Algorithmics/​MIPS FPU Emulator v1.5 
 +init started: ​ BusyBox v1.4.2 (2011-09-28 09:38:46 CST) multi-call binary 
 +Loading data from /dev/mtd/3 ... 
 +The data configuration is Valid 
 +The data center is Running ... 
 +/​etc/​net6conf/​6proc:​ /​etc/​net6conf/​6proc:​ 31: cannot create /​proc/​sys/​net/​ipv6/​conf/​br1/​accept_dad:​ Directory not 
 +/​etc/​net6conf/​6proc:​ /​etc/​net6conf/​6proc:​ 31: cannot create /​proc/​sys/​net/​ipv6/​neigh/​br1/​not_send_neighbor_solict 
 +ipt_CONENAT:​ module license '​unspecified'​ taints kernel. 
 +ip_conntrack_proto_esp loaded 
 +ip_nat_proto_esp loaded 
 +ip_conntrack_rtsp v0.6.21 loading 
 +ip_nat_rtsp v0.6.21 loading 
 +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:​2M93235C00263 
 +SN: 2M93235C00263 
 +hw_id:​29763654+16+128 
 +model_id:​WNDR3800 
 +The region number is: 0x0002 
 +REGION: WW 
 +dni-qos module init at dev:eth1, real_dev:​eth1 
 +/​home2/​josn/​WNDR3800-buildroot/​wndr3800-iptv/​build_mips/​linux-2.6-wndr3700u/​rtl8366s/​switch-core.c #​346:​switch_it 
 +/​home2/​josn/​WNDR3800-buildroot/​wndr3800-iptv/​build_mips/​linux-2.6-wndr3700u/​rtl8366s/​switch-core.c #​351:​switch_it 
 +/​home2/​josn/​WNDR3800-buildroot/​wndr3800-iptv/​build_mips/​linux-2.6-wndr3700u/​rtl8366s/​switch-core.c #​355:​switch_it 
 +/​home2/​josn/​WNDR3800-buildroot/​wndr3800-iptv/​build_mips/​linux-2.6-wndr3700u/​rtl8366s/​switch-core.c #​381:​switch_it 
 +/​home2/​josn/​WNDR3800-buildroot/​wndr3800-iptv/​build_mips/​linux-2.6-wndr3700u/​rtl8366s/​switch-core.c #​383:​switch_it 
 +/​home2/​josn/​WNDR3800-buildroot/​wndr3800-iptv/​build_mips/​linux-2.6-wndr3700u/​rtl8366s/​switch-core.c #​390:​switch_is 
 +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: 2c:​b0:​5d:​93:​b0:​aa  
 +AG7100CHH: Mac address for unit 1 
 +AG7100CHH: 2c:​b0:​5d:​93:​b0:​ab  
 +init the qos 
 +NET-LAN: Default WAN MAC is : 2c:​b0:​5d:​93:​b0:​ab 
 +AG7100: unsupported ioctl 
 +device eth0 entered promiscuous mode 
 +NET-LAN: Default LAN MAC is : 2C:​B0:​5D:​93:​B0:​AA 
 +ag7100_ring_alloc Allocated 6400 at 0x878d0000 
 +ag7100_ring_alloc Allocated 4032 at 0x879ba000 
 +CHH:​mac:​verify:​ 0 if: 00000002 
 +AG7100: cfg1 0xf cfg2 0x7014 
 +AG7100: unit 0 phy is up...RGMii 1000Mbps full duplex 
 +AG7100#​1245:​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 
 +/​home2/​josn/​WNDR3800-buildroot/​wndr3800-iptv/​build_mips/​linux-2.6-wndr3700u/​kmod-ar7100-watchdog/​watchdog.c #25:d 
 +br0: port 1(eth0) entering learning state 
 +br0: topology change detected, propagating 
 +br0: port 1(eth0) entering forwarding state 
 +br0: port 1(eth0) entering disabled state 
 +br0: port 1(eth0) entering learning state 
 +br0: topology change detected, propagating 
 +br0: port 1(eth0) entering forwarding state 
 +</​code>​ 
 +</​p>​ 
 +</​HTML>​ 
 + 
  
 ==== OpenWRT Boot Log ==== ==== OpenWRT Boot Log ====
 ''​dmesg''​ for the trunk OpenWRT at Nov 23, 2012: ''​dmesg''​ for the trunk OpenWRT at Nov 23, 2012:
 +<​HTML>​
 +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​200px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 <​code>​[ ​   0.000000] Linux version 3.3.8 (openwrt@snapon) (gcc version 4.6.4 20121106 (prerelease) (Linaro GCC 4.6-2012.11) ) <​code>​[ ​   0.000000] Linux version 3.3.8 (openwrt@snapon) (gcc version 4.6.4 20121106 (prerelease) (Linaro GCC 4.6-2012.11) )
  #1 Fri Nov 23 04:16:29 PST 2012  #1 Fri Nov 23 04:16:29 PST 2012
Line 257: Line 500:
 [   ​14.670000] br-lan: port 1(eth0.1) entered forwarding state [   ​14.670000] br-lan: port 1(eth0.1) entered forwarding state
 </​code>​ </​code>​
 +</p>
 +</​HTML>​
 +
 +
  
 ===== Basic configuration ===== ===== Basic configuration =====
Line 273: Line 520:
 ==== Ethernet switch configuration (VLAN) ==== ==== Ethernet switch configuration (VLAN) ====
 If you want set up some ports to another 802.1Q VLAN, you should known about ethernet port numbers: If you want set up some ports to another 802.1Q VLAN, you should known about ethernet port numbers:
-^Port marked ​in the case|"1"|"2"|"3"|"4"+^Port number ​in the switch configuation|Port 0|Port ​1|Port 2|Port 3|Port 4|Port 5
-^Port number ​in the switch configuation|Port 3|Port 2|Port 1|Port 0| +^Port marked ​in the case|"​4"​|"​3"|"2"|"1"|"WAN"|CPU port (trunk)| 
-"Port 5" ​are CPU port"Port 4" are connected to CPU's eth1 and it should not be used in your configuration.+"Port 4" are connected to CPU's eth1 and usually ​it should not be used in your configuration.
  
-**Please remember**: Port 5 in tagged mode should be included into each VLAN. Otherwize ​such VLAN can't be routed (will isolated from router).+**Please remember**: Port 5 in tagged mode should be included into each VLAN. Otherwise ​such VLAN can't be routed (will isolated from router).
  
 ===== Hardware ===== ===== Hardware =====
Line 320: Line 567:
 {{:​toh:​netgear:​wndr3700-serial.jpg|WNDR3700 serial pin connector}} {{:​toh:​netgear:​wndr3700-serial.jpg|WNDR3700 serial pin connector}}
  
-3.3V serial port voltage !!!+3.3V serial port voltage !!! Is it need to use 3.3V serial adapter, for example, with PL2303 chip. (You may modify usb cable for mobile phone.)
  
 COM port settings: Speed:​115200,​ Data bits:8, Stop bits:1, Parity:​none,​ Flow control:​none COM port settings: Speed:​115200,​ Data bits:8, Stop bits:1, Parity:​none,​ Flow control:​none
 +
 ==== JTAG ==== ==== JTAG ====
 Internal J3 connector with the key pin in the left-top corner at the photo, even pins in top line, odd pins in bottom line. Internal J3 connector with the key pin in the left-top corner at the photo, even pins in top line, odd pins in bottom line.
Line 356: Line 604:
   - Wait until the router is listening on 192.168.1.1 (this takes 45-60 seconds; to confirm, you can ping 192.168.1.1,​ and see if it responds; it's best to start a sequence of ping requests above, before your hands get busy with the factory reset button).   - Wait until the router is listening on 192.168.1.1 (this takes 45-60 seconds; to confirm, you can ping 192.168.1.1,​ and see if it responds; it's best to start a sequence of ping requests above, before your hands get busy with the factory reset button).
   - Release the factory reset button. (If you happen to have a serial cable connected, you'll see that the system is in firmware recovery mode and that it will be waiting for you to upload firmware. But you don't need the serial cable at all.)   - Release the factory reset button. (If you happen to have a serial cable connected, you'll see that the system is in firmware recovery mode and that it will be waiting for you to upload firmware. But you don't need the serial cable at all.)
-  - Run a tftp CLIENT on your computer (enter no hostname on the command line), set trasfer ​mode to binary and retransmit timeout to one second (optional), next put firmware image to router. +  - Run a tftp CLIENT on your computer (enter no hostname on the command line), set transfer ​mode to binary and retransmit timeout to one second (optional), next put firmware image to router. 
-For the linux tftp client enter the following (note "rexmt 1"! Some people do not see "​1"​ and enter "​binary"​ as the value for rexmt, thus they do not switch to the binary mode, and upload doesn'​t start):<​code bash>+For the linux tftp client enter the following (note "rexmt 1"! Some people do not see "​1"​ and enter "​binary"​ as the value for rexmt, thus they do not switch to the binary mode, and upload doesn'​t start): 
 +<code bash>
 verbose verbose
 trace trace
Line 372: Line 621:
 Many Netgear routers have telnet support built-in, but gaining access to it requires an extra step of sending a specially formatted payload to the ''​telnet daemon''​ before it will allow users to log in. Netgear provides the executable called ''​telnetenable.exe''​ for doing just this. It is only available for the "other OS". However, people not employed by Netgear wrote two alternative Programs that do run under Unix. One is written in C and is under the GPLv2 and the other written in Python and is under the MIT License. Many Netgear routers have telnet support built-in, but gaining access to it requires an extra step of sending a specially formatted payload to the ''​telnet daemon''​ before it will allow users to log in. Netgear provides the executable called ''​telnetenable.exe''​ for doing just this. It is only available for the "other OS". However, people not employed by Netgear wrote two alternative Programs that do run under Unix. One is written in C and is under the GPLv2 and the other written in Python and is under the MIT License.
   * please follow => [[toh:​netgear:​telnet.console|Unlocking the Netgear Telnet Console]]   * please follow => [[toh:​netgear:​telnet.console|Unlocking the Netgear Telnet Console]]
 +
 +===== Resources =====
 +  - OEM source code and toolchain: ftp://​downloads.netgear.com/​files/​GPL/​
 +
 +===== Custom OpenWrt image with LuCi integrated =====
 +
 +http://​www.superwrt.eu/​en/​firmware/​netgear-wndr3800/​
 +
 +
 +====== Dataentry for Netgear WNDR3800 =======
 +
 +{{page>​playground:​infobox:​dataentry_permanote&​noheader&​nofooter&​noeditbtn}}
 +
 +
 +---- dataentry ​ ----
 +Brand                      : Netgear # 
 +Model                      : WNDR3800 # 
 +Version(s)s ​               : --- # 
 +Status_ ​                   : 10.03 # 
 +Supported Since Rev        : (R12345) # 
 +Supported Since Rel        : (14.07) # 
 +Supported Current Rel      : (15.05) # 
 +Platform ​                  : Atheros AR7161 # 
 +Target ​                    : ar71xx # 
 +Instruction Set            : (instruction) # 
 +Sub Instruction Set        : (sub-instruction) # 
 +Bootloader ​                : (U-Boot) # 
 +CPU MHZ                    : 680 # 
 +Flash MB                   : 16 # 
 +RAM MB                     : 128 # 
 +Wired ports_ ​              : 5x Gbit # 
 +Modem                      : (No) # 
 +VLAN                       : Yes # 
 +WLAN Hardware ​             : (WLAN Hardware) # 
 +WLAN Std                   : a/b/g/n # 
 +Detachable Antennas_ ​      : (2x) # 
 +USB                        : (1x 2.0 1x 3.0) # 
 +Serial ​                    : (Yes/No) # 
 +JTAG                       : (Yes/No) # 
 +LED count                  : (-/​1/​2/​3/​4/​5/​6/​7/​8/​9) # 
 +Button count               : (-/​1/​2/​3/​4/​5/​6/​7/​8/​9) # 
 +Device Page_page ​          : toh:​netgear:​wndr3800 # 
 +Forum Topic_urls ​          : http://​forum.openwrt.org/​viewtopic.php?​id=57250 # 
 +WikiDevi_url ​              : http://​forum.openwrt.org/​viewtopic.php?​id=57250 # 
 +Vendor Device_url ​         : http://​example.com # 
 +OpenWrt factory-img_url ​   : https://​downloads.openwrt.org/​chaos_calmer/​15.05-rc1/​ar71xx/​generic/​openwrt-15.05-rc1-ar71xx-generic-dir-505-a1-squashfs-factory.bin # OpenWrt factory ("full install"​) firmware
 +OpenWrt sysupgrade-img_url : https://​downloads.openwrt.org/​chaos_calmer/​15.05-rc1/​ar71xx/​generic/​openwrt-15.05-rc1-ar71xx-generic-dir-505-a1-squashfs-sysupgrade.bin # OpenWrt sysupgrade firmware
 +Pictures_urls ​             : http://​(URL);​ general picture to identify the device; detail pictures to be provided on device page. # 
 +Comments ​                  : ​ # 
 +----
  
 ===== Tags ===== ===== Tags =====
-{{tag>​GigabitEthernet 5Port 2PHY USB 1USB JTAG 802.11bgn ath9k 802.11abgn_simultan 128RAM 16Flash MIPS MIPS32 24Kc}}+{{tag>​GigabitEthernet 5Port 2NIC USB 1USB JTAG 802.11bgn ath9k 802.11abgn_simultan 128RAM 16Flash MIPS MIPS32 24Kc}}
toh/netgear/wndr3800.1354175761.txt.bz2 · Last modified: 2012/11/29 08:56 by hnyman