ASUS RT-N12 D1
D1 hardware revision of ASUS RT-N12; a 300Mbps wireless router with two detachable 5dBi antennas.
WIFI NOT WORKING see BCM5357C0 section of Unsupported features
OEM source code available at:
Supported Versions
Hardware Highlights
Keep the articles modular
Please include only model specific information, omit bla,bla and put everything generic into separate articles |
docs if you have no time to write certain stuff link to this |
checks_and_troubleshooting should lead the way, do not explain this again |
DO NOT provide a complete howto here! Instead groom the general HowTos. |
Installation
Flash Layout
Please check out the article flash.layout. It contains an example and a couple of explanations.
ASUS RT-N12 D1 OEM firmware Flash Layout | ||||||
---|---|---|---|---|---|---|
Layer0 | sflash: MX25L6406E 8192KiB | |||||
Layer1 | mtd0 pmon 128KiB | mtd1 linux 8000KiB | mtd3 nvram 64KiB | |||
Layer2 | 1007KiB | mtd2 rootfs 4817KiB | 1664KiB | mtd4 jffs2 512KiB | ||
mountpoint | none | / | none | |||
filesystem | none | JFFS2 | none |
OEM easy installation
The instructions below are for Broadcom devices and only serve as an example. Don't leave them in place if they do not apply to a particular device! |
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.
- Browse to http://192.168.1.1/Upgrade.asp
- Upload .trx file to router
- Wait for it to reboot
- Telnet to 192.168.1.1 and set a root password, or browse to http://192.168.1.1 if LuCI is installed.
OEM installation using the TFTP method
Specific values you need
Bootloader tftp server IPv4 address | 192.168.1.1 |
Bootloader MAC address (special) | FILL-IN |
Firmware tftp image | Latest OpenWrt release |
TFTP Transfer Window | 120 seconds |
TFTP Window Start | approximately 5 seconds after power on |
TFTP Client Required IP Address | 192.168.1.0/24 |
Upgrading OpenWrt
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.
LuCI Web Upgrade Process
- Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
- Upload image file for sysupgrade to LuCI
- Wait for reboot
Terminal Upgrade Process
- Login as root via SSH on 192.168.1.1
- Use the following commands to upgrade.
cd /tmp/ wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
- If sysupgrade does not support this router, use the following commands.
cd /tmp/ wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
Reverting back to OEM firmware
- get OEM firmware from https://www.asus.com/Networking/RTN12_D1/HelpDesk_Download/
- get ASUS Firmware Restoration tool from https://www.asus.com/Networking/RTN12_D1/HelpDesk_Download/
- follow ASUS Firmware Restoration instructions: (use lan1 port, switch off, hold reset button, switch on still holding reset button, wait for system LED to slow blink (cca 20sec), release reset button, flash firmware via ASUS Firmware Restoration tool
Basic configuration
→ To connect to the newly flashed router it is required that the LAN cable be in LAN Port label “1”
This is the Yellow port closest to the Blue WAN port, no other LAN ports were able to see 192.168.1.1.
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Specific Configuration
Interfaces
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 |
Switch Ports (for VLANs)
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 |
---|---|
Internet (WAN) | 4 |
LAN 1 | 3 |
LAN 2 | 2 |
LAN 3 | 1 |
LAN 4 | 0 |
Failsafe mode
Hardware
Info
Photos
Opening the case
Note: This will void your warranty!
- To open the cover remove four screw under the rubber pads
- There are also two plastic latches: one in the middle of the front and one on the back
Main PCB
Serial
→ port.serial general information about the serial port, serial port cable, etc.
The values in this section needs to be confirmed
Serial console should be the header mount point labelled J4 (connector lacks, it has to be soldered on the board).
How to connect to the Serial Port of this specific device:
The pins assignment should be:
Pin | Signal |
---|---|
1 | RxD |
2 | TxD |
3 | GND |
4 | VCC |
The settings are: 16550 115200 bauds, bits, parity, stop bit
JTAG
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
Photo of PCB with markings
Debricking
Bootlogs
OEM bootlog
Jul 31 20:00:08 syslogd started: BusyBox v1.17.4 Jul 31 20:00:08 kernel: klogd started: BusyBox v1.17.4 (2020-03-12 11:42:30 CST) Jul 31 20:00:08 kernel: start_kernel Jul 31 20:00:08 kernel: Linux version 2.6.22.19 (root@asus) (gcc version 4.2.4) #1 Thu Mar 12 11:45:07 CST 2020 Jul 31 20:00:08 kernel: CPU revision is: 00019749 Jul 31 20:00:08 kernel: Found an ST compatible serial flash with 128 64KB blocks; total size 8MB Jul 31 20:00:08 kernel: Determined physical RAM map: Jul 31 20:00:08 kernel: memory: 02000000 @ 00000000 (usable) Jul 31 20:00:08 kernel: Built 1 zonelists. Total pages: 8128 Jul 31 20:00:08 kernel: Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200 Jul 31 20:00:08 kernel: Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes. Jul 31 20:00:08 kernel: Primary data cache 32kB, 4-way, linesize 32 bytes. Jul 31 20:00:08 kernel: PID hash table entries: 128 (order: 7, 512 bytes) Jul 31 20:00:08 kernel: CPU: BCM53572 rev 1 pkg 8 at 300 MHz Jul 31 20:00:08 kernel: Using 150.000 MHz high precision timer. Jul 31 20:00:08 kernel: Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Jul 31 20:00:08 kernel: Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Jul 31 20:00:08 kernel: Mount-cache hash table entries: 512 Jul 31 20:00:08 kernel: PCI: no core Jul 31 20:00:08 kernel: PCI: no core Jul 31 20:00:08 kernel: PCI: Fixing up bus 0 Jul 31 20:00:08 kernel: IP route cache hash table entries: 1024 (order: 0, 4096 bytes) Jul 31 20:00:08 kernel: TCP established hash table entries: 1024 (order: 1, 8192 bytes) Jul 31 20:00:08 kernel: TCP bind hash table entries: 1024 (order: 0, 4096 bytes) Jul 31 20:00:08 kernel: pflash: found no supported devices Jul 31 20:00:08 kernel: Creating 5 MTD partitions on "sflash": Jul 31 20:00:08 kernel: 0x00000000-0x00020000 : "pmon" Jul 31 20:00:08 kernel: 0x00020000-0x007f0000 : "linux" Jul 31 20:00:08 kernel: 0x0011bf4c-0x00710000 : "rootfs" Jul 31 20:00:08 kernel: 0x007f0000-0x00800000 : "nvram" Jul 31 20:00:08 kernel: 0x00770000-0x007f0000 : "jffs2" Jul 31 20:00:08 kernel: dev_nvram_init: _nvram_init Jul 31 20:00:08 kernel: _nvram_init: allocat header: 2151579648, size= 32768 Jul 31 20:00:08 kernel: u32 classifier Jul 31 20:00:08 kernel: OLD policer on Jul 31 20:00:08 kernel: Netfilter messages via NETLINK v0.30. Jul 31 20:00:08 kernel: nf_conntrack version 0.5.0 (512 buckets, 4096 max) Jul 31 20:00:08 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team Jul 31 20:00:08 kernel: net/ipv4/netfilter/tomato_ct.c [Mar 12 2020 11:44:11] Jul 31 20:00:08 kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team Jul 31 20:00:08 kernel: VFS: Mounted root (squashfs filesystem) readonly. Jul 31 20:00:08 kernel: Warning: unable to open an initial console. Jul 31 20:00:08 kernel: ctf: module license 'Proprietary' taints kernel. Jul 31 20:00:08 kernel: et_module_init: passivemode set to 0x0 Jul 31 20:00:08 kernel: eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.110.27.20012 Jul 31 20:00:09 kernel: wl_module_init: passivemode set to 0x0 Jul 31 20:00:09 kernel: eth1: Broadcom BCM4347 802.11 Wireless Controller 5.110.27.20012 Jul 31 20:00:09 kernel: Algorithmics/MIPS FPU Emulator v1.5 Jul 31 20:00:10 ntp: start NTP update Sep 11 22:16:09 RT-N12D1: start https:8443 Sep 11 22:16:09 RT-N12D1: start httpd:80 Sep 11 22:16:10 syslog: Generating SSL certificate... Sep 11 22:16:10 syslog: Generating SSL certificate... Sep 11 22:16:25 syslog: Generating SSL certificate... Sep 11 22:16:25 syslog: Generating SSL certificate... Sep 12 00:02:26 rc_service: httpd 216:notify_rc restart_net_and_phy Sep 12 00:02:37 RT-N12D1: start https:8443 Sep 12 00:02:37 RT-N12D1: start httpd:80 Sep 12 00:04:56 rc_service: httpd 393:notify_rc restart_time;restart_httpd;restart_upnp; Sep 12 00:04:56 kernel: klogd: exiting Sep 12 00:04:56 syslogd exiting Sep 12 00:04:56 syslogd started: BusyBox v1.17.4 Sep 12 00:04:56 kernel: klogd started: BusyBox v1.17.4 (2020-03-12 11:42:30 CST) Sep 12 00:04:56 RT-N12D1: start https:443 Sep 12 00:04:56 RT-N12D1: start httpd:80
OpenWrt bootlog
[ 0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 Wed Oct 1 14:51:04 CEST 2014 [ 0.000000] CPU revision is: 00019749 (MIPS 74Kc) [ 0.000000] bcm47xx: using bcma bus [ 0.000000] bcma: bus0: Found chip with id 0xD144, rev 0x01 and package 0x08 [ 0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x27, class 0x0) [ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x05, class 0x0) [ 0.000000] bcma: bus0: Found rev 9 PMU (capabilities 0x28982A09) [ 0.000000] bcma: bus0: Found serial flash [ 0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128) [ 0.000000] bcma: bus0: Early bus registered [ 0.000000] MIPS: machine is Asus RT-N12D1 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x01ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x01ffffff] [ 0.000000] On node 0 totalpages: 8192 [ 0.000000] free_area_init_node: node 0, pgdat 802e6b80, node_mem_map 81000000 [ 0.000000] Normal zone: 64 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 8192 pages, LIFO batch:0 [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: noinitrd console=ttyS0,115200 [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 28916k/32768k available (2453k kernel code, 3852k reserved, 597k data, 208k init, 0k highmem) [ 0.000000] NR_IRQS:128 [ 0.000000] Setting up vectored interrupts [ 0.060000] Calibrating delay loop... 148.88 BogoMIPS (lpj=744448) [ 0.060000] pid_max: default: 32768 minimum: 301 [ 0.070000] Mount-cache hash table entries: 512 [ 0.070000] NET: Registered protocol family 16 [ 0.100000] bio: create slab <bio-0> at 0 [ 0.110000] Switching to clocksource MIPS [ 0.120000] NET: Registered protocol family 2 [ 0.120000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.120000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.120000] TCP: Hash tables configured (established 512 bind 512) [ 0.120000] TCP: reno registered [ 0.120000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.120000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.120000] NET: Registered protocol family 1 [ 0.120000] PCI: CLS 0 bytes, default 32 [ 0.120000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1C, class 0x0) [ 0.120000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x03, class 0x0) [ 0.120000] bcma: bus0: Core 4 found: SDR/DDR1 Memory Controller (manuf 0x4BF, id 0x835, rev 0x02, class 0x0) [ 0.140000] can not parse nvram name sb/1/boardnum(null) with value e0:3f:49:1e:22:00 got -22 [ 0.200000] can not parse nvram name sb/1/rxpo2g(null) with value 0xff got -34 [ 0.210000] can not parse nvram name sb/1/ag3(null) with value 0xff got -34 [ 0.550000] bcma: bus0: Using SPROM revision 8 provided by platform. [ 0.550000] bcma: bus0: PMU resource config unknown or not needed for device 0xD144 [ 0.550000] bcma: bus0: Workarounds unknown or not needed for device 0xD144 [ 0.550000] bcma: bus0: Initializing MIPS core... [ 0.550000] bcma: bus0: set_irq: core 0x0812, irq 3 => 3 [ 0.550000] bcma: bus0: set_irq: core 0x082d, irq 4 => 4 [ 0.550000] bcma: bus0: set_irq: core 0x0800, irq 2 => 2 [ 0.550000] bcma: bus0: IRQ reconfiguration done [ 0.550000] bcma: core 0x0800, irq : 2(S)* 3 4 5 6 D I [ 0.550000] bcma: core 0x082c, irq : 2(S) 3 4 5 6 D I* [ 0.550000] bcma: core 0x0812, irq : 2(S) 3* 4 5 6 D I [ 0.550000] bcma: core 0x082d, irq : 2(S) 3 4* 5 6 D I [ 0.550000] bcma: core 0x0835, irq : 2(S) 3 4 5 6 D* I [ 0.560000] bcma: bus0: Bus registered [ 0.560000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.560000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.560000] msgmni has been set to 56 [ 0.560000] io scheduler noop registered [ 0.560000] io scheduler deadline registered (default) [ 0.560000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.600000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2) is a U6_16550A [ 0.940000] console [ttyS0] enabled [ 1.000000] 6 bcm47xxpart partitions found on MTD device bcm47xxsflash [ 1.010000] Creating 6 MTD partitions on "bcm47xxsflash": [ 1.010000] 0x000000000000-0x000000020000 : "boot" [ 1.020000] 0x000000020000-0x0000007f0000 : "firmware" [ 1.030000] 0x00000002001c-0x00000002090c : "loader" [ 1.040000] 0x00000002090c-0x000000132c00 : "linux" [ 1.050000] mtd: partition "linux" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 1.060000] 0x000000132c00-0x0000007f0000 : "rootfs" [ 1.070000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 1.090000] mtd: device 4 (rootfs) set to be root filesystem [ 1.090000] mtd: partition "rootfs_data" created automatically, ofs=0x380000, len=0x470000 [ 1.100000] 0x000000380000-0x0000007f0000 : "rootfs_data" [ 1.110000] 0x0000007f0000-0x000000800000 : "nvram" [ 1.130000] libphy: Fixed MDIO Bus: probed [ 1.140000] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds) [ 1.140000] GPIO_WDT: failed to register misc device [ 1.150000] TCP: cubic registered [ 1.150000] NET: Registered protocol family 17 [ 1.160000] Bridge firewalling registered [ 1.160000] 8021q: 802.1Q VLAN Support v1.8 [ 1.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 1.190000] Freeing unused kernel memory: 208K (802fc000 - 80330000) [ 5.020000] pps_core: LinuxPPS API ver. 1 registered [ 5.030000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 5.040000] PTP clock support registered [ 5.060000] bgmac bcma0:1: Found PHY addr: 30 (NOREGS) [ 5.080000] bgmac bcma0:1: Support for Roboswitch not implemented [ 5.090000] libphy: bgmac mii bus: probed [ 5.130000] b53_common: found switch: BCM5325, rev 4 [ 5.140000] bgmac: Broadcom 47xx GBit MAC driver loaded [ 16.570000] NET: Registered protocol family 10 [ 16.600000] nf_conntrack version 0.5.0 (455 buckets, 1820 max) [ 16.620000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 16.640000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea [ 16.650000] Backport generated by backports.git backports-20140320-37-g5c33da0 [ 16.670000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 16.760000] xt_time: kernel timezone is -0000 [ 16.820000] cfg80211: Calling CRDA to update world regulatory domain [ 16.830000] cfg80211: World regulatory domain updated: [ 16.830000] cfg80211: DFS Master region: unset [ 16.840000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 16.850000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 16.850000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 16.860000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 16.870000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A) [ 16.880000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 16.890000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 16.900000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 16.900000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 17.040000] PPP generic driver version 2.4.2 [ 17.050000] NET: Registered protocol family 24 [ 17.100000] b43-phy0: Broadcom 53572 WLAN found (core revision 28) [ 17.100000] b43-phy0: Found PHY: Analog 9, Type 4 (N), Revision 17 [ 17.110000] b43-phy0 ERROR: FOUND UNSUPPORTED RADIO (Manuf 0x17F, ID 0x2057, Revision 13, Version 0) [ 17.120000] b43: probe of bcma0:0 failed with error -122 [ 17.130000] Broadcom 43xx driver loaded [ Features: PNL ] [ 17.150000] Broadcom 43xx-legacy driver loaded [ Features: PLD ] [ 29.510000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 29.530000] jffs2_build_filesystem(): unlocking the mtd device... done. [ 34.640000] device eth0.1 entered promiscuous mode [ 34.650000] device eth0 entered promiscuous mode [ 34.670000] br-lan: port 1(eth0.1) entered forwarding state [ 34.670000] br-lan: port 1(eth0.1) entered forwarding state [ 29.530000] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 36.670000] br-lan: port 1(eth0.1) entered forwarding state [ 85.000000] done. [ 85.000000] jffs2: notice: (788) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Notes
OEM
admin@RT-N12D1:/tmp/home/root# cat /proc/cpuinfo system type : Broadcom BCM53572 chip rev 1 pkg 8 processor : 0 cpu model : MIPS 74K V4.9 BogoMIPS : 149.91 wait instruction : no microsecond timers : yes tlb_entries : 32 extra interrupt vector : no hardware watchpoint : yes ASEs implemented : mips16 dsp shadow register sets : 1 VCED exceptions : not available VCEI exceptions : not available unaligned_instructions : 0 dcache hits : 2147483648 dcache misses : 0 icache hits : 2147483648 icache misses : 0 instructions : 2147483648 admin@RT-N12D1:/tmp/home/root# cat /proc/mtd dev: size erasesize name mtd0: 00020000 00010000 "pmon" mtd1: 007d0000 00010000 "linux" mtd2: 004b443c 00010000 "rootfs" mtd3: 00010000 00010000 "nvram" mtd4: 00080000 00010000 "jffs2" admin@RT-N12D1:/tmp/home/root# nvram show | grep clkfreq size: 22255 bytes (10513 left) clkfreq=300,150,75 admin@RT-N12D1:/tmp/home/root# cat /proc/devices Character devices: 1 mem 2 pty 3 ttyp 4 ttyS 5 /dev/tty 5 /dev/console 5 /dev/ptmx 10 misc 90 mtd 108 ppp 128 ptm 136 pts 253 nvram 254 gpio Block devices: 31 mtdblock 179 mmc admin@RT-N12D1:/tmp/home/root# cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / squashfs ro 0 0 proc /proc proc rw 0 0 tmpfs /tmp tmpfs rw 0 0 devfs /dev tmpfs rw,noatime 0 0 sysfs /sys sysfs rw 0 0 devpts /dev/pts devpts rw 0 0 admin@RT-N12D1:/tmp/home/root# cat /proc/modules sit 11024 0 - Live 0xc007d000 tunnel4 2544 1 sit, Live 0xc0061000 nf_nat_sip 3936 0 - Live 0xc0056000 nf_conntrack_sip 7616 1 nf_nat_sip, Live 0xc00ad000 nf_nat_h323 6624 0 - Live 0xc00aa000 nf_conntrack_h323 39616 1 nf_nat_h323, Live 0xc00b7000 nf_nat_rtsp 4656 0 - Live 0xc00a7000 nf_conntrack_rtsp 5792 1 nf_nat_rtsp, Live 0xc00a4000 nf_nat_ftp 2240 0 - Live 0xc0058000 nf_conntrack_ftp 6976 1 nf_nat_ftp, Live 0xc007a000 ip6t_SKIPLOG 832 1 - Live 0xc009e000 ip6table_mangle 1504 1 - Live 0xc009a000 xt_length 1056 2 - Live 0xc0093000 ip6t_LOG 7168 2 - Live 0xc0081000 ip6table_filter 1312 1 - Live 0xc0078000 nf_nat_pptp 2112 0 - Live 0xc0072000 nf_conntrack_pptp 5008 1 nf_nat_pptp, Live 0xc0075000 nf_nat_proto_gre 1680 1 nf_nat_pptp, Live 0xc0063000 nf_conntrack_proto_gre 3296 1 nf_conntrack_pptp, Live 0xc0054000 wl 2774224 0 - Live 0xc0384000 (P) igs 17552 1 wl, Live 0xc005b000 (P) emf 21056 2 wl,igs, Live 0xc0045000 (P) et 48416 0 - Live 0xc0065000 (P) ctf 21392 0 - Live 0xc004d000 (P) admin@RT-N12D1:/tmp/home/root# cat /proc/iomem 00000000-01ffffff : System RAM 00001000-002658a7 : Kernel code 002658a8-002e20bf : Kernel data b8000300-b8000307 : serial admin@RT-N12D1:/tmp/home/root# cat /proc/crypto name : arc4 driver : arc4-generic module : kernel priority : 0 refcnt : 1 type : cipher blocksize : 1 min keysize : 1 max keysize : 256 name : sha1 driver : sha1-generic module : kernel priority : 0 refcnt : 1 type : digest blocksize : 64 digestsize : 20 admin@RT-N12D1:/tmp/home/root# cat /proc/interrupts CPU0 3: 482038033 MIPS eth1 4: 1714204959 MIPS eth0 7: 645270352 MIPS timer 8: 94613 IRQ2 serial ERR: 0
OpenWrt
root@OpenWrt:/# cat /proc/cpuinfo system type : Broadcom BCM53572 machine : Asus RT-N12D1 processor : 0 cpu model : MIPS 74Kc V4.9 BogoMIPS : 148.88 wait instruction : yes microsecond timers : yes tlb_entries : 32 extra interrupt vector : yes hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb] isa : mips1 mips2 mips32r1 mips32r2 ASEs implemented : mips16 dsp dsp2 shadow register sets : 1 kscratch registers : 0 core : 0 VCED exceptions : not available VCEI exceptions : not available