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

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 the right

Fixing my Wahl 9918 Groomsman Beard and Mustache Trimmer

Not everyone would bother repairing a $25 beard trimmer, but why not fix something for under $5 instead of spending another $25? My  Wahl 9918 Groomsman Beard and Mustache Trimmer  has admirably performed its beauty duty for many years, but the time came when the battery just wasn't holding a charge any more.  Most people would just put the trimmer in the trash and buy a new one, but I figured I could repair my otherwise excellent Wahl and save some money. In fact, even high priced trimmer and rotary shaver brands, like Norelco and Remington, can be easily repaired using a process similar to the one I used to fix my Wahl.  Read on to find out how. I opened up the Wahl by popping off the black plastic faceplate with a tiny flathead screwdriver, which revealed two screws.  By removing the two screws I was able to easily open up the unit, revealing the guts of the device. Backplate off, Revealing the screws The internals are rather simple: a motor, a simple circuit boar

Sodastream Carbonator Leakage, Usage, and Weight

SodaStream 60L "Carbonator" CO2 cylinders have a specific weight when empty, plus about 410 or so grams for the CO2 they should have when they're "full".  A little while ago I went to buy a replacement Carbonator from my local hardware store. The dealer pulled a new Carbonator out of the box and sensed it was lighter than usual.  He put the "light" Carbonator in the "empty" pile and sold me a different one.  At that moment I concluded that it would be smart of me to weigh both new and empty SodaStream carbonators.  Here are the results. Weighing a SodaStream Carbonator - for both Science and Consumer Protection.       The dealer told me that sometimes the carbonators leak after they leave the SodaStream filling facility.  That means there could be an opportunity for customers like me to get ripped off! The SodaStream cylinders I buy claim to have a net product weight of 410 grams - and that means that a full Soda Stream Carbonator shou

Fixing a SodaStream Jet, Repair #2 - Broken Fill Button

My Soda Stream Jet's fill button broke, which means I can not longer carbonate water by pressing the pushbutton. This caused all sorts of grief in my household. Here is how I managed to repair my Jet to give it another 10 years of life (hopefully). First, a look at the button The fill button on the top of the SodaStream is actually a simple lever. Pressing down on the button moves a pin that does the actual work of pressing open the Carbonator's valve. Unfortunately, the axis point is fairly thin and can see a lot of stress. That's where my Soda Stream button cracked. [ I think the usage tip here is "don't over-press the button like a gorilla, it doesn't do anything but put high stress on the button."] Cracked levering point of the button The Pesky Lever Retaining Pin The Fix It was pretty easy for me to replace the button: Take off the back of the Soda Stream and remove the carbonator. Push out the the button lever's steel retaining pin. This takes qu

Adding a Water Flood Sensor to my Vista-20p alarm system

My Honeywell Vista 20p alarm system is fairly comprehensive, but I want one more feature: an alarm that lets me know when my sump pump isn't working properly. Here is how I added one for about $8 in special parts.   I'm afraid of a flood in my finished basement. I'm fortunate - my basement sump pump system is already redundant, with two independent pumps and two outflow pipes. The primary pump kicks in when the water level reaches 6 inches, and if that doesn't work, then the backup pump kicks in when the water level reaches 7 inches.  The backup pump should never kick in unless the primary pump is having a problem pumping.   But there is a problem with this setup: I might never know if my primary pump has failed, leaving me with no redundancy.  I want to be informed when I have one (or god forbid, two) pump failures. My goal is to have my Vista 20p alert me when the sump's water level is ever beyond the point where my primary pump should have kicked in, alerting me

Robust Installation of an HDHomeRun Networked TV Tuner. 64 OTA channels!

I added an HDHomerun (HDHR) over-the-air (OTA) streaming box to my home network, bringing over-the-air broadcast TV to my computers, phones and tablets.  The HDHR is a big upgrade from my previous setup: using a simple "window mount" antenna directly connected to my TV. A TV-attached antenna is good for watching some TV for free, but the HDHR offers so much more flexibility. Figure 0: HDHomeRun on my basement wall   My original OTA TV setup was haphazard at best. It was finicky, ugly, and hard for other people at home to use. I would actually tape my antenna to a window whenever I wanted to watch OTA TV. Plus, it only worked on my TV and not with my other devices. I wanted a cleaner and more modern OTA setup. After looking at possibilities, I developed two goals: (1) bring my OTA TV into the modern Internet-connected era, and (2) set it up in a reliable and pretty way so that other family members wouldn't have to fool around with the antenna or anything else.  With that,

Other Posts

Show more