User Tools

Site Tools


toh:zyxel:zyxel_nbg-419n_v2

ZyXEL NBG-419N v2

Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/useless stuff. Two to four sentences is about right. A picture is good, too. Edit the page to see how to add pictures.

FIXME Any text with a light background (like this text) provides guidance for creating the Details Page. When you have filled in correct/useful information (instead of any template that's there) remove the text, as well as the <WRAP> that encloses it.

NBG-419N v2

FIXME

Getting started with a new Device Page

  1. This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that you have to fill it with life and information.
  2. There are several "fixme" tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness.
  3. When there are no more "fixme" tags left, delete this one too, along with the <WRAP> that encloses it.

Keep the articles modular

  • Please include only model specific information, omit bla,bla and put everything generic into separate articles
  • If you have no time to write certain stuff, link to generic.overview
  • basic.config should lead the way, do not explain this again
  • DO NOT provide a complete howto here! Instead groom the general HowTos.

Supported Versions

Experimental Versions

None at this time.

Hardware Highlights

Installation

Flash Layout

FIXME Find out flash layout, then add the flash layout table here (copy, paste, modify the example).

Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.

OEM easy installation

FIXME The instructions below are for Broadcom devices and only serve as an example. Remove / modify them if they do not apply to this particular device!

This section deals with

  • How you install OpenWrt from a device freshly opened
  • 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.

OEM installation using the TFTP method

Specific values needed for tftp

FIXME Enter values for "FILL-IN" below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain "tftp")
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN

Upgrading OpenWrt

generic.sysupgrade

FIXME These are generic instructions. Update with your router's specifics.

LuCI Web Upgrade Process

Terminal Upgrade Process

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:

cd /tmp
wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:

cd /tmp
wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Debricking

Failsafe mode

Basic configuration

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

FIXME

Buttons

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

The ZyXEL NBG-419N has the following buttons:

BUTTON Event
Reset reset
WPS :?:
wlan (or rfkill) turn on/off wireless :?:
led :?:

Hardware

Info

General
Brand ZyXEL
Model NBG-419N
Versions v2
Device Type WiFi Router
Availability Discontinued
Comments - general
OpenWrt Support
Supported Since Revision
Supported Since Release
Supported Current Release
Unsupported
Hardware
Instruction set MIPS32
Sub Instruction Set MIPS32 24K/E series
Bootloader U-Boot
Target ramips
System-On-Chip Ralink RT3352
CPU MHz 384
Flash MB 8
RAM MB 64
Network
Ethernet 100M ports 5
Ethernet Gbit ports -
Switch Ralink RT3352
Modem No
VLAN ¿
Comments - network ports
Wireless
WLAN 2.4GHz b/g/n
WLAN 5.0GHz -
WLAN Hardware
Detachable Antennas 2
Comments - WLAN 2x2:2 MIMO
Interfaces
USB ports 1x 2.0
SATA ports -
Serial Yes
JTAG ¿
Comments - USB & SATA ports
Misc
LED count ¿
Button count ¿
Power supply
Links
Forum Topic URL https://forum.openwrt.org/viewtopic.php?id=52666
WikiDevi URL https://wikidevi.com/wiki/ZyXEL_NBG-419N_v2
OEM device homepage URL
Firmware OEM Stock URL
Firmware OpenWrt Install URL
Firmware OpenWrt Upgrade URL
Edit the underlying data View/Edit data

Photos

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Opening the case

Note: This will void your warranty!

FIXME Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, …

  • To remove the cover and open the device, do a/b/c

Main PCB:
**photo of PCB**

Serial

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port

FIXME Replace EXAMPLE by real values.

Serial connection parameters
for ZyXEL NBG-419N v2
EXAMPLE 115200, 8N1

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

Bootlogs

OEM bootlog

