## WNDR3700v4 ____ DD-WRT r31924 (05/02/17) ## don't be confused looking at dmesg... this is setup as just a switch + openVPN server ## WAN disabled / both radio disabled BusyBox v1.26.2 (2017-05-02 03:58:27 CEST) built-in shell (ash) ~# dmesg <6>[ 0.000000] sys id = 2122 Atheros AR9344 ver 1 rev 1.2 (0x2122) <6>[ 0.000000] Determined physical RAM map: <6>[ 0.000000] memory: 08000000 @ 00000000 (usable) <4>[ 0.000000] Zone ranges: <4>[ 0.000000] Normal [mem 0x00000000-0x07ffffff] <4>[ 0.000000] Movable zone start for each node <4>[ 0.000000] Early memory node ranges <4>[ 0.000000] node 0: [mem 0x00000000-0x07ffffff] <6>[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff] <7>[ 0.000000] On node 0 totalpages: 32768 <7>[ 0.000000] free_area_init_node: node 0, pgdat 803a4a00, node_mem_map 81000000 <7>[ 0.000000] Normal zone: 256 pages used for memmap <7>[ 0.000000] Normal zone: 0 pages reserved <7>[ 0.000000] Normal zone: 32768 pages, LIFO batch:7 <4>[ 0.000000] Primary instruction cache 64kB, 4-way, VIPT, I-cache aliases, linesize 32 bytes. <4>[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes <7>[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 <7>[ 0.000000] pcpu-alloc: [0] 0 <4>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 <5>[ 0.000000] Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd init=/sbin/init <6>[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) <6>[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) <6>[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) <6>[ 0.000000] Writing ErrCtl register=00000000 <6>[ 0.000000] Readback ErrCtl register=00000000 <4>[ 0.000000] Memory: 125696K/131072K available (2726K kernel code, 170K rwdata, 548K rodata, 192K init, 174K bss, 5376K reserved) <6>[ 0.000000] NR_IRQS:83 <6>[ 0.060000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688) <6>[ 0.070000] pid_max: default: 32768 minimum: 301 <6>[ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) <6>[ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) <6>[ 0.080000] NET: Registered protocol family 16 <7>[ 0.090000] ar71xx: using random MAC address for eth0 <6>[ 0.300000] Switched to clocksource MIPS <6>[ 0.300000] NET: Registered protocol family 2 <6>[ 0.310000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) <6>[ 0.310000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) <6>[ 0.320000] TCP: Hash tables configured (established 1024 bind 1024) <6>[ 0.320000] TCP: reno registered <6>[ 0.330000] UDP hash table entries: 256 (order: 0, 4096 bytes) <6>[ 0.330000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) <6>[ 0.340000] NET: Registered protocol family 1 <7>[ 0.340000] PCI: CLS 0 bytes, default 32 <5>[ 0.340000] gpio_proc: module loaded and /proc/gpio/ created <6>[ 0.350000] fixup WNDR3700v4 wifi led <5>[ 0.350000] wl0gpio_proc: module loaded and /proc/wl0gpio/ created <6>[ 0.360000] futex hash table entries: 256 (order: -1, 3072 bytes) <6>[ 0.370000] squashfs: version 4.0 (2009/01/31) Phillip Lougher <6>[ 0.380000] msgmni has been set to 245 <6>[ 0.380000] io scheduler noop registered <6>[ 0.390000] io scheduler deadline registered (default) <6>[ 0.390000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled <6>[ 0.400000] console [ttyS0] disabled <6>[ 0.420000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A <6>[ 0.430000] console [ttyS0] enabled <6>[ 0.440000] bootconsole [early0] disabled <4>[ 0.440000] Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros Communications, Ltd. <4>[ 0.460000] Ath Nand ID[87caa5e0]: 2c:f1:80:95:02 <4>[ 0.460000] ONFI MICRON MT29F1G08ABADAWP <4>[ 0.470000] Micron <0>[ 1.570000] <0>[ 1.570000] found squashfs at 0x800000 <5>[ 1.580000] Creating 7 MTD partitions on "ath-nand": <5>[ 1.580000] 0x000000000000-0x000000080000 : "RedBoot" <5>[ 1.600000] 0x0000006c0000-0x000008000000 : "linux" <5>[ 3.650000] 0x000000800000-0x000001fa0000 : "rootfs" <5>[ 4.050000] mtd: partition "rootfs" set to be root filesystem <5>[ 4.060000] 0x000001fa0000-0x000008000000 : "ddwrt" <5>[ 5.690000] 0x000000340000-0x0000003c0000 : "nvram" <5>[ 5.700000] 0x000000080000-0x0000000c0000 : "board_config" <5>[ 5.710000] 0x000000000000-0x000008000000 : "fullflash" <4>[ 7.870000] ====== NAND Parameters ====== <4>[ 7.870000] sc = 0x87caa400 bbt = 0x87cffa00 bbt_size = 0x100 nf_ctrl = 0x344 <4>[ 7.870000] page = 0x800 block = 0x20000 oob = 0x40 <4>[ 7.920000] registering PCI controller with io_map_base unset <6>[ 7.930000] PCI host bridge to bus 0000:00 <6>[ 7.930000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff] <6>[ 7.940000] pci_bus 0000:00: root bus resource [io 0x0000] <6>[ 7.950000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] <7>[ 7.960000] pci 0000:00:00.0: [168c:0033] type 00 class 0x028000 <6>[ 7.960000] pci 0000:00:00.0: fixup device configuration <0>[ 7.960000] bootstrap returns device 168C:33 <7>[ 7.960000] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit] <7>[ 7.970000] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] <7>[ 7.970000] pci 0000:00:00.0: supports D1 <7>[ 7.970000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot <7>[ 7.970000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 <6>[ 7.970000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit] <6>[ 7.970000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref] <6>[ 7.980000] pci 0000:00:00.0: using irq 72 for pin 1 <6>[ 7.990000] libphy: Fixed MDIO Bus: probed <6>[ 7.990000] tun: Universal TUN/TAP device driver, 1.6 <6>[ 8.000000] tun: (C) 1999-2004 Max Krasnyansky <6>[ 8.000000] PPP generic driver version 2.4.2 <6>[ 8.010000] PPP BSD Compression module registered <6>[ 8.010000] PPP Deflate Compression module registered <6>[ 8.020000] PPP MPPE Compression module registered <6>[ 8.020000] NET: Registered protocol family 24 <6>[ 8.030000] oprofile: using mips/74K performance monitoring. <6>[ 8.040000] u32 classifier <6>[ 8.040000] Performance counters on <6>[ 8.040000] input device check on <6>[ 8.050000] Actions configured <6>[ 8.050000] Netfilter messages via NETLINK v0.30. <6>[ 8.060000] nf_conntrack version 0.5.0 (1964 buckets, 7856 max) <4>[ 8.060000] nf_conntrack_rtsp v0.7 loading <4>[ 8.070000] nf_nat_rtsp v0.7 loading <6>[ 8.070000] ip_tables: (C) 2000-2006 Netfilter Core Team <6>[ 8.080000] TCP: westwood registered <6>[ 8.080000] TCP: hybla registered <6>[ 8.080000] TCP: vegas registered <6>[ 8.090000] NET: Registered protocol family 17 <6>[ 8.090000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. <5>[ 8.100000] Bridge firewalling registered <6>[ 8.110000] 8021q: 802.1Q VLAN Support v1.8 <5>[ 8.110000] Key type dns_resolver registered <5>[ 8.130000] Key type encrypted registered <6>[ 8.140000] searching for nvram <6>[ 8.140000] nvram size = 0 <6>[ 8.180000] Atheros AR71xx hardware watchdog driver version 0.1.0 <6>[ 8.190000] ar71xx-wdt: timeout=15 secs (max=107) ref freq=40000000 <6>[ 8.210000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. <6>[ 8.220000] Freeing unused kernel memory: 192K (803c0000 - 803f0000) <7>[ 12.190000] ar71xx-wdt: enabling watchdog timer <6>[ 12.330000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0 <6>[ 12.950000] libphy: ag71xx_mdio: probed <6>[ 13.550000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316] <6>[ 13.560000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII <6>[ 14.640000] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f <6>[ 14.650000] Backport generated by backports.git backports-20160324-13-g24da7d3c <6>[ 15.680000] eth0: link up (1000Mbps/Full duplex) <7>[ 16.030000] ath: EEPROM regdomain: 0x0 <7>[ 16.030000] ath: EEPROM indicates default country code should be used <7>[ 16.030000] ath: doing EEPROM country->regdmn map search <7>[ 16.030000] ath: country maps to regdmn code: 0x3a <7>[ 16.030000] ath: Country alpha2 being used: US <7>[ 16.030000] ath: Regpair used: 0x3a <7>[ 16.050000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' <6>[ 16.050000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=78 <0>[ 16.060000] 2 vs 0 <4>[ 16.060000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) <7>[ 16.070000] ath: EEPROM regdomain: 0x0 <7>[ 16.070000] ath: EEPROM indicates default country code should be used <7>[ 16.070000] ath: doing EEPROM country->regdmn map search <7>[ 16.070000] ath: country maps to regdmn code: 0x3a <7>[ 16.070000] ath: Country alpha2 being used: US <7>[ 16.070000] ath: Regpair used: 0x3a <7>[ 16.090000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' <6>[ 16.090000] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=72 <6>[ 16.920000] usbcore: registered new interface driver usbfs <6>[ 16.930000] usbcore: registered new interface driver hub <6>[ 16.930000] usbcore: registered new device driver usb <6>[ 17.040000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver <6>[ 17.090000] ar71xx-ehci ar71xx-ehci.0: Atheros AR91xx built-in EHCI controller <6>[ 17.100000] ar71xx-ehci ar71xx-ehci.0: new USB bus registered, assigned bus number 1 <4>[ 17.110000] ehci_reset Intialize USB CONTROLLER in host mode: 13 <4>[ 17.110000] ehci_reset Port Status 1c000000 <6>[ 17.150000] ar71xx-ehci ar71xx-ehci.0: irq 3, io mem 0x1b000000 <6>[ 17.170000] ar71xx-ehci ar71xx-ehci.0: USB 2.0 started, EHCI 1.00 <6>[ 17.170000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 <6>[ 17.180000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 <6>[ 17.190000] usb usb1: Product: Atheros AR91xx built-in EHCI controller <6>[ 17.190000] usb usb1: Manufacturer: Linux 3.18.51 ehci_hcd <6>[ 17.200000] usb usb1: SerialNumber: platform <6>[ 17.200000] hub 1-0:1.0: USB hub found <6>[ 17.210000] hub 1-0:1.0: 1 port detected <6>[ 17.530000] usb 1-1: new high-speed USB device number 2 using ar71xx-ehci <5>[ 17.740000] SCSI subsystem initialized <6>[ 17.780000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is up <6>[ 17.780000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 2 is up <6>[ 17.790000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up <6>[ 17.800000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up <6>[ 17.800000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 5 is up <6>[ 17.950000] usb 1-1: New USB device found, idVendor=0781, idProduct=5406 <6>[ 17.960000] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 <6>[ 17.960000] usb 1-1: Product: U3 Cruzer Micro <6>[ 17.970000] usb 1-1: Manufacturer: SanDisk <6>[ 17.970000] usb 1-1: SerialNumber: 0774900A0300283C <6>[ 18.190000] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead. <6>[ 18.240000] usb-storage 1-1:1.0: USB Mass Storage device detected <6>[ 18.250000] scsi host0: usb-storage 1-1:1.0 <6>[ 18.250000] usbcore: registered new interface driver usb-storage <5>[ 19.250000] scsi 0:0:0:0: Direct-Access SanDisk Cruzer 7.01 PQ: 0 ANSI: 0 CCS <5>[ 19.260000] scsi 0:0:0:1: CD-ROM SanDisk Cruzer 7.01 PQ: 0 ANSI: 0 <5>[ 19.270000] sd 0:0:0:0: [sda] 15695871 512-byte logical blocks: (8.03 GB/7.48 GiB) <5>[ 19.280000] sd 0:0:0:0: [sda] Write Protect is off <7>[ 19.280000] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 08 <6>[ 19.280000] sr 0:0:0:1: [sr0] scsi3-mmc drive: 48x/48x tray <6>[ 19.290000] cdrom: Uniform CD-ROM driver Revision: 3.20 <7>[ 19.300000] sr 0:0:0:1: Attached scsi CD-ROM sr0 <3>[ 19.320000] sd 0:0:0:0: [sda] No Caching mode page found <3>[ 19.320000] sd 0:0:0:0: [sda] Assuming drive cache: write through <6>[ 19.360000] sda: sda1 <5>[ 19.370000] sd 0:0:0:0: [sda] Attached SCSI removable disk <4>[ 21.220000] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! <4>[ 21.240000] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. <6>[ 21.530000] device br0 entered promiscuous mode <6>[ 21.600000] device vlan1 entered promiscuous mode <6>[ 21.610000] device eth0 entered promiscuous mode <6>[ 21.660000] device vlan2 entered promiscuous mode <6>[ 21.670000] br0: port 2(vlan2) entered forwarding state <6>[ 21.670000] br0: port 2(vlan2) entered forwarding state <6>[ 21.680000] br0: port 1(vlan1) entered forwarding state <6>[ 21.690000] br0: port 1(vlan1) entered forwarding state <6>[ 21.690000] device br0 left promiscuous mode <6>[ 21.700000] device br0 entered promiscuous mode <6>[ 21.720000] device br0 left promiscuous mode <7>[ 21.800000] ath: EEPROM regdomain: 0x8348 <7>[ 21.800000] ath: EEPROM indicates we should expect a country code <7>[ 21.800000] ath: doing EEPROM country->regdmn map search <7>[ 21.800000] ath: country maps to regdmn code: 0x3a <7>[ 21.800000] ath: Country alpha2 being used: US <7>[ 21.800000] ath: Regpair used: 0x3a <7>[ 21.800000] ath: regdomain 0x8348 dynamically updated by user <7>[ 21.800000] ath: EEPROM regdomain: 0x8348 <7>[ 21.800000] ath: EEPROM indicates we should expect a country code <7>[ 21.800000] ath: doing EEPROM country->regdmn map search <7>[ 21.800000] ath: country maps to regdmn code: 0x3a <7>[ 21.800000] ath: Country alpha2 being used: US <7>[ 21.800000] ath: Regpair used: 0x3a <7>[ 21.800000] ath: regdomain 0x8348 dynamically updated by user <6>[ 23.670000] br0: port 2(vlan2) entered forwarding state <6>[ 23.690000] br0: port 1(vlan1) entered forwarding state <5>[ 24.690000] random: smbd urandom read with 75 bits of entropy available <5>[ 50.600000] random: nonblocking pool is initialized ~# cat /proc/mtd dev: size erasesize name mtd0: 00080000 00020000 "RedBoot" mtd1: 07940000 00020000 "linux" mtd2: 017a0000 00020000 "rootfs" mtd3: 06060000 00020000 "ddwrt" mtd4: 00080000 00020000 "nvram" mtd5: 00040000 00020000 "board_config" mtd6: 08000000 00020000 "fullflash" ~# cat /proc/partitions major minor #blocks name 31 0 512 mtdblock0 31 1 124160 mtdblock1 31 2 24192 mtdblock2 31 3 98688 mtdblock3 31 4 512 mtdblock4 31 5 256 mtdblock5 31 6 131072 mtdblock6 11 0 1048575 sr0 8 0 7847935 sda 8 1 7839688 sda1 ~# cat /proc/cpuinfo system type : Atheros AR9344 ver 1 rev 1.2 (0x2122) processor : 0 cpu model : MIPS 74Kc V4.12 BogoMIPS : 278.93 CPUClock : 560 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 shadow register sets : 1 kscratch registers : 0 package : 0 core : 0 VCED exceptions : not available VCEI exceptions : not available ~# cat /proc/iomem 00000000-07ffffff : System RAM 00060000-00309d07 : Kernel code 00309d08-003bf457 : Kernel data 10000000-13ffffff : mem_base 10000000-13ffffff : PCI memory space 10000000-1001ffff : 0000:00:00.0 10000000-1001ffff : ath9k 10020000-1002ffff : 0000:00:00.0 14000000-14000fff : cfg_base 14000000-14000fff : cfg_base 18020000-18020fff : serial8250.0 18020000-1802001f : serial 18040000-1804ffff : AR71xx GPIO controller 180c0000-180c00ff : crp_base 180c0000-180c00ff : crp_base 180f0000-180f00ff : ctrl_base 180f0000-180f00ff : ctrl_base 18100000-1811ffff : ar934x_wmac 19000000-190001ff : mac_base 19000000-190001ff : mdio_base 1b000000-1bffffff : ar71xx-ehci.0 1b000000-1bffffff : ehci_hcd ~# cat /proc/meminfo total: used: free: shared: buffers: cached: Mem: 128909312 28676096 100233216 0 4624384 10756096 Swap: 0 0 0 MemTotal: 125888 kB MemFree: 97884 kB MemShared: 0 kB Buffers: 4516 kB Cached: 10504 kB SwapCached: 0 kB Active: 8708 kB Inactive: 7936 kB MemAvailable: 103212 kB Active(anon): 1624 kB Inactive(anon): 0 kB Active(file): 7084 kB Inactive(file): 7936 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 1628 kB Mapped: 5032 kB Shmem: 0 kB Slab: 7456 kB SReclaimable: 1092 kB SUnreclaim: 6364 kB KernelStack: 320 kB PageTables: 244 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 62944 kB Committed_AS: 4076 kB VmallocTotal: 1048304 kB VmallocUsed: 732 kB VmallocChunk: 1044744 kB ~# cat /tmp/loginprompt DD-WRT v3.0-r31924 std (c) 2017 NewMedia-NET GmbH Release: 05/02/17 ~# date Sat May 13 10:08:40 CDT 2017 ~# exit [Process completed]