Support for NETGEAR WNDR4300 v2

Hello guys
I would like to know if the NETGEAR WNDR4300 v2 supports the LEDE / OpenWrt firmware? It´s very similar to NETGEAR WNDR4500 v3.
Is anyone working on LEDE firmware for WNDR4300 v2?

hi,I'm looking it too
it's so sad

Some time ago somebody sent me a Netgear WNDR4300, for supporting the V2 version, however he commited a mistake and I received the V1 which was already supported.

He sent me again another unit from a remote seller. Again I received the V1.

So no luck with this device.

Old archived posts on the forum say the WNDR4300v2 is not supported for OpenWRT .. but I found this repo: https://github.com/coflery/WNDR4300v2 .... anyone tried ???

1 Like

First boot with uart connected. It does not seem to respond when I hit a key to interrupt the boot. Should I connect the 3.3v pin? Right now I just have tx,rx and ground connected.

You mustn't ever connect the Vcc/ 3.3V pin, only rx/ tx and gnd. Connecting Vcc/ 3.3V would provide two power sources with different potentials to the same device, if you'd be extremely lucky, only the usb2serial adapter would go up in smoke, but the router is just as much at risk of permanent destruction.

1 Like

IT said "Please press enter to activate this console." so I did ... again ... only this time it responded! Woohoo!"

This is not a telnet session!! This is a serial connection to the UART pins on the board.

root@WNDR4300v2:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "caldata_backup"
mtd3: 00010000 00010000 "config"
mtd4: 00010000 00010000 "traffic_meter"
mtd5: 00010000 00010000 "pot"
mtd6: 00160000 00010000 "reserved"
mtd7: 00010000 00010000 "caldata"
mtd8: 00120000 00020000 "kernel"
mtd9: 017e0000 00020000 "rootfs"
mtd10: 00b80000 00020000 "rootfs_data"
mtd11: 01900000 00020000 "firmware"
mtd12: 00200000 00020000 "language"
mtd13: 00020000 00020000 "mtdoops"
mtd14: 064e0000 00020000 "reserved"

I found this article on DD-WRT about initial steps toward documenting a router.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=286532&start=15&sid=9477aa4584e861033bdfda3ecd08d528

I am making some notes here and I will put it in a new wiki for the WNDR4300V2 with pics and everything else I can think of. I will ask for help when I get stuck but I have been around linux long enough to think I can maybe build the kamikaze firmware with a little help from you all. I will keep working toward a build of the latest firmware until I get stuck.

Step one: I am working on verifying that the system can be restored from a bricked state via tftp.

Here is a bootlog:

Down towards the bottom of the first part (right before.....) it says
" Client starts...[Listening] for ADVERTISE...checksum bad "
Is that the tftp client looking for server for debricking?

I am going to try uploading via tftp with the original firmware 1.0.0.28 and see what happens.

U-Boot 1.1.4 (Aug 12 2014 - 15:21:46)                                        
                                                                             
U-boot dni29 V0.5 for DNI HW ID: 29764821 NOR flash 2MB NAND flash 128MB RAM 12B
 - Dragonfly 1.0DRAM:                   
sri                                     
ath_ddr_initial_config(278): (ddr2 init)
ath_sys_frequency: cpu 775 ddr 650 ahb 258
Tap values = (0x10, 0x10, 0x10, 0x10)   
128 MB                                  
Top of RAM usable for U-Boot at: 88000000
Reserving 265k for U-Boot at: 87fbc000
Reserving 192k for malloc() at: 87f8c000
Reserving 44 Bytes for Board Info at: 87f8bfd4                                  
Reserving 36 Bytes for Global Data at: 87f8bfb0                                 
Reserving 128k for boot params() at: 87f6bfb0                                   
Stack Pointer at: 87f6bf98                                                      
Now running in RAM - U-Boot at: 87fbc000                                        
Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x15                             
flash size 2MB, sector count = 32                                               
Flash:  2 MB                                                                    
Qualcomm Atheros SPI NAND Driver, Version 0.1 (c) 2014  Qualcomm Atheros Inc.   
ath_parse_read_id: SPI NAND V.Id: 0xc8 D.Id: 0xf1                               
====== NAND Parameters ======                                                   
sc = 0x87ff77e4 page = 0x800 block = 0x20000In:    serial                       
Out:   serial                                                                   
Err:   serial                                                                   
Net:   ath_gmac_enet_initialize...                                              
Fetching MAC Address from 0x87fe914c                                            
ath_gmac_enet_initialize: reset mask:c02200                                     
athr_mgmt_init ::done                                                           
Dragonfly  ----> S17 PHY *                                                      
athrs17_reg_init: complete                                                      
SGMII in forced mode                                                            
athr_gmac_sgmii_setup SGMII done                                                
: cfg1 0x80000000 cfg2 0x7114                                                   
eth0: a0:63:91:a0:d6:02                                                         
eth0 up                                                                         
eth0                                                                            
Setting 0x181162c0 to 0x40802100                                                
Hit any key to stop autoboot:  0                                                
Trying eth0                                                                     
dup 1 speed 1000                                                                
                                                                                
 Client starts...[Listening] for ADVERTISE...checksum bad                       
Tchecksum bad                                                                   
Tchecksum bad                                                                   
Tchecksum bad                                                                   
                                                                                