U-Boot 1.1.3 (Mar 6 2012 - 17:34:10) Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fb0000 spi_wait_nsec: 3c spi device id: c2 20 17 c2 20 (2017c220) find flash: MX25L6405D raspi_read: from:30000 len:1000 .raspi_read: from:30000 len:1000 .============================================ Ralink UBoot Version: 3.6.0.1_a3 -------------------------------------------- ASIC 3352_MP (Port5<->None) DRAM_CONF_FROM: Boot-Strapping DRAM_TYPE: DDR2 DRAM_SIZE: 512 Mbits DRAM_WIDTH: 16 bits DRAM_TOTAL_WIDTH: 16 bits TOTAL_MEMORY_SIZE: 64 MBytes Flash component: SPI Flash Date:Mar 6 2012 Time:17:34:10 ============================================ icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:128, ways:4, linesz:32 ,total:16384 ##### The CPU freq = 384 MHZ #### estimate memory size =64 Mbytes uboot: NBG-419N v2 Power LED...on Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 6: To emergency. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. a: Auto load system code then write to Flash via TFTP. 0 3: System Boot system code via Flash. ## Booting image at bc050000 ... raspi_read: from:50000 len:40 . Image Name: Linux Kernel Image Created: 2013-08-26 9:35:00 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 4007317 Bytes = 3.8 MB Load Address: 80000000 Entry Point: 802aa000 raspi_read: from:50040 len:3d2595 .............................................................. Verifying Checksum ... OK Uncompressing Kernel Image ... No initrd ## Transferring control to Linux (at address 802aa000) ... ## Giving linux memsize in MB, 64 Starting kernel ... LINUX started... THIS IS ASIC The CPU frequency set to 384 MHz CPU revision is: 0001964c Determined physical RAM map: memory: 04000000 @ 00000000 (usable) Built 1 zonelists. Total pages: 16256 Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes. Primary data cache 16kB, 4-way, linesize 32 bytes. cause = c0808044, status = 11000000 PID hash table entries: 256 (order: 8, 1024 bytes) calculating r4koff... 00177000(1536000) CPU frequency 384.00 MHz Using 192.000 MHz high precision timer. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Mount-cache hash table entries: 512 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) detected lzma initramfs MX25L6405D(c2 2017c220) (8192 Kbytes) mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 mtd: partition "Kernel" extends beyond the end of device "raspi" -- size truncated to 0x7b0000 RT3xxx EHCI/OHCI init. squashfs: LZMA suppport for slax.org by jro fuse init (API version 7.8) Ralink gpio driver initialized RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize rdm_major = 253 Ralink APSoC Ethernet Driver Initilization. v2.1 256 rx/tx descriptors allocated, mtu = 1500! MAC_ADRH -- : 0x0000107b MAC_ADRL -- : 0xefc91f15 kernel: NBG-419N v2 Power LED...on RL this is patch v3 nf_conntrack version 0.5.0 (512 buckets, 4096 max 400 reserved) ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone 2008/11/24 Kernel xt_register_target =======> arp_tables: (C) 2002 David S. Miller init started: BusyBox v1.12.1 (2013-08-26 17:16Algorithmics/MIPS FPU Emulator v1.5 :06 CST) starting pid 628, tty '': '/etc_ro/rcS' Welcome to _______ _______ ___ __ ____ _ _ ___ | ___ \| __ || | |__|| \ | || | / / | |___| || |__| || |__ __ | \| || |/ / | _ /| _ || || || |\ || \ |__| \__\|__| |__||______||__||_| \____||_|\___\ =System Architecture Department= ftpalg: Waiting for message from kernel @@@ BssidNum @@@ @@@ BssidNum @@@ nvram flash is ok NetUSB: module license 'Proprietary' taints kernel. Symbol usb_register_driver is being used by a non-GPL module, which will not be allowed in the future Please see the file Documentation/feature-removal-schedule.txt in the kernel source tree for more details. Symbol usb_deregister is being used by a non-GPL module, which will not be allowed in the future Please see the file Documentation/feature-removal-schedule.txt in the kernel source tree for more details. kc 88 : run_telnetDBGDServer start kc 225 : init_DebugD end INFO1612: NetUSB 1.156 u10, 00020615 : Feb 7 2012 18:26:20 INFO1614: AUTH ISOC INFO1615: INFO0076: init proc : PAGE_SIZE 4096 INFO1586: sleep to wait br0 to wake up INFO02C7: use dev Name br0 : fail starting pid 693, tty '/dev/ttyS1': '/bin/sh' BusyBox v1.12.1 (2013-08-26 17:16:06 CST) built-in shell (ash) Enter 'help' for a list of built-in commands. # Password for 'admin' changed INFO02C7: use dev Name br0 : fail rmmod: ralink_wdt: No such file or directory rmmod: cls: No such file or directory rmmod: hw_nat: No such file or directory rmmod: raeth: No such file or directory insmod: bridge.ko: module not found insmod: mii.ko: module not found insmod: raeth.ko: module not found phy_tx_ring = 0x03891000, tx_ring = 0xa3891000 phy_rx_ring0 = 0x03892000, rx_ring0 = 0xa3892000 MAC_ADRH -- : 0x0000107b MAC_ADRL -- : 0xefc91f15 RT305x_ESW: Link Status Changed CDMA_CSG_CFG = 81000007 GDMA1_FWD_CFG = C0710000 INFO02C7: use dev Name br0 : fail ##### disable 1st wireless interface ##### rmmod: rt2860v2_ap_net: No such file or directory rmmod: rt2860v2_ap: No such file or directory rmmod: rt2860v2_ap_util: No such file or directory rmmod: rt2860v2_sta_net: No such file or directory rmmod: rt2860v2_sta: No such file or directory rmmod: rt2860v2_sta_util: No such file or directory insmod: rt2860v2_ap_util.ko: module not found === pAd = c0096000, size = 804440 === <-- RTMPAllocAdapterBlock, Status=0 insmod: rt2860v2_ap_net.ko: module not found rmmod: nf_nat_pptp: No such file or directory rmmod: nf_conntrack_pptp: No such file or directory rmmod: nf_nat_proto_gre: No such file or directory rmmod: nf_conntrack_proto_gre: No such file or directory RX DESC a3213000 size = 2048 <-- RTMPAllocTxRxRingMemory, Status=0 Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) 1. Phy Mode = 9 2. Phy Mode = 9 3. Phy Mode = 9 RTMPSetPhyMode: channel is out of range, use first channel=0 MCS Set = ff ff 00 00 01 SYNC - BBP R4 to 20MHz.l INFO02C7: use dev Name br0 : fail INFO02C7: use dev Name br0 : fail INFO02C7: use dev Name br0 : fail SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l INFO02C7: use dev Name br0 : fail SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l INFO02C7: use dev Name br0 : fail SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l INFO02C7: use dev Name br0 : fail Main bssid = 10:7b:ef:c9:1f:14 <==== rt28xx_init, Status=0 0x1300 = 00064380 vconfig: ioctl error for rem: Invalid argument vconfig: ioctl error for rem: Invalid argument rmmod: 8021q: No such file or directory insmod: 8021q.ko: module not found vconfig: ioctl error for rem: Invalid argument eth2.2: Setting MAC address to 10 7b ef c9 1f 15. VLAN (eth2.2): Underlying device (eth2) has same MAC, not checking promiscious mode. ifconfig: ioctl 0x8913 failed: No such device brctl: bridge br0: No such device or address ##### config RT3052 vlan partition (LLLLW) ##### switch reg write offset=14, value=405555 switch reg write offset=50, value=2001 switch reg write offset=98, value=7f3f switch reg write offset=e4, value=3f switch reg write offset=40, value=1001 switch reg write offset=44, value=1001 switch reg write offset=48, value=1002 switch reg write offset=70, value=ffff506f done. INFO02C7: use dev Name br0 : fail eth2.1: Setting MAC address to 10 7b ef c9 1f 14. VLAN (eth2.1): Setting underlying device (eth2) to promiscious mode. ==================Start Kill TimeTool Daemon!!!!!================== CloneMAC mode is ... Enter timetool INFO02D0: use dev Name br0 INFO158F: sleep to wait br0 end. INFO15A8: UDP_BROAD 7417 tcpPort:20005 INFO02D0: use dev Name br0 INFO14DF: tcpConnector() started... ifconfig: ioctl 0x8914 failed: Cannot assign requested address ifconfig: ioctl 0x8914 failed: Cannot assign requested address cat: can't open '/etc/resolv.conf': No such file or directory dhcp_DnsMode is 12... INFO13BF: Bind to br0 killall: udhcpd: no process killed Set: phy[0].reg[RT305x_ESW: Link Status Changed 0] = 3900 Set: phy[1].reg[0] = 3900 Set: phy[2].reg[0] = 3900 Set: phy[3].reg[0] = 3900 Set: phy[0].reg[0] = 3100 Set: phy[1].reg[0] = 3100 Set: phy[2].reg[0] = 3100 Set: phy[3].reg[0] = 3100 ***** g_wl_interface = ra0 ****** ifconfig: ioctl 0x8913 failed: No such device libupnp: using UDP SSDP_PORT = 1900 RT305x_ESW: Link Status Changed iwpriv ra0 set IgmpSnEnable=1 Start initInterRL debug: AQ_LAN_IP=c0a80101 net!!!!! systeRL debug: AQ_SHIFT_COUNT=8 m[internet.sh] =RL debug: AQ_HTTP_PORT=50


OpenWrt bootlog

COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING


Notes

Tags

toh/zyxel/zyxel_nbg-419n_v2.txt · Last modified: 2015/12/16 13:06 by tmomas