User Tools

Site Tools


toh:netgear:netgear_r6120

Netgear R6120

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

The Netgear AC1200 (R6120-100NAS) is a dual band WiFi router supporting AC1200 Wi-Fi - 300+867 Mbps (2.4 and 5 GHz) speeds. The router has 2 non-detachable antennas, a 10/100 FastEthernet switch and a single USB 2.0 port.

Netgear R6120

Supported Versions

Experimental Versions

None at this time.

Hardware Highlights

ModelVersionSoCCPU MHz Flash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
R6120MediaTek MT7628A5801664MediaTek MT7628A, MediaTek MT7612Eb/g/na/n/ac5--1x 2.0

Installation

Install OpenWrt (generic explanation)

Currently, OpenWRT can be installed on the R6120 only by using the nmrpflash tool.

Download and compile nmrpflash. For example, on Ubuntu Linux:

$ sudo apt-get install libpcap-dev libnl-route-3-dev
$ git clone https://github.com/jclehner/nmrpflash.git
$ cd nmrpflash/
$ make

Check what network interfaces are available on the workstation:

$ ./nmrpflash -L
eth0             192.168.1.2     xx:xx:xx:xx:xx:xx

Download the OpenWRT factory image for R6120 from https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/

Connect LAN port 1 of the R6120 with an Ethernet cable directly to your workstation. In this example, the assumption is that the worksation has 192.168.1.2/24 configured on eth0 and it would instruct R6120 to use 192.168.1.200 for a TFTP download of the OpenWRT image.

Power off R6120 then start nmrpflash:

$ sudo ./nmrpflash -i eth0 -f openwrt-ramips-mt76x8-netgear_r6120-squashfs-factory.img -a 192.168.1.200
Advertising NMRP server on eth0 ... |

Power on R6120 and wait for the reflash process:

Received configuration request from 8c:3b:xx:xx:xx:xx.
Sending configuration: 192.168.1.200, netmask 255.255.255.0.
rtnl_neigh_delete: Object not found
Received upload request without filename.
Using remote filename 'openwrt-ramips-mt76x8-netgear_r6120-squashfs-factory.img'.
Uploading openwrt-ramips-mt76x8-netgear_r6120-squashfs-factory.img ... OK
Waiting for remote to respond.
Remote finished. Closing connection.
Reboot your device now.

Power-cycle R6120 to boot into OpenWRT.

At this point, the device should be accessible over SSH, on the LAN ports, with no password. LuCI is still not running.

$ ssh root@192.168.1.1

The overlay file-system may not be available so it may not be possible to save configuration changes. To initialize it:

root@OpenWrt:~# jffs2reset
root@OpenWrt:~# reboot

Connect to R6120 over SSH again:

$ ssh root@192.168.1.1

To install LuCI:

root@OpenWrt:~# opkg update
root@OpenWrt:~# opkg install luci

At this point LuCI should be accessible at http://192.168.1.1/

Flash Layout

Layer0 raw flash, 16384 KiB
Layer1 mtd0
u-boot
256 KiB
mtd1
factory
128 KiB
mtd2
nvram
192 KiB
mtd3
firmware
15744 KiB
Layer2 mtd4
kernel
1600 KiB
mtd5
rootfs
14144 KiB
Layer3 /dev/root mtd6
rootfs_data
12096 KiB

OEM easy installation

Not available at the moment.

Upgrading OpenWrt

Debricking

generic.debrick

Debricking of the R6120 can be done by using nmrpflash .

The same tool can be used to go back to stock firmware.

Failsafe mode

Basic configuration

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

Specific Configuration

Network interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
eth0.1 LAN ports (1 to 4) None
eth0.2 WAN port DHCP
wlan0 2.4 GHz WiFi Disabled
wlan1 5 GHz WiFi Disabled

Switch Ports (for VLANs)

Port Switch port
Internet (WAN) 4
LAN 1 3
LAN 2 2
LAN 3 1
LAN 4 0

Buttons

None?

Hardware

Info

General
Brand Netgear
Model R6120
Versions
Device Type WiFi Router
Availability Available 2018
Comments - general
OpenWrt Support
Supported Since Revision
Supported Since Release
Supported Current Release snapshot
Unsupported
Hardware
Instruction set
Sub Instruction Set
bootloader U-Boot
Target ramips
System-On-Chip
CPU MHz 580
Flash MB 16
RAM MB 64
Network
Ethernet 100M ports 5
Ethernet Gbit ports -
switch MediaTek MT7628A
Modem -
VLAN Yes
Comments - network ports
Wireless
WLAN 2.4GHz b/g/n
WLAN 5.0GHz a/n/ac
WLAN Hardware MediaTek MT7628A, MediaTek MT7612E
Detachable Antennas -
Comments - WLAN
Interfaces
USB ports 1x 2.0
SATA ports -
Serial Yes
JTAG ¿
Comments - USB & SATA ports
Misc
LED count 4
Button count 1
Power supply 12 VDC, 1.5 A
Links
Forum Topic URL
WikiDevi URL https://wikidevi.com/wiki/Netgear_R6120
OEM device homepage URL https://www.netgear.com/home/products/networking/wifi-routers/R6120.aspx
Firmware OEM Stock URL https://www.netgear.com/support/product/R6120.aspx
Firmware OpenWrt Install URL
Firmware OpenWrt Upgrade URL
Edit the underlying data View/Edit data

