Differences

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

toh:netgear:wndr3800 [2012/11/29 08:56]
hnyman add note about info on wndr3700 page
toh:netgear:wndr3800 [2014/10/12 12:58] (current)
theoradicus tag phy->nic
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 =====
Line 53: Line 53:
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 67:
==== 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): 
 +<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>
==== OpenWRT Boot Log ==== ==== OpenWRT Boot Log ====
Line 273: Line 476:
==== 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 523:
{{: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 372: Line 576:
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/
 +
===== 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}}

Back to top

toh/netgear/wndr3800.1354175761.txt.bz2 · Last modified: 2012/11/29 08:56 by hnyman