Retry count exceeded; boot the image as usual                                   
                                                                                
 nmrp server is stopped or failed !                                             
                                                                                
Loading from device 0: ath-spi-nand (offset 0x0)                                
[0x1800] is corrected by ECC                                                    
[0xe000] is corrected by ECC    ......

This line repaets several hundered times before boot continues
 
,,,,,,
                                                                                
** check kernel image **                                                        
   Verifying Checksum ... OK                                                    
                                                                                
** check rootfs image **                                                        
   Verifying Checksum ... OK                                                    
## Booting image at 81000000 ...                                                
   Image Name:   MIPS OpenWrt Linux-2.6.31                                      
   Created:      2014-11-17  10:12:03 UTC                                       
   Image Type:   MIPS Linux Kernel Image (lzma compressed)                      
   Data Size:    1159942 Bytes =  1.1 MB                                        
   Load Address: 80002000                                                       
   Entry Point:  8027d970                                                       
   Verifying Checksum ... OK                                                    
   Uncompressing Kernel Image ... OK                                            
No initrd                                                                       
## Transferring control to Linux (at address 8027d970) ...                      
## Giving linux memsize in bytes, 134217728                                     
                                                                                
Starting kernel ...                                                             
                                                                                
Booting QCA956x                                                                 
Linux version 2.6.31 (root@dnixm-compiler3) (gcc version 4.3.3 (GCC) ) #1 Mon N4
flash_size passed from bootloader = 2                                           
CPU revision is: 00019750 (MIPS 74Kc)                                           
ath_sys_frequency: cpu 775 ddr 650 ahb 258                                      
Determined physical RAM map:                                                    
 memory: 08000000 @ 00000000 (usable)                                           
Initrd not found or empty - disabling initrd                                    
Zone PFN ranges:                                                                
  Normal   0x00000000 -> 0x00008000                                             
Movable zone start PFN for each node                                            
early_node_map[1] active PFN ranges                                             
    0: 0x00000000 -> 0x00008000                                                 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512      
