DD-WRT on Linksys WRT54G v8

Posted: April 28, 2008 in IPTV, Technology
Tags:

Update: Since writing this post in 2008 Linksys have produced v8.1 and v8.2 routers which may not be compatible with the instructions here. Luckily there are now ‘official’ guides for the dd-wrt site for v8 routers:

http://www.dd-wrt.com/wiki/index.php/How_To_Flash_the_WRT54Gv8

http://www.dd-wrt.com/wiki/index.php/Linksys_WRT54G_v8.0_%26_v8.2


Many sites say v8 of the WRT-54G routers cannot be flashed with DD-WRT. I have now done this twice and here are simple instructions – these are re-worked from bauer-power who’s post I came across when fearing my first attempt bricked the router. First try on a v8 took me over two hours mostly in Google/ Forums, second time about ten minutes with these steps:

  1. Go to http://192.168.1.1 (default user/pass is admin/admin)
  2. Click on Administration tab, then click on Firmware Upgrade. Upload vxworkskillerGv8-v3.bin
  3. When you see ‘Update is successful, Rebooting….’ unplug the router for 120 seconds (some say to wait 120 secs BEFORE unplugging – do both to be safe)
  4. Plug in router, ping 192.168.1.1 to verify it is still alive (you may have to hardcode static IP settings on your PC to have a gateway of 192.168.1.1, subnet 255.255.255.0 and IP 192.168.1.100 )
  5. Run the Linksys Tftp Utility, uploading dd-wrt.v24_micro_wrt54gv8.bin with these settings:
  6. Press Ugrade. When the upgrade GUI’s green dot appears press the router reset button
  7. Browse to 192.168.1.1 and see the new firmware (default user/pass is root/admin)

If you are looking to flash another a non v8 router with DD-WRT I found these links to be the most helpful:
DD-WRT Installation wiki
Client Bridge Example (this is almost 100% correct for V24 firmware – you should have no problems following it)

Also be aware there are version specific firmwares on the dd-wrt website, but it may take you while to find them: Linksys is under the Broadcom (chipset) folder. More than likely a newer builder than I linked to will work with the v8, but I simply wanted another client bridge and have had one running with v24 for two months now.

Afraid to do this ‘hack’? Of the three Linksys routers I’ve flashed none became bricks. Heck they are only $40 now anyway, but if you do brick one it looks they are not too impossible to recover:
Recover from a bad-flash (unbrick a dead router) wiki

So Why did I do this?

This was left to last as the news that we can flash Linksys routers is years old. Still even me -a tech blog addict- was still not 100% sure what a wireless bridge is, and how to link to wireless networks into one seamless network. We need access points in many locations, but are renting so cannot run cat5 everywhere. Yes I could buy custom wireless adapters for the xbox (xbmc), HTPC, NAS drives, PCs and printers but they normally cost $80 or more each and are no where nearly as flexible as a DD-WRT flashed router which has 5 ports. Also the new V8 WRT54G router I bought for my theater room was losing the plot when the PS3 was turned on – I have no idea why but the voip phone etc would all lose their connection. Since being flashed it has been 100% stable.

This is a sample wireless bridge, to the machines it looks like one seamless network:

We now have three WRT54 routers with DD-WRT. One is a primary and two more are client bridges.. one for the xbmc and for my main PC in an office room. They seem to play fine together. The two client bridges have five Ethernet sockets as the wan port was reconfigured by DD-WRT. This is fantastic for many reasons, e.g. when moving large files I can plug a laptop or NAS drives into the same wired network. WiFi is fine for streaming media, but you trying moving a 10GB VirtualPC image or 4GB TV recording over WiFi and you’ll see how much faster/ reliable wired networks are.

DDD6 UK Code Camp

Posted: November 25, 2007 in Presentations, Tech Events

For my slides and NAnt + Cruise Control config files click here. If you have any more questions please email me.

DDD6 was the 6th UK ‘code camp’ and I was luckily enough for my session to be voted in. Many people missed out attending because there were ~450 registrations in 24 hours!! Everyone I met was incredibly bright – most of the tough questions I asked in my Continuous Integration session were immediately answered, by sometimes what seemed half the room!

Comparison to with US Code Camps is pretty easy. The UK version is was excellent too. Classic cultural differences were there: a little less pizazz, and the average attendee weighing 20->30 lbs less. Note the cycle racks outside reception in the photos below, if US gas were $9/gallon I think we’d be slimmer too.

It pleases me greatly to report TDD/ Automated Testing is certainly gaining traction with the .Net community here. Many people told me Mike Hadlow did an excellent talk on using Inversion of Control (IoC) with TDD. Speaker of the day must go to Ben Hall who gave an overview of xUnit tools, including MBUnit which he contributes to. Apparently Ben is a fairly recent grad and this was his first presentation – watch this guy he will do well!

Ben, Mike, Richard Fennell and Michael Foord blogged this event. Barry Dorrans shares some photos. Update: even more was said about the day here, here, here, here, herehere and here!

Ben Hall Presenting

Ben Hall – future tech superstar (no, not the back of his head, he is the guy speaking)

MicrosoftUK001.jpg

Microsoft UK at 7am in Winter- brrr!

MicrosoftUK002

Just before I left the speakers’ lounge to meet some smart people

