Linksys WRT160N v2



"3763-01001201R" is silkscreened on the board in the FCC photos.

WRT160N v2 serial numbers appear to start with CSE1.

Firmware projects

 * Supported by an unofficial fork of OpenWRT (openwrt-leitec)

Wikis

 * WRT160N series on the OpenWrt Wiki
 * WRT160N series on the OpenWrt Wiki
 * WRT160N series on the OpenWrt Wiki

Forum threads

 * On the DD-WRT Forums
 * (Note: DD-WRT doesn't currently support the WRT160Nv2)

Serial

 * Serial Recovery on VectorMM

Pinout
WAN Port (RxD) (TxD) (GND) J10

Boot log
{{SCollapse|boot log U-Boot 1.1.3 (Jul 26 2008 - 17:24:31)

Board: RT2880 DRAM: 16 MB Switch Reset Occurred The Flash ID =22F9 MAN_ID=7F CFI QUERY flash sectors=[8],sector_size=[2000] CFI QUERY flash sectors=[63],sector_size=[10000]

=
=============================== ASIC -VerB/C (MAC to 100PHY Mode) DRAM COMPONENT=64Mbits DRAM BUS=32BIT Total memory = 16Mbytes Date:Jul 26 2008 Time:17:24:31

=
===============================


 * Rtl8306_asicSoftReset *****---

***** Get the RTL8306SD Manufactory ID=5988 *****--- Found valid NVRAM. Board IP Address               192.168.1.1 Default host ip Address        192.168.1.10 Board MAC Address              00:22:6b:78:29:ee Boot file name                 "uboot.bin" Boot address                   BFC40000 Deafult baud rate              115200

3: System Boot system code via Flash. Image Name:  Linux Kernel Image Created:     2009-08-21   3:23:49 UTC System Control Status = 0x02110084 Image Type:  MIPS Linux Kernel Image (lzma compressed) Data Size:   3416064 Bytes =  3.3 MB   Load Address: 8a000000 Entry Point: 881d6040 Verifying Checksum ... OK  Uncompressing Kernel Image ... OK No initrd
 * Press Ctrl-C or ESC key to stop boot run ***                                                                                        0
 * 1) Booting image at bf040000 ...
 * 1) Transferring control to Linux (at address 881d6040) ...
 * 2) Giving linux memsize in MB, 16

Starting kernel ...

THIS IS ASIC ramsize = 16 MBytes rambase not set, set to default (0x08000000) MEMORY DESCRIPTOR dump: [0,88259e40]: base size type

The CPU feqenuce set to 266 MHz CPU revision is: 0001906c icache: sets:256, ways:4, linesz:16 ,total:16384, waybit:12, flags:0x0 dcache: sets:256, ways:4, linesz:16 ,total:16384, waybit:12, flags:0x0 i waysize = 4096, d waysize = 4096, i sets= 256, d sets=256 Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes. Primary data cache 16kB, 4-way, linesize 16 bytes. [setup_scache]:1032 Linux version 2.4.30 (tcy@cybertan) (gcc version 3.3.6) #9 Fri Aug 21 11:23:36 CST 2009 Determined physical RAM map: memory: 01000000 @ 08000000 (usable) On node 0 totalpages: 36864 zone(0): 36864 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: console=ttyS1,115200n8 root=/dev/mtdblock2 noinitrd cause = f080837c, status = 1000c700 calculating r4koff... 00144b50(1330000) CPU frequency 133.00 MHz Using 133.000 MHz high precision timer. Calibrating delay loop... 265.42 BogoMIPS Memory: 12376k/16384k available (1870k kernel code, 4008k reserved, 112k data, 100k init, 0k highmem) Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) Inode cache hash table entries: 16384 (order: 5, 131072 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 65536 (order: 6, 262144 bytes) Checking for 'wait' instruction... unavailable. POSIX conformance testing by UNIFIX pci.c pcibios_init:840 BAR0 at slot 0 = ffffffff Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 squashfs: version 3.0 (2006/03/15) Phillip Lougher pty: 256 Unix98 ptys configured bootnv start=0xbf03ea00, end=0xbf03fe00 Ralink gpio driver initialized spidrv_major = 217 Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x300500 (irq = 9) is a 16550A ttyS01 at 0x300c00 (irq = 8) is a 16550A HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096 N_HDLC line discipline registered. RA2880 Ethernet Driver Initilization. v1.01 256 rx/tx descriptors allocated! Netlink init ok! PROC INIT OK!