Kernel command line: console=ttyS0,115200 rootfstype=squashfs board=WNDR4500v3 )
PID hash table entries: 512 (order: 9, 2048 bytes)                              
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)                  
Inode-cache hash table entries: 8192 (order: 3, 32768 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: 126264k/131072k available (2574k kernel code, 4628k reserved, 661k data)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1         
NR_IRQS:128                                                                     
plat_time_init: plat time init done                                             
r4k_clockevent_init: Ignoring int_usable failure                                
Calibrating delay loop... 387.07 BogoMIPS (lpj=774144)                          
Mount-cache hash table entries: 512                                             
NET: Registered protocol family 16                                              
ath_pcibios_init: bus 0                                                         
ath_pcibios_init(254): PCI 0 CMD write: 0x356                                   
registering PCI controller with io_map_base unset                               
bio: create slab <bio-0> at 0                                                   
SCSI subsystem initialized                                                      
usbcore: registered new interface driver usbfs                                  
usbcore: registered new interface driver hub                                    
usbcore: registered new device driver usb                                       
pci 0000:00:00.0: PME# supported from D0 D1 D3hot                               
pci 0000:00:00.0: PME# disabled                                                 
pcibios_map_irq: IRQ 76 for bus 0                                               
NET: Registered protocol family 2                                               
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
TCP established hash table entries: 4096 (order: 3, 32768 bytes)                
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)                       
TCP: Hash tables configured (established 4096 bind 4096)                        
TCP reno registered                                                             
NET: Registered protocol family 1                                               
ATH GPIOC major 0                                                               
squashfs: version 4.0 (2009/01/31) Phillip Lougher                              
JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.             
msgmni has been set to 246                                                      
io scheduler noop registered                                                    
io scheduler deadline registered (default)                                      
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled                        
serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A                   
console [ttyS0] enabled                                                         
tun: Universal TUN/TAP device driver, 1.6                                       
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>                          
8 cmdlinepart partitions found on MTD device ath-nor0                           
Creating 8 MTD partitions on "ath-nor0":                                        
0x000000000000-0x000000040000 : "u-boot"                                        
0x000000040000-0x000000050000 : "u-boot-env"                                    
0x000000050000-0x000000060000 : "caldata_backup"                                
0x000000060000-0x000000070000 : "config"                                        
0x000000070000-0x000000080000 : "traffic_meter"                                 
0x000000080000-0x000000090000 : "pot"                                           
0x000000090000-0x0000001f0000 : "reserved"                                      
0x0000001f0000-0x000000200000 : "caldata"                                       
Qualcomm Atheros SPI NAND Driver, Version 0.1 (c) 2014 Qualcomm Atheros Inc.    
ath_parse_read_id: SPI NAND V.Id: 0xc8 D.Id: 0xf1                               
6 cmdlinepart partitions found on MTD device ath-spi-nand                       
Creating 6 MTD partitions on "ath-spi-nand":                                    
0x000000000000-0x000000120000 : "kernel"                                        
0x000000120000-0x000001900000 : "rootfs"                                        
mtd: find squashfs magic at 0x120000 of "ath-spi-nand"                          
the correct location of partition "rootfs": 0x000000120000-0x000001900000       
mtd: partition "rootfs" set to be root filesystem                               
mtd: partition "rootfs_data" created automatically, ofs=D80000, len=B80000      
0x000000d80000-0x000001900000 : "rootfs_data"                                   
0x000000000000-0x000001900000 : "firmware"                                      
0x000001900000-0x000001b00000 : "language"                                      
0x000001b00000-0x000001b20000 : "mtdoops"                                       
0x000001b20000-0x000008000000 : "reserved"                                      
====== NAND Parameters ======                                                   
sc = 0x87851800 page = 0x800 block = 0x20000                                    
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                      
Port Status 1c000004                                                            
ath-ehci ath-ehci.0: ATH EHCI                                                   
ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1              
ehci_reset Intialize USB CONTROLLER in host mode: 13                            
ehci_reset Port Status 1c000000                                                 
ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000                                   
ehci_reset Intialize USB CONTROLLER in host mode: 13                            
ehci_reset Port Status 1c000000                                                 
ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00                                 
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002                   
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1              
usb usb1: Product: ATH EHCI                                                     
usb usb1: Manufacturer: Linux 2.6.31 ehci_hcd                                   
usb usb1: SerialNumber: platform                                                
usb usb1: configuration #1 chosen from 1 choice                                 
hub 1-0:1.0: USB hub found                                                      
hub 1-0:1.0: 1 port detected                                                    
Port Status 1c000000                                                            
ath-ehci1 ath-ehci1.1: ATH EHCI                                                 
ath-ehci1 ath-ehci1.1: new USB bus registered, assigned bus number 2            
ehci_reset Intialize USB CONTROLLER in host mode: 13                            
ehci_reset Port Status 1c000000                                                 
ath-ehci1 ath-ehci1.1: irq 3, io mem 0x1b400000                                 
ehci_reset Intialize USB CONTROLLER in host mode: 13                            
ehci_reset Port Status 1c000000                                                 
ath-ehci1 ath-ehci1.1: USB 2.0 started, EHCI 1.00                               
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002                   
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1              
usb usb2: Product: ATH EHCI                                                     
usb usb2: Manufacturer: Linux 2.6.31 ehci_hcd                                   
usb usb2: SerialNumber: platform                                                
usb usb2: configuration #1 chosen from 1 choice                                 
hub 2-0:1.0: USB hub found                                                      
hub 2-0:1.0: 1 port detected                                                    
Initializing USB Mass Storage driver...                                         
usbcore: registered new interface driver usb-storage                            
USB Mass Storage support registered.                                            
Netfilter messages via NETLINK v0.30.                                           
NAT Session Management application ports priority table is loaded!              
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)                             
ip_tables: (C) 2000-2006 Netfilter Core Team                                    
TCP cubic registered                                                            
NET: Registered protocol family 10                                              
ip6_tables: (C) 2000-2006 Netfilter Core Team                                   
IPv6 over IPv4 tunneling driver                                                 
NET: Registered protocol family 17                                              
Ebtables v2.0 registered                                                        
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>                   
All bugs added by David S. Miller <davem@redhat.com>                            
arch/mips/atheros/gpio.c (ath_simple_config_init) JUMPSTART_GPIO: 12            
arch/mips/atheros/gpio.c (ath_simple_config_init) ATH_S17INT_GPIO: 10           
athwdt_init: Registering WDT success                                            
VFS: Mounted root (squashfs filesystem) readonly on device 31:9.                
Freeing unused kernel memory: 152k freed                                        
Please be patient, while OpenWrt loads ...                                      
- init -                                                                        
init started:  BusyBox v1.4.2 (2014-11-17 17:34:23 CST) multi-call binary       
Loading data from /dev/mtd3 ...                                                 
                                                                                
Done!                                                                           
                                                                                
The data center is Running ...                                                  
                                                                                