XBox360AtMicrosoft

This was in the halls, along with life size Halo characters!

How to suck at Presenting

Posted: October 27, 2007 in Presentations

Presenting involves elements of luck, I think we can rely less on luck…

After a series of extremely well received talks for the Atlanta .Net group I almost bombed last time. Not a total disaster and luckily few were present to witness it. I had given the presentation very successfully twice before, so what happened?

The Excuses

Late notice: I stepped in very late to fill the slot and did little preparation
Lack of Preparation: The only preparation was testing the demos and skim reading slides
Lack of enthusiasm: Lariam still affects me slightly, that was one of those weeks

Bad Luck

No crowd interaction: Advertising talks well in advance gets the word out and brings in people really interested in the subject – just one eager audience member can spur interest for others
Bored Blank faces: Need to learn how to handle this

Problems with my Old Style

Need short 10/15 minutes segments: The Cruise Control .Net talk was pretty technical, each section building on the last. If I lost an audience member they stayed lost. If one demo fails it could destroy every subsequent demo.
Relying on audience interaction: Good interaction makes for killer presentations – everyone learns and everyone has fun. I was relying on it, don’t!
Deja Vu: When giving the same presentation several times it feels insincere, especially when repeating jokes. This must be an experience thing, Comedy School could help too.

UK: DD6 on Nov 24th

Posted: October 24, 2007 in Presentations

== UPDATE: Registration is full. It took just a few days!!  ==

Registration is now live, these free conferences always fill up fast so register right now!

It is on a Saturday at Microsoft’s office in Reading and there are some great looking sessions – some good ones are bound to overlap with my slot :(

See you there… Developers, Developers, Developers!

Non Tech: Wagon on the Dragon

Posted: July 26, 2007 in Other

Bit of fun here: last week I headed to North Carolina and Deal’s Gap, aka Tail of the Dragon as I was sick of hearing friends talk about how great it was. 318 curves in 11 miles is their tagline, if you love cars or motorcycles you must check it out. People regularly travel from all over the East Coast to it. You are guaranteed to see a huge amount of exotic motorcycle and cars – more than likely you’ll see a few clubs out there en-mass; we saw 40+ Miatas. Please be careful on your first runs, fatalities do happen and it always seems to be out-of-towners. On the bright side the last motorcyclist to die went off an 80 foot cliff-face, so at least he an awesome view on his way out, much better than piling into an ugly truck like below. Seriously, like the Nürburgring take it easy on your first few runs.

There are many photographers on the route who take photos of all interesting cars and bikes to sell them online, the most popular being Killboy and Dragon Slayer Photos. Police on roads like this are normally semi-tolerant, all biker/ fast car roads I know are Policed heavily on weekends but I have never seen a speed trap; they are pretty lenient but if you start passing on blind bends, ride with a ‘hidden’ tag etc then expect some attention from LOEs.

What about the Wagon? It is my wife’s ’07 328iT and our fifth factory-delivered BMW – for good reason too, small BMWs rock! Normally I’d take my car which has a manual-box and grippy summer tires so expected to be disappointed with the auto-box and stock run flat tires. Surprisingly I was impressed with this stock setup, the tires communicate what is happening very, very well – going too hot into a bend results in modest understeer that is incredibly easy to control. Admittedly I had put a little extra air in the tires to stiffen the sidewalls, and of course the grip level is no where near a good summer tire; still I think 95% of the public will be happy with the handling in an emergency situation. Especially after this ride in the new three series when returning to the US in a couple of years it will be is a hard choice between a 335i with OZ rims/ summer tires/ coil-overs + FZ-6 for weekends OR a Honda Civic commuter + Ariel Atom for weekends. This is the Ariel Atom, I’d start with the smaller engine, 0-60 in 2.6 seconds is surely a total rush but I like Terra Firma…

Shawn (the ADO Guy) pointed me to Google Reader last Summer and that spelled the end of my Blog Lines use. Both are web based readers, and ideal for reading RSS feeds at various computers. It remembers all feeds, and even what has been read from machine to machine, I used to waste time manually catching up in RSS Bandit when moving between my main PC, the Living Room laptop and work.

Be sure to read in List View, this way you can quickly home in on posts that interest you. I have over 100 feeds and Mr. Index Finger was getting pretty tired with the next button, I expected a whopping blister with the video game like rapid fire of next, next, next!

An irksome issue with online based services is they do not work on most planes, trains or automobiles as just like me they lose the plot when an Internet connection is taken away. If you have not heard, Google Gears is a new Google API that hopes to address this. So far Google Reader is the only application I know of to use Google Gears, and it does not support images yet. Interestingly Google Gears was a project conceived in an employees ’20% work on what you like time’. Please, please let someone else’s 20% now be looking at hooking up Gmail and Google Docs and Spreadsheets – these simplified my life albeit with another increased dependence on the Internet.

Microsoft Architecture Journal

Posted: July 17, 2007 in Technology

Why was I not aware of this? It is a free quarterly print/web publication, after scanning the back issues it looks more useful than the MSDN Magazine is lately:

Sign up here: http://msdn2.microsoft.com/en-us/arcjournal/

PDFs are there too; I just put all the issues on my thumb drive ready for the next Atlantic flight.