Question

How to upload DD-WRT firmware to a Linksys WRT54G v1.1?

Asked by: bbao

hi folks

as the question title said, i would like to convert my old WRT54G v1.1 (serial number beginning with "CDF3") from its Linksys firmware to DD-WRT based for better security control, such as HTTPS management, syslog, and even snort if possible.

i already did a research looking for the correct DD-WRT firmware for this model. according to the Router-Database (BETA) at http://dd-wrt.com/dd-wrtv3/dd-wrt/hardware.html, it seems to be "dd-wrt.v24-9517_VINT_std.bin" which can be downloaded form http://www.dd-wrt.com/routerdb/de/download.php?file=379.

am i right?

could someone here let me know how to install this 3rd party firmware step by step?

after a 30-30-30 hard reset, can i just simply upgrade the router from the existing Linksys firmware (v1.41.8) by uploading "dd-wrt.v24-9517_VINT_std.bin" using Linksys "Firmware Upgrade" functionality?

additionally, after the modification, is it possible to revert to Linksys official firmware? say v1.41.8 again? did anyone actually do that before?

thanks to expert Darr247 for the following EEKB:
 
Be sure to do a 30-30-30 reset before and after applying firmware changes.
http://www.experts-exchange.com/articles/Hardware/Networking_Hardware/Wireless/Perform-a-30-30-30-reset-on-your-Wireless-Router.html

kind regards,
bbao

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-07-09 at 22:12:34ID24559016
Tags

Linksys

,

WRT54G v1.1

,

DD-WRT

,

OpenSource

,

Firmware

,

Upgrade

Topics

Wireless Network Access Points

,

Networking Hardware Firewalls

,

Networking Hardware

Participating Experts
1
Points
500
Comments
10

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Disabling Routing on a LinkSys WRT54G
    Hi all, 500 points for the first correct answer! Does anyone know if there is a way to disable the routing and broadband connectivity on the LinkSys WRT54G so I can just use it as a Wireless Access Point / Switch? Thanks Bob
  2. Add a wireless linksys 4 portT WRT54G to a linksys BEF…
    Hi all I have a linksys 8 port router model BEFSR81 that hook up to my cable modem and i want to add a wireless linksys 4 port WRT54G but the BEFSR81 does not appear to have a uplink port or does it auto sense the uplink connection? It doesnt work when I connect them.
  3. Linksys WRT54G and Multicasting
    I have a WRT54G v3 Firmware 3.x.x that is acting as a WAP and Switch. The WR54G is then connected thru port 1 on the back to a 16 port Linksys Workgroup Switch and then to a Linksys BEFVP41. When running a multicast ghost session on the network it blows out the wireless conn...
  4. Linksys WRT54G
    Does anyone know how to check the NAT table on a linksys WRT54g? I use this device at home, & I'm beginning to require frequent (several times a day) resets just to keep internet connection up. When I experienced this at work on a different brand of router, I checked th...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: Darr247Posted on 2009-07-10 at 01:33:44ID: 24821306

> am i right?

According to the wiki, your 4712 CPU running at 200MHz should be able to use either the VINT *or* NEWD builds.
I would try the NEWD v24 preSP2 (build 12188) Std generic that comes up as recommended when you select the WRT54G v1.1 from the beta database. Try it for a few days, and if the wireless is not rock solid stable then overwrite it with the VINT Std 9517 build that can be found by scrolling down after selecting the v24 SP1 build 10020 stable from that picklist.

Remember to always do the 30-30-30 reset before and after firmware flashing, even if overwriting with another version of DD-WRT.


> could someone here let me know how to install this 3rd party firmware step by step?

1) Download the firmware

2) do the 30-30-30 reset

3) Set your NIC to a static address of 192.168.1.2

4) unplug all cables except one connecting your computer's NIC to the #1 LAN port (you can probably use any of the 4, but I always use #1). Surf to 192.168.1.1 - that's the default address after a reset.

User name - blank
password - admin

5) As you alluded, on the Administration 'tab', in the Firmware Upgrade submenu, browse to the DD-WRT firmware .bin file, select/open it, then click Upgrade. If possible, you want the router and your computer plugged into a UPS, or at lease a very reliable power source (typically I plug the router into a UPS and use my laptop with a fresh charge). If you get a power blip during this process and afterwards can no longer access any menus even after waiting and doing 30-30-30 resets, search the DD-WRT forums for unbrick and TFTP.