board parameter in mtd7 and mtd2 partition are same and valid                   
PPP generic driver version 2.4.2                                                
dni-lan-qos module init.                                                        
dni-qos module init.                                                            
NET: Registered protocol family 24                                              
nf_nat_STARCRAFT: module license 'unspecified' taints kernel.                   
Disabling lock debugging due to kernel taint                                    
nf_conntrack_rtsp v0.6.21 loading                                               
nf_nat_rtsp v0.6.21 loading                                                     
nf_conntrack_proto_esp loaded                                                   
NET: Registered protocol family 27                                              
PPPoL2TP kernel driver, V0.16.1                                                 
PPTP-GRE-v1.13 2007 (C) Delta Networks Inc.                                     
qca956x_GMAC: Length per segment 1536                                           
956x_GMAC: qca956x_gmac_attach                                                  
956x_GMAC: qca956x_set_gmac_caps                                                
Currently in interrupt mode unit0                                               
qca956x_set_gmac_caps   CHECK DMA STATUS                                        
mac:0 Registering S17....                                                       
qca956x_GMAC: RX TASKLET - Pkts per Intr:160                                    
qca956x_GMAC: Mac address for unit 0:bf1f0000                                   
qca956x_GMAC: a0:63:91:a0:d6:02                                                 
qca956x_GMAC: Max segments per packet :   1                                     
qca956x_GMAC: Max tx descriptor count :   128                                   
qca956x_GMAC: Max rx descriptor count :   224                                   
qca956x_GMAC: Mac capability flags    :   12002401                              
956x_GMAC: Serdes PLL is locked value 0x1b838116                                
Generating Rules...                                                             
Done!                                                                           
SN: 3XB1585304315                                                               
WAN MAC: a0:63:91:a0:D6:03                                                      
LAN MAC: a0:63:91:a0:D6:02                                                      
WLA MAC: a0:63:91:a0:D6:04                                                      
The region number is: 0x0001                                                    
REGION: NA                                                                      
client bridge loaded                                                            
cp: cannot stat '/etc/wpa2.orig/*': No such file or directory                   
To set s17 LOOKUP_CTRL_REG registers, flag 0                                    
athr_gmac_ring_alloc Allocated 2048 at 0x8791b800                               
sram_desc_cnt 1536,mac Unit 0,Tx r->ring_desc 0xbd000000                        
athr_gmac_ring_alloc Allocated 3584 at 0x87015000                               
sram_desc_cnt 4224,mac Unit 0,Rx r->ring_desc 0xbd000600                        
956x_GMAC: eth0 in SGMII MODE                                                   
Dragonfly  ----> S17 PHY *                                                      
/proc/qca_switch/nf_athrs17_hnat is created                                     
/proc/qca_switch/nf_athrs17_hnat_wan_type is created                            
/proc/qca_switch/nf_athrs17_hnat_ppp_id is created                              
/proc/qca_switch/nf_athrs17_hnat_udp_thresh is created                          
/proc/qca_switch/nf_athrs17_hnat_wan_ip is created                              
/proc/qca_switch/nf_athrs17_hnat_ppp_peer_ip is created                         
/proc/qca_switch/nf_athrs17_hnat_ppp_peer_mac is created                        
/proc/qca_switch/nf_athrs17_hnat_wan_mac is created                             
/proc/qca_switch/nf_athrs17_hnat_ppp_id2 is created                             
/proc/qca_switch/nf_athrs17_hnat_ppp_peer_mac is created                        
Registering IPv6 hooks...                                                       
Adding ACL rules 15 - upnp_ssdp_add_acl_rules                                   
ACL is not yet enabled. Enabling...                                             
Adding ACL rules 8 - ipv6_snooping_solicted_node_add_acl_rules                  
Adding ACL rules 12 - ipv6_snooping_sextuple0_group_add_acl_rules               
Adding ACL rules 14 - ipv6_snooping_quintruple0_1_group_add_acl_rules           
Hello, nat helper module for 1.1!

.... to be continued ......

######## S17 SSDK init succeeded! ########                                      
athrs17_reg_init:done                                                           
955x_SGMII::athr_gmac_sgmii_setup  Done                                         
Setting Drop CRC Errors, Pause Frames and Length Error frames                   
Setting PHY...                                                                  
Phy setup Complete                                                              
To set s17 LOOKUP_CTRL_REG registers, flag 1                                    
ADDRCONF(NETDEV_UP): phy0: link is not ready                                    
athr_gmac_ring_free Freeing at 0x8791b800                                       
athr_gmac_ring_free Freeing at 0x87015000                                       
Write Reg: 0x00000620: Oldval = 0x089004f0 Newval = 0x080004f0                  
Write Reg: 0x00000660: Oldval = 0x0014007e Newval = 0x0014017e                  
Write Reg: 0x0000066c: Oldval = 0x0014007d Newval = 0x0014017d                  
Write Reg: 0x00000678: Oldval = 0x0014007b Newval = 0x0014017b                  
Write Reg: 0x00000684: Oldval = 0x00140077 Newval = 0x00140177                  
Write Reg: 0x00000690: Oldval = 0x0014006f Newval = 0x0014016f                  
Write Reg: 0x0000069c: Oldval = 0x0014005f Newval = 0x0014015f                  
Write Reg: 0x00000c00: Oldval = 0x00000003 Newval = 0x00000002                  
Write Reg: 0x00000420: Oldval = 0x00010001 Newval = 0x00010001                  
Write Reg: 0x00000424: Oldval = 0x00003040 Newval = 0x00002040                  
Write Reg: 0x00000428: Oldval = 0x00010001 Newval = 0x00010001                  
Write Reg: 0x0000042c: Oldval = 0x00003040 Newval = 0x00001040                  
Write Reg: 0x00000430: Oldval = 0x00010001 Newval = 0x00010001                  
Write Reg: 0x00000434: Oldval = 0x00003040 Newval = 0x00001040                  
Write Reg: 0x00000438: Oldval = 0x00010001 Newval = 0x00010001                  
Write Reg: 0x0000043c: Oldval = 0x00003040 Newval = 0x00001040                  
Write Reg: 0x00000440: Oldval = 0x00010001 Newval = 0x00010001                  
Write Reg: 0x00000444: Oldval = 0x00003040 Newval = 0x00001040                  
Write Reg: 0x00000448: Oldval = 0x00010001 Newval = 0x00020001                  
Write Reg: 0x0000044c: Oldval = 0x00003040 Newval = 0x00001040                  
Write Reg: 0x000To set s17 LOOKUP_CTRL_REG registers, flag 0                    
00614: Oldval = athr_gmac_ring_alloc Allocated 2048 at 0x87183800               
0x00000000 Newvasram_desc_cnt 4224,mac Unit 0,Tx r->ring_desc 0xbd000000        
l = 0x80000001                                                                  
athr_gmac_ring_alloc Allocated 3584 at 0x87015000                               
Write Reg: 0x000sram_desc_cnt 4224,mac Unit 0,Rx r->ring_desc 0xbd000600        
00610: Oldval = 0x00000000 Newva956x_GMAC: eth0 in SGMII MODE                   
l = 0x001bd560                                                                  
Dragonfly  ----> S17 PHY *                                                      
Write Reg: 0x00000614: Oldval = 0x00000001 Newval = 0x80010002                  
Write Reg: 0x00000610: Oldval = Error: cannot be initialized twice!             
0x00000000 Newvaathrs17_reg_init:done                                           
l = 0x001b7fe0                                                                  
955x_SGMII::athr_gmac_sgmii_setup  Done                                         
Write Reg: 0x000Setting Drop CRC Errors, Pause Frames and Length Error frames   
00614: Oldval = Setting PHY...                                                  
0x00000002 Newval = 0x80020002                                                  
Write Reg: 0x00000090: Oldval = 0x00000000 Newval = 0x00001280                  
Write Reg: 0x00000624: Oldval = 0x007f7f7f Newval = 0x7f7f7f7f                  
Write Reg: 0x00000210: Oldval = 0x20202000 Newval = 0x26262606                  
Write Reg: 0x00000214: Oldval = 0x00002020 Newval = 0x01002026                  
Phy setup Complete                                                              
To set s17 LOOKUP_CTRL_REG registers, flag 1                                    
ADDRCONF(NETDEV_UP): phy0: link is not ready                                    
init.enet: Default WAN MAC is : a0:63:91:a0:d6:03                               
device eth0 entered promiscuous mode                                            
device phy0 entered promiscuous mode                                            
init.enet: Default LAN MAC is : a0:63:91:a0:d6:02                               
Loading DNI-ENET driver                                                         
device pas0 entered promiscuous mode                                            
                                                                                
