Monday, March 30, 2009

DD-WRT on DIR-300

I wanted a standalone AP-client/Ethernet converter/Wireless bridge. I couldn't find a suitable product on the market (with my budget of < US$50). The products I did manage to find were either too expensive, too old, not available, or too over-featured (remember you heard this term here!).

Well, there were a few: like the Zyxel G-570S which cost S$99 (too expensive), Engenius ECB-1220R which was not yet available (but the price seems alright at S$75). Asus WL-320gE/WL-330-gE looked like they fit the bill too, but was too expensive.

The Linksys WGA54 was an obsolete, EOL product. Last firmware was in 2005, and it doesn't support WPA. I bought 3 of them only to find out that they worked quirky too. There was no way to get the signal strength, for example.

I came back to something that I've overlooked for a while, because the published product specs didn't support an AP client mode - the Dlink DIR-300. It was based on an Atheros AR2317 which IS supported by DD-WRT, which had client mode wireless, which was a full linux distribution (something which I was right at home with), and it was both CHEAP (S$50) and readily available. So I popped over to Challenger on the weekend, bought one unit, and brought it into the office today to get it converted.

It wasn't too daunting after all. It took me a few tries and reboots to get the DD-WRT firmware properly flashed onto the board, and a couple more steps later we are in business. I got my wireless AP client up and running.

I was able to connect to an AP using WPA2-PSK via the webpages. The only complaint I had about the interface was that it put the onus of knowing the security settings on the user, and did not detect the suitable configuration for the AP. It had telnet (how about SSH?), but the username and password did not match the web-based login. AP scanning works well. I could use the iwconfig and iwlist commands to scan for access points and get the signal strengths. Just perfect for my wireless testing. I could even do performance testing from the router itself.

Acknowledgements

5 comments:

Anonymous said...
This comment has been removed by a blog administrator.
Andrew M said...

Hi There,

wondering if you can share your DD-WRT configuration - I'm trying to turn a DLink DIR-300 into a bridge/client as well, but for the life of me cannot get it to work, no matter what I do...

Cheers,

Andrew

pesa09 said...

Can you show me step by step tutorial on how to install DD-WRT v24-sp1 into my dlink dir-300

chnrxn said...

Hi Andrew,

I presume you've managed to load DD-WRT on the unit, but just not able to get the client mode working?

I got the AP client to work, just had to ensure that the encryption is configured correctly. Perhaps the DD-WRT forum is a better place to get support.

chnrxn said...

Hi pesa09,

I've managed to do this by following the instructions at http://www.shadowandy.net/2007/09/mini-flashing-guide-for-dir-300.htm

It is as close to a step-by-step that you can find.