User Tools

Site Tools


toh:netgear:wndr4300v2

Netgear WNDR4300v2

Please transfer the content of this page to the new devicepage netgear_wndr4300_2

I created a new device page as requested but it seems to have disappeared.

I am putting some more notes in here at the bottom for the time being until I figure out what I am doing. I am serious about moving forward with this router. Look below for my notes on learning to build the firmware. There are two retail versions of this router:

  • V1: The label at the bottom of the router says WNDR4300. Similar to WNDR3700v4 but 3T3R. OpenWrt forum thread on WNDR3700v4. Stock Netgear WNDR4300v2 comes pre-installed with a modified version of OpenWrt Kamikaze (bleeding-edge, r18571). One can access a terminal on the WNDR4300v1 by using telnet.
  • V2: The label at the bottom of the router says WNDR4300v2.WNDR4500v3 but N750. Terminal can be accessed by connecting a TTL adapter to the UART connector on the board. Hit any key when prompted and U-Boot has built in commands made available:
  • ath> help

? - alias for 'help' autoscr - run script from memory

base - print or set address offset

bdinfo - print Board Info structure

board_hw_id_set - set board_hw_id

board_hw_id_show - Show board_hw_id

board_model_id_cmp - cmp_model_id

board_model_id_set - set board_model_id

board_model_id_show - Show board_model_id

board_parameters_save - Save board data from environment variables to flash.

board_parameters_set - Set WPS PIN code, Serial number, SSID, Passphrase, MA.

board_parameters_show - Show WPS PIN code, Serial number, SSID, Passphrase, M.

board_passphrase_set - set passphrase on board

board_passphrase_show - Show board_passphrase

board_ssid_set - set ssid on board

board_ssid_show - Show board_ssid

boot - boot default, i.e., run 'bootcmd'

bootd - boot default, i.e., run 'bootcmd'

bootelf - Boot from an ELF image in memory

bootm - boot application image from memory

bootp - boot image via network using BootP/TFTP protocol

bootvx - Boot vxWorks from an ELF image

chk_dniimg - check integrity of dni firmware image.

cmp - memory compare

coninfo - print console devices and information

cp - memory copy

crc32 - checksum calculation

dhcp - invoke DHCP client to obtain IP/boot params

echo - echo args to console

erase - erase FLASH memory

ethreg - Switch/PHY Reg rd/wr utility

exit - exit script

flinfo - print FLASH memory information

fw_recovery - start tftp server to recovery dni firmware image.

go - start application at address 'addr'

help - print online help

iminfo - print header information for application image

itest - return true/false on integer compare

loadb - load binary file over serial line (kermit mode)

loadn_dniimg - load dni firmware image from NAND.

loads - load S-Record file over serial line

loady - load binary file over serial line (ymodem mode)

loop - infinite loop on address range

macset - Set ethernet MAC address

macshow - Show ethernet MAC addresses

md - memory display

mii - MII utility commands

mm - memory modify (auto-incrementing)

mtest - simple RAM test

mw - memory write (fill)

nand - NAND sub-system

nboot - boot from NAND device

nfs - boot image via network using NFS protocol

nm - memory modify (constant address)

nmrp - start nmrp mechanism to upgrade firmware-image or string-table.

nor_fw_integrity_check - verify firmware checksum in NOR

nor_two_part_fw_integrity_check - verify firmware checksum in NOR

pci - list and access PCI Configuration Space

ping - send ICMP ECHO_REQUEST to network host

pll cpu-pll dither ddr-pll dither - Set to change CPU & DDR speed

pll erase

pll get

printenv- print environment variables

progmac - Set ethernet MAC addresses

protect - enable or disable FLASH write protection

rarpboot- boot image via network using RARP/TFTP protocol

reset - Perform RESET of the CPU

rnset - set region number

rnshow - Show Region Number on Board

run - run commands in an environment variable

saveenv - save environment variables to persistent storage

setenv - set environment variables

sleep - delay execution for some time

snset - set serial number

snshow - show serial number

test - minimal test like /bin/sh

tftpboot- boot image via network using TFTP protocol

version - print monitor version

wpspinset - set wpspin number

wpspinshow - show WPSPIN code

Forum thread → https://forum.openwrt.org/viewtopic.php?id=

Supported Versions

Version/Model Launch Date S/N Router firmware version OpenWrt Version Model Specific Notes
v1 2012-08 - V1.0.1.30 (Kamikaze r18571) Chaos Calmer 15.05.1 kernel support
v2 ~2014-12 - V1.0.0.26, ? (Kamikaze r18571) Same as v1 not supported … yet

:!: As of Chaos Calmer 15.05 both radios are supported at least on the v1 unit.

I found the coflery page on github and I am using it as a guide to compile the firmware. I have ubuntu 10 on virtualbox with all the appropriate packages installed (I think) and I have expanded the source code and the toolchain.

I tried to run make menuconfig and got the errors listed below. This does not seem right. This is a fresh install. Why would make menuconfig fail right out of the gate?

make menuconfig v=99 target/linux/x86/image/Config.in:5:warning: 'select' used by config symbol 'X86_GRUB_IMAGES' refer to undefined symbol 'PACKAGE_grub' package/dnibusybox/target-config.in:1:warning: config symbol defined without type

package/dnibusybox/target-config.in:5:warning: config symbol defined without type

package/dnibusybox/target-config.in:9:warning: config symbol defined without type

tmp/.config-package.in:1608:warning: 'select' used by config symbol 'PACKAGE_dni-ip' refer to undefined symbol 'PACKAGE_libnl-tiny' tmp/.config-package.in:1671:warning: 'select' used by config symbol 'PACKAGE_dnippp-mod-pppoa' refer to undefined symbol 'PACKAGE_linux-atm' tmp/.config-package.in:1767:warning: 'select' used by config symbol 'PACKAGE_greendownload' refer to undefined symbol 'PACKAGE_'

Your configuration changes were NOT saved.

toh/netgear/wndr4300v2.txt · Last modified: 2019/04/15 10:09 by tmomas