Enet:0 port2 up                                                                 
956x_GMAC: Enet Unit:0 PHY:2 is UP eth0 SGMII 1000Mbps full duplex              
956x_GMAC: done cfg2 0x7235 ifctl 0x0 miictrl                                   
955x_SGMII::athr_gmac_sgmii_setup  Done                                         
Setting Drop CRC Errors, Pause Frames and Length Error frames                   
ADDRCONF(NETDEV_CHANGE): phy0: link becomes ready                               
br0: port 1(eth0) entering forwarding state                                     
br0: port 1(eth0) entering disabled state                                       
br0: port 1(eth0) entering forwarding state                                     
                                                                                
 SSDK Init OK!                                                                  
operate done.                                                                   
                                                                                
udhcp server (v0.9.8) started                                                   
                                                                                
Enet:0 port:2 down                                                              
956x_GMAC:unit 0: phy 2 not up carrier 1                                        
br0: port 1(eth0) entering disabled state                                       
The attached devices demo is Running ...                                        
The telnetenable is running ...                                                 
Deleting static route ... Done!                                                 
Adding static route ... Done!                                                   
dni-qos attached on eth1.                                                       
dni-qos attached on br0.                                                        
Starting Firewall...                                                            
Done!                                                                           
Deleting static route ... Done!                                                 
killall: ripd: no process killed                                                
Deleting static route ... Done!                                                 
Adding static route ... Done!                                                   
                                                                                
Enet:0 port2 up                                                                 
956x_GMAC: Enet Unit:0 PHY:2 is UP eth0 SGMII 1000Mbps full duplex              
956x_GMAC: done cfg2 0x7235 ifctl 0x0 miictrl                                   
955x_SGMII::athr_gmac_sgmii_setup  Done                                         
Setting Drop CRC Errors, Pause Frames and Length Error frames                   
br0: port 1(eth0) entering forwarding state                                     
start rip process                                                               
start initial data                                                              
$Shutting down igmpproxy:                                                       
killall: igmpproxy: no process killed                                           
Sorry, rule does not exist.                                                     
Sorry, rule does not exist.                                                     
                                                                                