It should take a minute or so, and it will tell you when it's done... I always just let it sit for about 3 minutes before clicking the continue button. It doesn't hurt to wait longer (I believe the DD-WRT wiki says to wait 5 minutes).

6) login the DD-WRT interface.

User name - root
password - admin

Close the browser window and do a power cycle on the router. Just unplug it for a few seconds and plug it back in and let it boot up (takes 15-30 seconds for all the lights to come on and settle down).

Now do another 30-30-30 reset on it, and when it boots up again you can login and make your setting changes. With the DD-WRT interface you can Save changes after every page without actually applying them. When you click Apply it commits the settings to NVRAM and reboots. That always bugs me on stock interfaces (rebooting after every page of settings just to save them). I strongly recommend changing the 'admin' password to a strong password... or at least a pseudo strong password, like #eR5^yU8(o)p (if you follow that on your keyboard you'll see why it's not 'really' strong).


> ... after the modification, is it possible to revert to Linksys official
> firmware? say v1.41.8 again?

Yes. Yes, exactly. Same place as stock - Administration, Firmware Upgrade.
Do search the forums for "unbrick WRT54G" before you start, and read some of the threads. It's rarely necessary to open them up to unbrick them. Worst case I've seen is using the continuous ping after a hard reset, then start sending the BIN file with TFTP as soon as the ping gets a response.


> did anyone actually do that before?

Yes.

 

by: bbaoPosted on 2009-07-10 at 05:51:36ID: 24822687

