User Tools

Site Tools


toh:trendnet:tew432brp

Trendnet TEW-432BRP

This is a Realtek-based wireless router with 5-port switch. Flash size is only 2 MiB. Serial port login is password-protected.

Hardware Highlights

CPU Ram Flash Ethernet Wireless USB Serial JTag
Realtek RTL8186@180MHz EM639165TS-6G 16MiB KH29LV160DBTC-70G 2MiB RTL8305C RTL8225 No Yes ?

Serial

This device has 3.3V TTL UART. Settings are 38400 8N1.

J1VCCTxRxGND

Stock Firmware Boot Log

UART1 output test ok
Uart init
mfid=000000c2 devid=00002249
Found 1 x 2M flash memory
---RTL8186 at 2009.01.08-16:48+0800 version 1.4b [16bit](180MHz)
Jump to image start=0x80800000...
decompressing kernel:
Uncompressing Linux... done, booting the kernel.
done decompressing kernel.
early printk enabled 
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Initial ramdisk at: 0x801ae000 (5017600 bytes)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram console=0 ramdisk_start=0 single
Calibrating delay loop... 178.99 BogoMIPS
Memory: 9316k/16384k available (1551k kernel code, 7068k reserved, 5000k data, 56k init, 0k highmem)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
check_wait... unavailable.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Serial driver version 6.02 (2003-03-12) with no serial options enabled
ttyS00 at 0x00c3 (irq = 3) is a rtl_uart1
state->flags=00000000
HDLC line discipline: version $Revision: 1.1 $, maxframe=4096
N_HDLC line discipline registered.
Realtek GPIO Driver for Flash Reload Default
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 5000K size 1024 blocksize
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
PPP generic driver version 2.4.1
PPP MPPE Compression module registered
RealTek E-Flash System Driver. (C) 2002 RealTek Corp.
Found 1 x 2M Byte MXIC MX29LV160AB at 0xbe000000
RTL8185 driver version 1.14 (2008-02-15)
8186NIC Ethernet driver v0.1.0 (Jan 30, 2008)
eth0: RTL8186-NIC at 0xbd200000, 00:01:02:03:04:05, IRQ 4
eth1: RTL8186-NIC at 0xbd300000, 04:05:06:07:08:09, IRQ 5
Check MII:phy 2, reg 31
0x0000b0b0
Check MII:phy 2, reg 26
0x00000052
Asic.revision=0x00000000
Realtek FastPath v1.04
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
Linux IP multicast router 0.06 plus PIM-SM
ip_conntrack version 2.1 (128 buckets, 1024 max) - 316 bytes per conntrack
PPTP netfilter connection tracking: registered
PPTP netfilter NAT helper: registered
ip_tables: (C) 2000-2002 Netfilter core team
ipt_account 0.1.21 : Piotr Gasidlo <quaker@barbara.eu.org>, http://www.barbara.eu.org/~quaker/ipt_account/
ipt_domain 0.0.3 : Platinum, http://platinum.cublog.cn/, and Arthur
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 4900 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 4900k freed
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 56k freed
mount /proc file system ok!
serial console detected.  Disabling virtual terminals.
init started:  BusyBox v1.00-pre8 (2005.09.16-02:21+0000) multi-call binary
Initialize wlan0 interface
Setup BRIDGE interface
Setup bridge...
device eth0 entered promiscuous mode
eth0:phy is 8305
device wlan0 entered promiscuous mode
br0: port 2(wlan0) entering listening state
br0: port 1(eth0) entering listening state
br0: port 2(wlan0) entering learning state
br0: port 2(wlan0) entering forwarding state
br0: topology change detected, propagating
br0: port 1(eth0) entering learning state
br0: port 1(eth0) entering forwarding state
br0: topology change detected, propagating
Setup WAN interface
eth1:phy is 8305
Auto-Discovery (ver 1.01) 
(none) login: 

Unbricking

  1. Download appropriate firmware for the router from Trendnet site (be careful with hardware revisions, flashing firmware with “1.2R” in the filename to 1.0R could brick your router). You can rename it to fw.bin for ease.
  2. Assign IP 192.168.1.2 to the PC network card.
  3. Connect PC to the router's LANx port (any of four should work).
  4. Power router on with the “reset” button pressed. Status light will not blink, it's okay.
  5. To check if router alive or not you can issue “ping 192.168.1.1”. The router will not reply, but the command “arp -a” should show you a mac address of the router associated with ip 192.168.1.1.
  6. Upload correct firmware with the following command:

Linux:

#tftp
>connect 192.168.1.1
>mode binary
>put fw.bin

Windows:

 
c:\>tftp -i 192.168.1.1 PUT fw.bin

LAN light on the router will be flashing for about two seconds showing you the firmware is transmitting. Wait about a minute, router will upgrade itself and reboots. You have done.

Some people reported they have succesfully flashed their router with Windows version of tftp, whereas for others only Linux version worked.

Tags

toh/trendnet/tew432brp.txt · Last modified: 2018/06/23 09:59 by tmomas