Photos

Front:

Back:

Opening the case

Note: This will void your warranty!

  • Remove the top-right and bottom-left rubber feet.
  • Remove the two T10 Torx screws.
  • Remove the top cover, starting from the softer back plastic grill - there are 5 clips on the back and another 3, close to the front.

Main PCB:
Insert 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 Netgear R6120 @@Version@@
EXAMPLE 115200, 8N1

JTAG

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

Not accessible?

Bootloader mods

bootloader

None so far.

Hardware mods

None so far.

Bootlogs

OEM bootlog

COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE


OpenWrt bootlog

[ 0.000000] Linux version 4.14.68 (buildbot@crazyhorse) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8021-9e58c20)) #0 Sun Sep 9 01:21:01 2018 [ 0.000000] Board has DDR2 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc) [ 0.000000] MIPS: machine is Netgear AC1200 R6120 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat 804bef20, node_mem_map 81000040 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x47c with crng_init=0 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=00006000 [ 0.000000] Readback ErrCtl register=00006000 [ 0.000000] Memory: 59604K/65536K available (3801K kernel code, 178K rwdata, 884K rodata, 184K init, 215K bss, 5932K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] intc: using register map from devicetree [ 0.000000] CPU Clock: 580MHz [ 0.000000] timer_probe: no matching timers found [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns [ 0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.015377] Calibrating delay loop… 385.84 BogoMIPS (lpj=1929216) [ 0.087589] pid_max: default: 32768 minimum: 301 [ 0.096937] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.109900] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.129573] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.148948] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.161045] pinctrl core: initialized pinctrl subsystem [ 0.172586] NET: Registered protocol family 16 [ 0.289572] mt7620-pci 10140000.pcie: Port 0 N_FTS = 1b105000 [ 0.450614] PCI host bridge /pcie@10140000 ranges: [ 0.459957] MEM 0x0000000020000000..0x000000002fffffff [ 0.470266] IO 0x0000000010160000..0x000000001016ffff [ 0.497374] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.508578] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.519686] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.531524] PCI host bridge to bus 0000:00 [ 0.539490] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff] [ 0.553119] pci_bus 0000:00: root bus resource [io 0xffffffff] [ 0.564773] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.578188] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.593885] pci 0000:00:00.0: [14c3:0801] type 01 class 0x060400 [ 0.593927] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 0.593943] pci 0000:00:00.0: reg 0x14: [mem 0x20200000-0x2020ffff] [ 0.594027] pci 0000:00:00.0: supports D1 [ 0.594039] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 0.594493] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000 [ 0.594561] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 0.594619] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 0.594734] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 0.594969] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 0.594988] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01 [ 0.595036] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 0.608025] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 0.621749] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff] [ 0.635164] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref] [ 0.649439] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff] [ 0.662865] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit] [ 0.677318] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref] [ 0.691578] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.701377] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff] [ 0.714799] pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref] [ 0.733742] clocksource: Switched to clocksource MIPS [ 0.744849] NET: Registered protocol family 2 [ 0.754369] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.768081] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.780586] TCP: Hash tables configured (established 1024 bind 1024) [ 0.793277] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.804746] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.817365] NET: Registered protocol family 1 [ 0.825935] PCI: CLS 0 bytes, default 32 [ 0.829212] Crashlog allocated RAM at address 0x3f00000 [ 0.841035] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.859450] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.870889] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc. [ 0.900435] io scheduler noop registered [ 0.908110] io scheduler deadline registered (default) [ 0.919110] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.934515] console [ttyS0] disabled [ 0.941483] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.959410] console [ttyS0] enabled [ 0.973098] bootconsole [early0] disabled [ 0.989523] cacheinfo: Failed to find cpu0 device node [ 0.999730] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 1.012557] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 1.030106] m25p80 spi0.0: mx25l12805d (16384 Kbytes) [ 1.040218] 5 fixed-partitions partitions found on MTD device spi0.0 [ 1.052802] Creating 5 MTD partitions on “spi0.0”: [ 1.062298] 0x000000000000-0x000000040000 : “u-boot” [ 1.073048] 0x000000040000-0x000000060000 : “factory” [ 1.084055] 0x000000060000-0x000000090000 : “nvram” [ 1.094593] 0x000000090000-0x000000ff0000 : “firmware” [ 1.174192] 2 uimage-fw partitions found on MTD device firmware [ 1.185959] 0x000000090000-0x000000220000 : “kernel” [ 1.196676] 0x000000220000-0x000000ff0000 : “rootfs” [ 1.207354] mtd: device 5 (rootfs) set to be root filesystem [ 1.220122] 1 squashfs-split partitions found on MTD device rootfs [ 1.232427] 0x000000420000-0x000000ff0000 : “rootfs_data” [ 1.244089] 0x000000ff0000-0x000001000000 : “reserved” [ 1.255835] libphy: Fixed MDIO Bus: probed [ 1.275502] rt3050-esw 10110000.esw: link changed 0x00 [ 1.287319] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 1.305546] NET: Registered protocol family 10 [ 1.318622] Segment Routing with IPv6 [ 1.326061] NET: Registered protocol family 17 [ 1.334919] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.360587] 8021q: 802.1Q VLAN Support v1.8 [ 1.380357] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 1.395390] Freeing unused kernel memory: 184K [ 1.404215] This architecture does not have kernel memory protection. [ 2.436818] init: Console is alive [ 2.443874] init: - watchdog - [ 2.603754] random: fast init done [ 3.772698] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.990848] usbcore: registered new interface driver usbfs [ 4.001869] usbcore: registered new interface driver hub [ 4.012532] usbcore: registered new device driver usb [ 4.028619] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.043416] ehci-platform: EHCI generic platform driver [ 4.064116] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 4.077394] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 4.087757] ehci-platform 101c0000.ehci: EHCI Host Controller [ 4.099172] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 4.114983] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 4.153788] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 4.167206] hub 1-0:1.0: USB hub found [ 4.175079] hub 1-0:1.0: 1 port detected [ 4.186435] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.200426] ohci-platform: OHCI generic platform driver [ 4.211108] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 4.224627] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 4.240402] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 4.318702] hub 2-0:1.0: USB hub found [ 4.326646] hub 2-0:1.0: 1 port detected [ 4.339600] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 4.364462] init: - preinit - [ 5.816695] rt3050-esw 10110000.esw: link changed 0x00 [ 6.000235] random: procd: uninitialized urandom read (4 bytes read) [ 9.395918] jffs2: notice: (388) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (3 unchecked, 1 orphan) and 33 of xref (1 dead, 0 orphan) found. [ 9.431827] mount_root: switching to jffs2 overlay [ 9.476540] overlayfs: upper fs does not support tmpfile. [ 9.498208] urandom-seed: Seeding with /etc/urandom.seed [ 9.576238] procd: - early - [ 9.582044] procd: - watchdog - [ 9.994323] rt3050-esw 10110000.esw: link changed 0x08 [ 10.221765] rt3050-esw 10110000.esw: link changed 0x18 [ 10.258772] procd: - watchdog - [ 10.265346] procd: - ubus - [ 10.332573] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.428355] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.441564] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.455299] procd: - init - [ 10.795970] kmodloader: loading kernel modules from /etc/modules.d/* [ 10.814068] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 10.837359] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 [ 10.853281] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d [ 10.870073] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.891849] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 10.974278] xt_time: kernel timezone is -0000 [ 11.141594] mt76_wmac 10300000.wmac: ASIC revision: 76280001 [ 11.156523] mt76_wmac 10300000.wmac: Firmware Version: 20151201 [ 11.168329] mt76_wmac 10300000.wmac: Build Time: 20151201183641 [ 11.203742] firmware init done [ 11.368680] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 11.387299] mt76x2e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4 [ 11.399834] mt76x2e 0000:01:00.0: ASIC revision: 76120044 [ 11.526250] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a [ 11.576297] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00 [ 11.587217] mt76x2e 0000:01:00.0: Build: 1 [ 11.595330] mt76x2e 0000:01:00.0: Build Time: 201507311614 [ 11.625463] mt76x2e 0000:01:00.0: Firmware running! [ 11.712178] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 11.725602] PPP generic driver version 2.4.2 [ 11.737158] NET: Registered protocol family 24 [ 11.751501] kmodloader: done loading kernel modules from /etc/modules.d/* [ 13.069940] urandom_read: 5 callbacks suppressed [ 13.069949] random: jshn: uninitialized urandom read (4 bytes read) [ 16.102997] rt3050-esw 10110000.esw: link changed 0x00 [ 20.234154] rt3050-esw 10110000.esw: link changed 0x08 [ 20.313390] rt3050-esw 10110000.esw: link changed 0x18 [ 22.518840] br-lan: port 1(eth0.1) entered blocking state [ 22.529776] br-lan: port 1(eth0.1) entered disabled state [ 22.540856] device eth0.1 entered promiscuous mode [ 22.550379] device eth0 entered promiscuous mode [ 22.724233] br-lan: port 1(eth0.1) entered blocking state [ 22.734975] br-lan: port 1(eth0.1) entered forwarding state [ 22.746258] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 23.514082] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 107.283289] random: crng init done


Notes

Space for additional notes, links to forum threads or other resources.

Tags

toh/netgear/netgear_r6120.txt · Last modified: 2018/09/11 17:01 by zayfod