just did the 30-30-30 reset.... the poor WRT54G is DEAD now... :-(((

when plug the power back, only the Power light flashes.... all other indicator lights are OFF...

is it bricked??

any clues mate??

THANKS,
bbao

 

by: Darr247Posted on 2009-07-10 at 11:02:53ID: 24825813

Was this the 'before' or 'after' 30-30-30 reset?

 

by: bbaoPosted on 2009-07-11 at 13:18:41ID: 24832062

now, the WRT54G is back alive! i am sending this post through the lovely blue box which is now beating a DD-WRT heart...

the full procedure can be narrated with a lengthy story. basically here it is.

1. did a 30-30-30 hard reset WITHOUT unplugging the cables (the other ends were all alive hosts).

2. the router bricked. only the power LED rapidly flashed after plugging in the power cord. two more 30-30-30 resets did not help.

3. unplugged the router and disassembled it.

4. followed the Andrew Pollack's instruction to un-brick the router, and get the official firmware back by using TFTP on MAC OS X.

How to 'un-brick' a WRT-54G wireless router (and why) -- and other WRT-54G upgrade information
http://www.thenorth.com/apblog4.nsf/0/668D65A56B02BB4B852570A400535F16

5. did a 30-30-30 hard reset WITH all cables UNPLUGGED.

6. followed Darr247's instruction above to upgrade the firmware with image "dd-wrt.v24-9517_VINT_openvpn.bin", using FIREFOX over a UTP cable directly connected to the computer. SAFARI seemed not compatible with LINKSYS firmware.

7. rebooted the router, logged on, disabled wireless and configured all security related settings over the wired connection. enabled wireless.

8. rebooted the router, tested and finished other configurations wirelessly on the MAC.

three issues should be highlighted:

1. **UNPLUGGING** all cables is essentially the FIRST step, as given in Darr247's EEKB. i believe it was the reason why i got bricked. i did another 30-30-30 hard reset after the router recovered, there was no problem.

2. the step FOUR is only for **WRT54G v1.1**, probably not suitable for other WRT54G models including v1.0. users may refer the following google searches to find the corresponding un-bricking explanation and photos.

http://www.google.com/search?q=wrt54g+v1.1+disassembly
http://images.google.com/images?q=%22WRT54G+v1.1%22+unbrick

3. there is NO need to short pin 16 with other pins (e.g. 15 or 17) to cheat the chip. Andrew Pollack gives the easy and proper way to ground the pin: use the external shielding connector on the antenna mounts.

the way Andrew Pollack recommended in his post is to "do that by grounding PIN 16 with the unit unplugged. Keep pin 16 grounded while you plug in the unit, and you'll see the power LED go into a flashing pattern. Once in that state, it will accept a firmware upload."

i didn't do that in this way, just because i couldn't keep that *extremely thin* pin grounded before AND after plugging in the unit. i didn't have any special tool to keep touching the pin and the antenna connector. i simply plugged in the power cord and network cable, run PING on the MAC to monitor the status, then carefully and smoothly grounded the pin for a few seconds by using a mini screw driver attached with a cheap video cable connecting to the antenna. it worked!

hope this could help someone who trapped in a similar accident as mine.

regards,
bbao

 

by: bbaoPosted on 2009-07-11 at 13:21:58ID: 24832074

Darr247

as mentioned above, the router is not un-bricked. thanks heaps for your detailed instruction. it is really informative and helpful.

in regard to the 30-30-30 hard test, i would like to know more about it in depth as my curiosity got peaked after this accident. why such a procedure "30-30-30"? and why "30" secs? any reason in electronics or physics?

and probably, why "unplugging" could brick the device?

thanks again,
bbao

 

by: Darr247Posted on 2009-07-11 at 19:09:33ID: 24833019

Reply from non-related thread

Interesting...  that should be a v1.0 then.  It doesn't have the pre-Cisco 20 LED face, does it?

Assuming your WRT's IP is 192.168.1.1 (else sub the proper IP), go to
http://192.168.1.1/Diagnostics.asp

Copy and paste this string to the Commands window there:

nvram get wl0_corerev

Click the Run Commands button... it should respond with a single digit (e.g. see attached)... what is that number on yours?

 

by: bbaoPosted on 2009-07-11 at 20:22:49ID: 24833131

"5"

what does it mean?

 

by: bbaoPosted on 2009-07-11 at 20:24:29ID: 24833135

> as mentioned above, the router is not un-bricked.

sorry, typo. it should be "the router is NOW un-bricked."

one more issue: after upgrading to DD-WRT, my tablet can't stably connect to the AP, it prompts "'obtaining IP address" at the system tray then disconnect, and then repeat the same thing again and again...

however, my MAC has no any problem connecting to the AP, before and after the upgrade. my tablet notebook with an INTEL Wireless 2200BG adapter installed had no problem with previous official firmware...

any clues? something need to be adjusted in wireless parameters on the AP?

thanks a lot,
bbao

 

by: Darr247Posted on 2009-07-12 at 08:48:24ID: 24834747

That core rev result also points to it being a 4712 processor... see
http://dd-wrt.com/wiki/index.php/What_is_DD-WRT%3F#Which_V24_build_do_I_flash_onto_my_Broadcom_router
The '7' on the one I posted is from a v2 (CDF5).


> any clues? something need to be adjusted in wireless parameters on the AP?

What channel are you using? I recommend sticking to 1, 6 and/or 11. If you turn off the Mac, does the tablet connect ok? Apple and Intel wireless cards are usually quite compatible, though. Have you checked for nearby networks on the same channel?  e.g. http://trac.kismac-ng.org/
You could try tweaking the transmit power up to 85mW, but I wouldn't go much higher than that without adding extra cooling.

If the wireless is not stable, switch to the standard VINT build and see if that helps. e.g. either
http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24_FINAL-VINT/dd-wrt.v24-9517_VINT_std.bin or
http://www.dd-wrt.com/dd-wrtv2/downloads/v24/Broadcom/Linksys/WRT54G_v1.1/vintage/dd-wrt.v24-9517_VINT_std.bin

I've downloaded both of those files, done a bit-by-bit binary compare, and they are identical.

If it already has the VINT loaded and switching to the NEWD SP1 or preSP2 versions doesn't help stabilize the wireless, it's possible that whatever odd combination is producing those version/revision results just isn't compatible with DD-WRT. If that's the case, I would reload the Linksys firmware again, sell it, and try a different one.

I have a WRTSL54GS I've been testing with the preSP2 and an external USB hard drive which seems to share the hard drive better than a D-Link (DI624S) that I've had a few years now does... on the con side it has only 1 non-removable antenna, so it's not really suitable for MIMO/diversity or long range applications.


> sorry, typo. it should be "the router is NOW un-bricked."

I figured that was what you meant. :-)

 

by: bbaoPosted on 2009-08-09 at 04:25:06ID: 25053777

just an update.

after upgrading to v24-sp2 firmware, the WRT54G has been running stably and peacefully for weeks. my tablet now works with it very well.

the firmware i am currently using is build 12533, as follows.

Firmware: DD-WRT v24-sp2 (07/21/09) vpn
Time: 21:19:53 up 13 days, 21:20, load average: 0.33, 0.18, 0.07

after uploading the firmware and configuring it, no reboot, no touch, it just works! it is really pretty good. :-))

thanks again Darr247

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...