Skip to main content

Trendnet TEW-652BRP and DD-WRT Success!

I recently visited my dad while on a business trip when I coincidentally discovered that DD-WRT is now available for his TEW-652. The TEW-652BRP has been a great router for my father, but it isn't what I'd call "feature rich". An upgrade to DD-WRT is a big bonus.

I live 2500 miles away from my non-technical father, and so a well-specified router that helps me manage his network remotely is important to both of us.

This article will explain what I did to finally get DD-WRT working on my TEW-652BRP v1.0R.

About the TEW-652brp

It's a nice looking little black 802.11n, 2.5 GHz router. It was amazingly inexpensive (usually way under $30), and the TEW-652brp is available through Amazon. Mine is a version 1.0R, you'll likely want the same version. Out of the box, it works quite well - it has been stable, and I was fairly happy with the stock firmware. But it was short on features - I like having VPN, SSH, and flexible DHCP services on the home networks I support. The stock firmware on the TEW-652BRP wasn't so good at that stuff.

An upgrade to DD-WRT gives me all these advanced features and much more. According to the label on the back of my TEW-652BRP, I have hardware version V1.0R.

Plan A: An easy upgrade to DD-WRT.

The on-line literature suggested that I might be able to simply install the DD-WRT firmware using the Trendnet's built-in firmware utility.

I downloaded the "factory to DD-WRT" .bin file for the TEW-652BRP, found here. Then I logged into the router via http://192.168.10.1/ and navigated to the router's firmware update page. From there, I tried to upgrade the device using the "factory to DD-WRT" .bin file.

The firmware upgrade failed - the Trendnet firmware reported an error. Happily, no destructive action was taken by the firmware updater - the router was not bricked.

I initially believed that the upgrade utility didn't like the signature of the firmware file found on the DD-WRT website.

Plan B - Recovery Mode firmware utility.

So went to "Plan B": I'd upgrade the router's firmware using the recovery mode.

I set a static address of 192.168.0.2 on my PC. Then I powered up the router while holding down the reset button. I held the reset button down until the "status" LED started to blink.

Then I plugged into Ethernet and went to http://192.168.0.1/ with Firefox. Ta-da! A firmware update page came up.


Trendnet Firmware Recovery Page

I then attempted to upload the DD-WRT .bin file. Crap, same thing - invalid firmware file. Even the recovery mode wasn't willing to install a renegade firmware file.

Plan C - The solution

After two failures taking several hours, I decided to get a little more serious. I went to the Trendnet web site and downloaded their latest firmware, seen here. Then I got out the trusty hex editor and looked at the end of the file. The signature at the end was

AP81-AR9130-RT-080609-05
... aka ...
41 50 38 31 2D 41 52 39 31 33 30 2D 52 54 2D 30 38 30 36 30 39 2D 30 35

I then looked at the DD-WRT firmware's signature at the end of its .bin file, and, sadly, it was identical. So it didn't seem like my installation problem was a simple "file signature" issue, but maybe a checksum or some other algorithmic issue within the Trendnet firmware.

So I decided to try to run around the apparent checksum issue by avoiding the Trendnet software altogether. Which worked.

The story I read on the web was that the D-Link 615 rev. C is the same hardware device as the '652, but with different (and better) firmware. I decided to try to install the D-Link firmware onto the router, and then install the DD-WRT firmware onto the "D-Linkified" Trendnet.

The short story is that this strategy worked like a charm. But it did require some hex editing. Here are the details.

(1) Download the D-Link 615 rev C firmware. I used an old version, Version 3.00.

(2) Use a hex editor to replace the D-Link signature string at the very end of the .bin file.

AP81-AR9130-RT-070614-02
(aka: 41 50 38 31 2D 41 52 39 31 33 30 2D 52 54 2D 30 37 30 36 31 34 2D 30 32)

... became ...

AP81-AR9130-RT-080609-05
(aka: 41 50 38 31 2D 41 52 39 31 33 30 2D 52 54 2D 30 38 30 36 30 39 2D 30 35)

(3) Using Trendnet's stock firmware, install the newly modified "DLink" .bin file.

(4) Wait patiently for the upgrade to complete

(5) Tada! The D-Link firmware login page appears! Yay!

From there, I performed a similar procedure with the DLink firmware update page:

(1) Download the DD-WRT firmware from the FTP site. I used the "factory to dd-wrt" firmware for the Trendnet, found here.

(2) Use a hex editor to replace the Trendnet signature string at the end of the .bin file with a signature that the D-Link firmware accepts. I changed the signature as follows:

AP81-AR9130-RT-080609-05
(aka: 41 50 38 31 2D 41 52 39 31 33 30 2D 52 54 2D 30 38 30 36 30 39 2D 30 35)

... became ...

AP81-AR9130-RT-070614-02
(aka: 41 50 38 31 2D 41 52 39 31 33 30 2D 52 54 2D 30 37 30 36 31 34 2D 30 32)


(3) Log into the D-Link router (username admin, password admin).

(4) Using the router's renegade D-Link firmware, I upgrade the firmware with the modified DD-WRT .bin file.

(5) Wait patiently

(6) Ta-da! DD-WRT firmware page appears!

From this point on, I was able to use DD-WRT firmware. I've been using this firmware now for well over a year, and it has been totally reliable.