rdm_major = 254 PPP generic driver version 2.4.2 PPP BSD Compression module registered MPPE/MPPC encryption/compression module registered FLASH_API: MAN_ID=7F DEV_ID=22F9 SIZE=4MB physmap flash device: 400000 at bc400000 cfi_cmdset_0002: cfi->cmdset=0 cfi->interleave=1 cfi->device_type=2 cfi->cfi_mode=1 cfi->addr_unlock1=0 cfi->addr_unlock2=0 cfi->fast_prog=1 cfi->mfr=0 cfi->id=0 cfi->numchips=1 cfi->chipshift=22 cfi->cfiq->P_ADR=40 cfi->cfiq->NumEraseRegions=2 Pirmary Extended Table: major='1' minor='1' Address Sensitive Unlock=0 Erase Subspend=2 Block Protect=4 Block Temp Unprotect=1 Block [Un]Protect Scheme=4 Simultaneous Operation=0 Burst Mode=0 Page Mode=0 ACC Min=165 ACC Max=181 TopBottom=2 Amd/Fujitsu Extended Query Table v1.1 at 0x0040 cfi_cmdset_0002: bootloc=2 cfi_cmdset_0002: Region=0 BlockSize 0x2000 bytes, 8 blocks cfi_cmdset_0002: Region=1 BlockSize 0x10000 bytes, 63 blocks cfi_cmdset_0002: cfi->chips[0].word_write_time=16 cfi_cmdset_0002: cfi->chips[0].buffer_write_time=1 cfi_cmdset_0002: cfi->chips[0].erase_time=1024 number of CFI chips: 1 Region0: SectorSize=0x2000 SectorNum=8 Region1: SectorSize=0x10000 SectorNum=63 cfi_cmdset_0002: Using word write method. cfi_cmdset_0002: Disabling fast programming due to code brokenness. Using physmap partition definition Creating 4 MTD partitions on "RT2880 SOC Physically mapped flash": 0x00000000-0x00040000 : "Bootloader" mtd: Giving out device 0 to Bootloader 0x00040000-0x003f0000 : "Kernel" mtd: Giving out device 1 to Kernel 0x000e2464-0x003f0000 : "Rootfs" mtd: partition "Rootfs" doesn't start on an erase block boundary -- force read-only mtd: Giving out device 2 to Rootfs 0x003f0000-0x78633858 : "nvram" mtd: partition "nvram" extends beyond the end of device "RT2880 SOC Physically mapped flash" -- size truncated to 0x10000 mtd: Giving out device 3 to nvram NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 1024 buckets, 8Kbytes TCP: Hash tables configured (established 16384 bind 32768) Linux IP multicast router 0.06 plus PIM-SM ip_conntrack version 2.1 (1152 buckets, 9216 max) - 368 bytes per conntrack Register conntrack protocol helper for ESP... init IP_nat_proto_esp register. ip_conntrack_rtsp v0.01 loading ip_nat_rtsp v0.01 loading ip_tables: (C) 2000-2002 Netfilter core team ipt_random match loaded ipt_time loading NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: Ethernet Bridge 008 for NET4.0 802.1Q VLAN Support v1.8 Ben Greear  All bugs added by David S. Miller  VFS: Mounted root (squashfs filesystem) readonly. Mounted devfs on /dev Freeing prom memory: 0kb freed Freeing unused kernel memory: 100k freed console started trying to start /sbin/init MTD_open MTD_read MTD_close Needed modules: rt2860v2_ap cmd=[insmod rt2860v2_ap ] The chipset is RA_RT2880
 * Rtl8306_asicSoftReset *****---
 * Get the RTL8306SD Manufactory ID=5988 *****---

Hit enter to continue... Bootloader is UBOOT.

