Also note that the Wifi chip for this router is the Broadcom BCM4318 chip and not the atheros.
Router DG834v4 (same model, but without wifi) has the same firmware.
Router DG834GBv4 is interchangeable with this, but installation instructions does not apply because of differences in original OEM firmware.
| SoC | CPU Freq | Ram | Flash | Network | USB | Serial | JTag |
|---|---|---|---|---|---|---|---|
| Broadcom BCM6348 | 240MHz | 16MiB | 4MiB | 4 x 1 | possible | Yes | Yes |
NOTE:
Download OpenWrt:
Download the source code from netgear:
Download the original firmware:
Generate the .img file (which can be used for upgrading through the OEM web interface):
Preparing the router to upload the firmware:
If you have linux installed:
If you only have windows installed, the procedure is as follows:
Note: dg834_recovery_utility.zip only works on windows 32bit
Please check out the article flash.layout. It contains an example and a couple of explanations.
| Partition | Size | EraseSize | Name | Function |
|---|---|---|---|---|
| mtd0 | 00010000 | 00002000 | “CFE” | bootloader |
| mtd1 | 000dff00 | 00010000 | “kernel” | kernel |
| mtd2 | 00300000 | 00010000 | “rootfs” | root file system |
| mtd3 | 000b0000 | 00010000 | “rootfs_data” | conf, packages |
| mtd4 | 00010000 | 00010000 | “nvram” | OEM conf |
| mtd5 | 003e0000 | 00010000 | “linux” | upgrade |
| |
This section deals with how you install OpenWrt from a device freshly opened. Plus the steps required such as reset to factory defaults if the device has already been configured
Note: Reset router to factory defaults if it has been previously configured.
If you want to upgrade using TFTP you follow these steps (as an alternative to the above install process).
If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
cd /tmp/ wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
cd /tmp/ wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
The default network configuration is:
| Interface Name | Description | Default configuration |
|---|---|---|
| br-lan | LAN & WiFi | 192.168.1.1/24 |
| vlan0 (eth0.0) | LAN ports (1 to 4) | None |
| vlan1 (eth0.1) | WAN port | DHCP |
| wl0 | WiFi | Disabled |
Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.
| Port | Switch port |
|---|---|
| LAN 1 | 3 |
| LAN 2 | 2 |
| LAN 3 | 1 |
| LAN 4 | 0 |
| GPIO line | Connected |
|---|---|
| 0 | Green LED Power |
| 1 | Red LED Power |
| 2 | LED Dsl |
| 3 | LED Internet |
→ hardware.button on howto use and configure the hardware button(s).
The Netgear DG834G V4 has only one button:
| BUTTON | Event | GPIO |
|---|---|---|
| Reset | reset | 6 |
| Instruction set: | MIPS |
| Vendor: | Broadcom |
| bootloader: | CFE |
| Board ID: | 96348W3 |
| System-On-Chip: | BCM6348SKFBG |
| CPU/Speed | BMIPS3300 V0.7 / 240 MHz |
| Flash-Chip: | Spansion S29GL032A90TFIR4 |
| Flash size: | 4 MiB |
| RAM: | EM638165TS-6G / 16 MiB / 166MHz |
| Wireless: | Broadcom 4318 11b/g |
| Ethernet: | BCM5325 w/ vlan support swconfig |
| Internet: | ADSL2+ |
| USB: | possible 1 x 1.1 |
| Serial: | Yes |
| JTAG: | Yes |
→ port.serial general information about the serial port, serial port cable, etc.
Serial console is J521. Settings are: 115200, 8, n, 1
How to connect to the Serial Port of this specific device:
NOTE: R521, R522 and R523 are missing on the DG834Gv4, (it could be 1 kiloohm).
| Pint out | Line |
|---|---|
| 1 | GND |
| 2 | Tx |
| 3 | Vcc |
| 4 | Rx |
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
Netgear DG834 comes with standard 12-pin JTAG interface. The JTAG port is J201.
| Name signal | Pint out | Pin out | Name signal |
|---|---|---|---|
| nTRST | 1 | 2 | GND |
| TDI | 3 | 4 | GND |
| TDO | 5 | 6 | GND |
| TMS | 7 | 8 | GND |
| TCK | 9 | 10 | GND |
| nSRST | 11 | 12 | n/a |
Example of use:
| JTAG | XILIX | Parallel Port |
|---|---|---|
| 11 nSRST | ||
| 9 TCK | ---------100R--------- | D1, Pin 3 |
| 7 TMS | --------100R--------- | D2, Pin 4 |
| 5 TDO | --------100R--------- | Select, Pin 13 |
| 3 TDI | ---------100R--------- | D0, Pin 2 |
| 1 nTRST | ||
| 2 GND | --------------------------------------- | GND, Pines 20, 25 |