Update: Excitingly, I just bought a similarly capable router with OpenWRT fully pre-installed.  The GLI MT300N is under $20 and is a compact, modern router with OpenWRT of the box.  It is rock-solid and has a sweet interface for installing optional software packages.

Popular posts from this blog

Canon SD890 Review

My Canon PowerShot SD890IS Review Wahoo! I just received my new Canon PowerShot SD890IS . Here's my review of the new SD890IS. Updated! (20-April-2008)! I like taking good photos. And I hate lugging around big cameras and equipment. And so I concluded that I needed to buy myself an awesome point-n-shoot camera. I often take pictures in difficult conditions, such as a museum where a flash camera is prohibited. Or a concert, where I can't use a flash, the lighting is low, and the people on stage are in motion. Or with the zoom cranked up and focused on a distant subject. Taking good photos in these conditions, with a small lens camera and without a tripod is a challenge at best. In comes the SD890. I was particularly excited about the SD890 because it is pocketable, yet it has awesome specifications: Image stabilization ; a 5x zoom lens, and 10 megapixel resolution. When I bought the camera, I imagined that these features would help me take much better pictures in the...

The Trick to Properly Fixing the Rubber Feet of a MacBook Pro

A black rubber foot of my trusty old MacBook Pro finally broke off, and I didn't like how it made the laptop wobbly.  A fix was needed, and quick! First I bought some replacement feet, the kind that just stick on.   These feet are nice because there is no need open up the machine to fix a broken foot.  They're very inexpensive, and the ones I bought have adhesive tape already applied - just peal and stick.  I bought feet like the ones found here. I have read many complaints about how the adhesive doesn't stick, but I think that's because people don't know the two tricks required to get the new feet to stick properly. New Feet to replace a lost Foot Important Trick 1: Make sure to remove all remnants of the old foot - including the pieces in the hole.   My factory-installed foot was attached both mechanically and with adhesive, but when the old foot sheared off, some pieces of the old foot remained in the hole.  Those plastic bits would h...

Fix a Lightning Cable with Heat Shrink Tubing

We've all seen a Lightning cable that has started to fall apart.  They get used every day, and after enough tugs and yanks on your iPhone, they start to fray. I've seen a lot of these frayed cables, so I've started to fix them before they break with heat shrink tube.  I get my heat shrink on Amazon, like this handy and inexpensive pack.   I prefer the heat shrink tubes without internal glue - it has higher flexibility and a smaller outside diameter once shrunk. Heat Shrink Tubing on an Old, Frayed Lightning Cable In the photo here, you'll see that I slid on a 1.25 inch length of heat shrink over the lighting connector, and then shrunk it into place.  I chose a diameter that just barely fits over the lightning connector.  In all, it took about 60 seconds to perform this repair. Warning: the white plastic of the lightning cable has a pretty low melting point.  It seems to start to melt at about 125°C (or about 250°F), which is the same temperatur...

Repairing a MagSafe Charger's Cord

Here is how to repair the cord of Apple MacSafe power adapters. There are three common failure modes of a magsafe wire: The base of the cord becomes frayed where the wire enters the power brick.  This is usually caused by repeatedly wrapping the cord far too tightly around the brick's "ears". The head of the magsafe connector becomes frayed.  This is usually caused by repeatedly removing the magsafe magnet by yanking on the cord. Chewed up cord.  This is where a pet or other pinching device weakens the cord. These types of failure are usually repairable at home using the technique described here. Tools Required: A beginner's Soldering kit, like this one, including a low-wattage soldering iron, rosin-core Solder, and wire strippers. Heat shrink tubing .   Any color works, but these days I use white to repair a MagSafe cord. One Soldering Sleeve, appropriate for 22 or 24 AWG wire Heat gun (optional.) Process:   The general process is t...

Fixing a SodaStream Jet, part 1: Disassembly Guide

I've had my SodaStream Jet for years, and once in a while something has gone wrong. Disassembly is the first step to repair.  Start with this article to see how to disassemble the SodaStream, and then once you have that down, scroll through my other articles to see how I repaired specfic SodaStream problems. SodaStream Jet Disassembly Guide Tools Required Flat head screwdriver Phillips head screwdriver 1. Remove the Carbonator.  Duh. 2. Remove the black panel lever The front big black tilt lever needs to be removed first. Removing this panel is tricky, but it isn't impossible. Looking up at the bottom of the black panel, there are two tabs, one on the left and one on the right. These tabs fully secure the panel in place. The trick is to use a flat-head screwdriver under the plastic to gently lever the tabs out of the way.  Note in the pictures how I approach these tabs with my screwdriver.  I usually release the left side first, and then I release ...

Hot (and Cold) Attic Tempertures and Electronic Equipment

An unfinished attic can be an extreme environment for electronic equipment, with conditions that are very unlike what is experienced inside normal living spaces. What's the deal with installing electronic equipment in an unfinished and uninsulated attic?   I wanted to install a standard WiFi router in my attic to function as a Wireless ISP (WISP) gateway. My attic is a fantastic location from a radio signal perspective, but it is an uncomfortable place for both people and electronic gear. Although the attic is well insulated, that insulation is on the floor, designed to keep the living space of my home at moderate temperatures. As a WISP gateway, my WiFi router is best mounted above the insulation and close to the roof, where the only protection from weather extremes is the wood of the roof and a layer of asphalt shingles. Equipment Specifications and Extremes Almost all electronic equipment has a set of specifications regarding operating environment. These specifications state the...

Other Posts

Show more