CODE_PATTERN =>N160 Make date==>Year:9,Month:8,Day:20 Firmware version =>v2.0.03 MD5=[e8235438ca0893272b95da2368931c57] killall: httpd: no process killed Console log level set to 1 cmd=[vconfig set_name_type VLAN_PLUS_VID_NO_PAD ] start_vlan:set eth2 hwaddr to 00:22:6b:78:29:ee cmd=[vconfig add eth2 1 ] ioctl: Device or resource busy cmd=[vconfig add eth2 2 ] cmd=[brctl addbr br0 ] cmd=[brctl setfd br0 0 ] name=[vlan1] lan_ifname=[br0] start_lan:set vlan1 hwaddr to 00:22:6b:78:29:ee cmd=[brctl addif br0 vlan1 ] name=[ra0] lan_ifname=[br0] cmd=[brctl addif br0 ra0 ] lo: File exists Set 66560 to /proc/sys/net/core/rmem_max ... cmd=[resetbutton ] start syslogd... br0 192.168.1.100 86400 cmd=[udhcpd /tmp/udhcpd.conf ] info, udhcp server (v0.9.8) started cmd=[tftpd -s /tmp -c -l -P N160 ] tftp server started tftpd: standalone socket [HTTPD Starting on /www] cmd=[httpd ] zebra disabled. upnpd adding route[route add -net 239.0.0.0 netmask 255.0.0.0 br0]

J>>>>>> START WSC >>>>>>>>>>> Name to be unset = wsc_config_method=pin

led reset.....LED1 orange, LED2 Green iwpriv cmd is iwpriv ra0 set WscConfMode=7 iwpriv cmd is iwpriv ra0 set WscConfStatus=1 cmd=[udhcpc -i vlan2 -l br0 -p /var/run/wan_udhcpc.pid -s /tmp/udhcpc ] info, udhcp client (v0.9.8) started

Hit enter to continue... HNAP:using uuid:00220022-6b78-29ef-efee-00226b7829ef libupnp: using UDP SSDP_PORT = 1900

Hit enter to continue... }}

cat /proc/mtd
dev:   size   erasesize  name mtd0: 00040000 00010000 "Bootloader" mtd1: 003b0000 00010000 "Kernel" mtd2: 0030db9c 00010000 "Rootfs" mtd3: 00010000 00010000 "nvram"
 * 1) cat /proc/mtd

cat /proc/cpuinfo
system type            : Palmchip Surfboard processor              : 0 cpu model              : unknown V6.12 BogoMIPS               : 265.42 wait instruction       : no microsecond timers      : yes tlb_entries            : 16 extra interrupt vector : yes hardware watchpoint    : no VCED exceptions         : not available VCEI exceptions        : not available
 * 1) cat /proc/cpuinfo

lsmod
Module                 Size  Used by rt2860v2_ap           777824   1
 * 1) lsmod

ps
PID Uid        VSZ Stat Command 1 root      1808 S   /sbin/init noinitrd 2 root           SW  [keventd] 3 root           SWN [ksoftirqd_CPU0] 4 root           SW  [kswapd] 5 root           SW  [bdflush] 6 root           SW  [kupdated] 7 root           SW  [mtdblockd] 9 root           SW  [rtmpWscHandle] 22 root      1764 S   resetbutton 25 root      1192 S   syslogd -O /dev/null 30 root      1768 S   tftpd -s /tmp -c -l -P N160 32 root      1476 S   udhcpd /tmp/udhcpd.conf 33 root      1200 S   crond -c /etc/cron.d   36 root       5472 S   httpd 40 root      1928 S   upnpd br0 46 root      2364 S   wscd -m 1 -a 192.168.1.1 61 root      1452 S   udhcpc -i vlan2 -l br0 -p /var/run/wan_udhcpc.pid -s 63 root      2364 S   wscd -m 1 -a 192.168.1.1 64 root      2364 S   wscd -m 1 -a 192.168.1.1 65 root      2364 S   wscd -m 1 -a 192.168.1.1 66 root      2364 S   wscd -m 1 -a 192.168.1.1 68 root      2364 S   wscd -m 1 -a 192.168.1.1 69 root      2364 S   wscd -m 1 -a 192.168.1.1 70 root      2364 S   wscd -m 1 -a 192.168.1.1 72 root      2364 S   wscd -m 1 -a 192.168.1.1 73 root      2364 S   wscd -m 1 -a 192.168.1.1 82 root      1296 S   /bin/sh 94 root      1192 R   ps
 * ps

cat /proc/meminfo
total:   used:    free:  shared: buffers:  cached: Mem: 12775424 10489856  2285568        0  1245184  2834432 Swap:       0        0        0 MemTotal:       12476 kB MemFree:          2232 kB MemShared:           0 kB Buffers:          1216 kB Cached:           2768 kB SwapCached:          0 kB Active:           1696 kB Inactive:         2300 kB HighTotal:           0 kB HighFree:            0 kB LowTotal:        12476 kB LowFree:          2232 kB SwapTotal:           0 kB SwapFree:            0 kB
 * 1) cat /proc/meminfo