killall: igmpproxy: no process killed                                           
/etc/rc.common: /etc/rc.common: 378: /etc/init.d/leafp2p.sh: not found          
time zone index is : 21                                                         
Run NTP Client with setting: pri:time-b.netgear.com sec:time-c.netgear.com      
killall: miniupnpd: no process killed                                           
Jan  1 00:00:28 miniupnpd[995]: listening on 192.168.1.1:5555                   
No user name for DDNS!                                                          
***************enable hnat******************                                    
syslogd can't open the temp log file: /tmp/log/log-message or /var/log/messages 
Starting Firewall...                                                            
Done!                                                                           
The region number is: 0x0001                                                    
REGION: NA                                                                      
Generating RSA private key, 1024 bit long modulus                               
ufsd:: trace mask set to 0000000f                                               
ufsd: driver (lke_9.0.0 lke_9.0.0_r233352_b3, LBD=ON, acl, ioctl, bdi, sd(0), w0
NTFS support included                                                           
Big endian platform                                                             
optimized: speed                                                                
Build_for__NETGEAR_WNDR4500V3_k2.6.31_2014-06-18_lke_9.0.0_r233352_b3           
                                                                                
kcg 333 :GPL NetUSB up!                                                         
kc   90 : run_telnetDBGDServer start                                            
kc  227 : init_DebugD end                                                       
INFO1802: NetUSB 1.02.53, 0002061F : Jun 19 2014 11:29:41                       
INFO1804: 7423: WNDR4500v3 :WNDR4500v3                                          
INFO1805:  AUTH ISOC                                                            
INFO1806:  MOVE_HEAD filterAudio                                                
usbcore: registered new interface driver KC NetUSB General Driver               
INFO0ADC:  --- checkSBusTimeoutThread start ---                                 
INFO0145:  init proc : PAGE_SIZE 4096                                           
INFO16D6:  infomap 8730bef0                                                     
INFO16D9:  sleep to wait br0 to wake up                                         
INFO02CE:  use dev Name br0                                                     
INFO16E2:  sleep to wait br0 end.                                               
INFO16FB:  UDP_BROAD 7423 tcpPort:625868800                                     
INFO02CE:  use dev Name br0                                                     
INFO15DF: tcpConnector() started...                                             
Changing password for admin                                                     
New password:Generating selfsigned certificate with subject 'C=DE;ST=Saxony;L=L0
AUTO FW CHECK: power cycle                                                      
                                                                                
Retype password:/etc/rc.common: /etc/rc.common: 117: detplc: not found          
FW checking ...                                                                 
week_day == 3                                                                   
POT is Running...                                                               
POT is Finished!!!                                                              
The POT-(Get/Set) Demo is Running ...                                           
ADDRCONF(NETDEV_UP): sit0: link is not ready                                    
ADDRCONF(NETDEV_UP): pas0: link is not ready                                    
                                                                                
Password for admin changed by root                                              
Set private base 0xc0a80101 for br0                                             
Setup LAN interface entry done!                                                 
Setup WAN interface entry done!                                                 
killall: smbd: no process killed                                                
killall: smbd: no process killed                                                
killall: nmbd: no process killed                                                
USB Storage daemon is Running ...                                               
Changing password for admin                                                     
New password:INFO14BC: Bind to br0                                              
                                                                                
Retype password:                                                                
Password for admin changed by root                                              
[USB-AFP]: Total 0 partitions are FOUND!                                        
killall: avahi-daemon: no process killed                                        
[USB-AFP]: Loading USB share information ......diskname: (null)                 
cat: /var/run/afpd.pid: No such file or directory                               
Args: 1                                                                         
ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Righd
ath_dfs: Version 2.0.0                                                          
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved        
ath_tx99: Version 2.0                                                           
Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved             
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reservd
ath_ahb: 10.2-00085-8 (Atheros/multi-bss)                                       
__ath_attach: Set global_scn[0]                                                 
*** All the minfree values should be <= ATH_TXBUF-32, otherwise default value w*
ACBKMinfree = 48                                                                
ACBEMinfree = 32                                                                
ACVIMinfree = 16                                                                
ACVOMinfree = 0                                                                 
CABMinfree = 48                                                                 
UAPSDMinfree = 0                                                                
ATH_TXBUF=540                                                                   
Enterprise mode: 0x03bda000                                                     
Restoring Cal data from Flash                                                   
Green-AP : Green-AP : Attached                                                  
                                                                                
ath_get_caps[6148] rx chainmask mismatch actual 3 sc_chainmak 0                 
ath_get_caps[6123] tx chainmask mismatch actual 3 sc_chainmak 0                 
ath_attach_dfs[12558] dfsdomain 1                                               
ath_tx_paprd_init sc 87000000 PAPRD disabled in HAL                             
SC Callback Registration for wifi0                                              
wifi0: Atheros 956X: mem=0xb8100000, irq=2                                      
ath_pci: 10.2-00085-8 (Atheros/multi-bss)                                       
__ath_attach: Set global_scn[1]                                                 
*** All the minfree values should be <= ATH_TXBUF-32, otherwise default value w*
ACBKMinfree = 48                                                                
ACBEMinfree = 32                                                                
ACVIMinfree = 16                                                                
ACVOMinfree = 0                                                                 
CABMinfree = 48                                                                 
UAPSDMinfree = 0                                                                
ATH_TXBUF=540                                                                   
Restoring Cal data from Flash                                                   
Green-AP : Green-AP : Attached                                                  
                                                                                
ath_get_caps[6148] rx chainmask mismatch actual 7 sc_chainmak 0                 
ath_get_caps[6123] tx chainmask mismatch actual 7 sc_chainmak 0                 
ath_attach_dfs[12558] dfsdomain 1                                               
ath_tx_paprd_init sc 87bf0000 PAPRD disabled in HAL                             
SC Callback Registration for wifi1                                              
wifi1: Atheros ???: mem=0x12000000, irq=76 hw_base=0xb2000000                   
ath_attach_dfs[12558] dfsdomain 1                                               
ath_attach_dfs[12558] dfsdomain 1                                               
Creating ap for NETGEAR52 on                                                    
wlan_vap_create : enter. devhandle=0x864d02c0, opmode=IEEE80211_M_HOSTAP, flags1
wlan_vap_create : exit. devhandle=0x864d02c0, opmode=IEEE80211_M_HOSTAP, flags=.
VAP device ath0 created                                                         
Added ath0 mode master                                                          
Invalid command : bgscan                                                        
Interface doesn't accept private ioctl...                                       
HALDbg (8BE0): Operation not permitted                                          
Interface doesn't accept private ioctl...                                       
ForBiasAuto (8BE0): Operation not permitted                                     
                                                                                
 DES SSID SET=NETGEAR52                                                         
 ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1            
Set freq vap stop send + 85fdc000                                               
Set freq vap stop send -85fdc000                                                
Set wait done --85fdc000                                                        
/etc/ath/makeVAP: /etc/ath/makeVAP: 492: cannot create /proc/sys/dev/ath/htdupit
WARNING: Fragmentation with HT mode NOT ALLOWED!!                               
Error for wireless request "Set Fragmentation Threshold" (8B24) :               
    SET failed on device ath0 ; Invalid argument.                               
Invalid command : setVowExt                                                     
Invalid command : setKeySrchAlways                                              
Invalid command : set_vsp_enable                                                
Invalid command : setPhyRestartWar                                              
Invalid command : setVowExtStats                                                
sc nodebug 0                                                                    
Created ath0 mode ap for NETGEAR52                                              
lo        no wireless extensions.                                               
                                                                                
sit0      no wireless extensions.                                               
                                                                                
phy0      no wireless extensions.                                               
                                                                                
br0       no wireless extensions.                                               
                                                                                
eth0      no wireless extensions.                                               
                                                                                
eth1      no wireless extensions.                                               
                                                                                
pas0      no wireless extensions.                                               
                                                                                
wifi0     no wireless extensions.                                               
                                                                                
wifi1     no wireless extensions.                                               
                                                                                
Modules already loaded                                                          
Creating ap for NETGEAR52-5G on                                                 
wlan_vap_create : enter. devhandle=0x85f502c0, opmode=IEEE80211_M_HOSTAP, flags1
wlan_vap_create : exit. devhandle=0x85f502c0, opmode=IEEE80211_M_HOSTAP, flags=.
VAP device ath1 created                                                         
Added ath1 mode master                                                          
Invalid command : bgscan                                                        
Interface doesn't accept private ioctl...                                       
HALDbg (8BE0): Operation not permitted                                          
Invalid command : extoffset                                                     
                                                                                
 DES SSID SET=NETGEAR52-5G                                                      
 ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1             
Set freq vap stop send + 85ff8000                                               
Set freq vap stop send -85ff8000                                                
Set wait done --85ff8000                                                        
/etc/ath/makeVAP: /etc/ath/makeVAP: 492: cannot create /proc/sys/dev/ath/htdupit
WARNING: Fragmentation with HT mode NOT ALLOWED!!                               
Error for wireless request "Set Fragmentation Threshold" (8B24) :               
    SET failed on device ath1 ; Invalid argument.                               
Invalid command : setVowExt                                                     
Invalid command : setKeySrchAlways                                              
Invalid command : set_vsp_enable                                                
Invalid command : setPhyRestartWar                                              
Invalid command : setVowExtStats                                                
sc nodebug 0                                                                    
Created ath1 mode ap for NETGEAR52-5G                                           
lo        no wireless extensions.                                               
                                                                                
sit0      no wireless extensions.                                               
                                                                                
phy0      no wireless extensions.                                               
                                                                                
br0       no wireless extensions.                                               
                                                                                
eth0      no wireless extensions.                                               
                                                                                
eth1      no wireless extensions.                                               
                                                                                
pas0      no wireless extensions.                                               
                                                                                
wifi0     no wireless extensions.                                               
                                                                                
wifi1     no wireless extensions.                                               
                                                                                
lo        no wireless extensions.                                               
                                                                                
sit0      no wireless extensions.                                               
                                                                                
phy0      no wireless extensions.                                               
                                                                                
br0       no wireless extensions.                                               
                                                                                
eth0      no wireless extensions.                                               
                                                                                
eth1      no wireless extensions.                                               
                                                                                
pas0      no wireless extensions.                                               
device ath0 entered promiscuous mode                                            
                                                                                
wifi0     no wireless extensions.                                               
                                                                                
wifi1     no wireless extensions.                                               
                                                                                
arping: bind: Cannot assign requested address                                   
>>>>> WPS MODE, 2                                                               
>>>>> WPS ENABLED, PSK                                                          
cat: /etc/wpa2/WSC_ath0.conf: No such file or directory                         
>>>>> WPS Translate, Index:0                                                    
lo        no wireless extensions.                                               
                                                                                
sit0      no wireless extensions.                                               
                                                                                
phy0      no wireless extensions.                                               
                                                                                
br0       no wireless extensions.                                               
                                                                                
eth0      no wireless extensions.                                               
                                                                                
eth1      no wireless extensions.                                               
                                                                                
pas0      no wireless extensions.                                               
device ath1 entered promiscuous mode                                            
                                                                                
wifi0     no wireless extensions.                                               
                                                                                
wifi1     no wireless extensions.                                               
                                                                                
arping: bind: Cannot assign requested address                                   
>>>>> WPS MODE, 2                                                               
>>>>> WPS ENABLED, PSK                                                          
cat: /etc/wpa2/WSC_ath1.conf: No such file or directory                         
>>>>> WPS Translate, Index:2                                                    
Configuration fi ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, va 
le: /etc/wpa2/WS DEVICE IS DOWN ifname=ath0                                     
C_ath0.conf                                                                     
 DEVICE IS DOWN ifname=ath0                                                     
ath0: Could not connect to kernel driver                                        
Using interface ath0 with hwaddr a0:63:91:a0:d6:02 and ssid 'NETGEAR52'         
br0: port 3(ath0) entering forwarding state                                     
Configuration fi ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, val 
le: /etc/wpa2/WS DEVICE IS DOWN ifname=ath1                                     
C_ath1.conf                                                                     
 DEVICE IS DOWN ifname=ath1                                                     
ath1: Could not connect to kernel driver                                        
Using interface ath1 with hwaddr a0:63:91:a0:d6:04 and ssid 'NETGEAR52-5G'      
br0: port 4(ath1) entering forwarding state                                     
traffic_meter start : .                                                         
killall: igmpproxy: no process killed                                           
mtdoops: Attached to MTD device 13 name mtdoops                                 
Boot up procedure is Finished!!!                                                
                                                                                
Please press Enter to activate this console. mlme_create_infra_bss : Overridingl
                                                                                
                                                                                
                                                                                
BusyBox v1.4.2 (2014-11-17 17:34:23 CST) Built-in shell (ash)                   
Enter 'help' for a list of built-in commands.                                   
                                                                                
  _______                     ________        __                                
 |       |.-----.-----.-----.|  |  |  |.----.|  |_                              
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|                             
 |_______||   __|_____|__|__||________||__|  |____|                             
...deleted this junk to fit the required 32000 character limit .....
                         
root@WNDR4300v2:/#
1 Like

So we're at the point where CPU is booting and serial interface works, network interfaces can be enumerated, but iwconfig shows "no wireless extensions" instead of the status? Or am I just misinterpreting the log? What about LAN outputs?

Hi,

FYI, Netgear WNDR4300v2 support is coming to master :
https://patchwork.ozlabs.org/project/openwrt/list/?series=150068
Patched OpenWrt master branch on this router is in pretty good shape now - stable, already running for days with no problems so far; all buttons, LEDs, USB, LAN, WAN and WiFis are working OK.

Regards
Michal

1 Like

Then how can I download it at present?

1 Like

I too would like to download at present for this model!

For now the only way is to build an image for yourselves using git master source with above patches applied. Flashable image (if patches get accepted) will come with 20.xx release. AFAIK 19.07 will still be based on older architecture (ar71xx), so expect no support there.

Building is not a difficult task, especially if you have access to any recent Linux distro, even on a virtual machine (i.e. Ubuntu or CentOS).

1 Like

Can anyone else build the patched firmware and share a clean install i dont care for the stock NG firmware and i more than likely wont go back to stock i just added external antennas and am in need of Openwrt i cant build at the moment my rigg is down for a few months i can also use it for testing for the developer if needed since its a unsupported and not so popular router with great specs if not i understand

Generally you should not trust binary images built outside of official OpenWrt site, and developers are not willing to support such builds either. If you have access to recent Linux distro, I can provide a short copy-and-paste solution so you can compile an image yourself from official OpenWrt code.

1 Like

That would be very helpful ill see when i can barrow a laptop for this. I really appreciate any help that i can get. And ive been reading that alot lately about untrusted firmware.

Once you have a modern Linux installed and configured, please visit the page:
https://openwrt.org/docs/guide-developer/quickstart-build-images
and install developer packages listed there (they are not required for desktop system but are used when building programs). Then in command line shell (terminal) type following commands (without '$'):

$ git clone -b master https://git.openwrt.org/openwrt/openwrt.git
$ cd openwrt
$ wget -O - https://patchwork.ozlabs.org/series/150068/mbox/ | git am
$ ./scripts/feeds update -a && ./scripts/feeds install -a
$ cat << ZZZ > .config
CONFIG_TARGET_ath79=y
CONFIG_TARGET_ath79_nand=y
CONFIG_TARGET_ath79_nand_DEVICE_netgear_wndr4300-v2=y
CONFIG_ALL_KMODS=y
CONFIG_DEVEL=y
CONFIG_CCACHE=y
CONFIG_COLLECT_KERNEL_DEBUG=y
CONFIG_IMAGEOPT=y
ZZZ
$ make defconfig
$ make download
$ make -j 9

Output image ready for flashing is located there:
bin/targets/ath79/nand/openwrt-ath79-nand-netgear_wndr4300-v2-squashfs-factory.img

Good luck!

1 Like

AFAIK ath79 builds are supported by v19.07 but it's unlikely that a new device will be supported after the initial release but I also could be very wrong about this. If your patches pass the usual testing they should be accepted after code being reviewed by someone. So it may take some time.

Thanks alot "realmicu" i actually built it over night flashed this morning it was working amazingly and crazy fast until i decided to change the static ip address then i got locked out tried to reset now only boot loop. Is there a recovery tftp method ive been trying all morning and afternoon with no luck i was just too excited and this is what happens when i rush? I'm ready to get this thing going again. Let me know i may have to order a uart cable. Thanks much everybody this was alot of fun im having a blast.

1 Like