1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Flash a Ver 5+ WRT54G With a DD-Micro Build

Discussion in 'Cisco/Linksys Wireless Routers' started by distantcoder, Jun 24, 2006.

  1. distantcoder

    distantcoder Network Guru Member

  2. deisler

    deisler Network Guru Member

    would gladly hear any feedbacks on this :) i do not dare yet to venture into this "non-surgical" operation heh :p
     
  3. DrTofu83

    DrTofu83 Network Guru Member

    It's very interesting, at least for me :)
    But I think I should wait till someone manages to flash his unit from VxWorks to Linux, and then return back again to Vx. For me it's better keeping both doors opened.
     
  4. guest

    guest Network Guru Member

  5. DrTofu83

    DrTofu83 Network Guru Member

    It's still running? What happened with the MAC Address? Did you manage to put your own MAC Address, or it changed with the new firm? I'm really curious about this issue...
     
  6. torquey

    torquey LI Guru Member

    Newbie bricks a WRT54G?

    I gave the no-JTAG firmware upgrade a try an it appears to have half-worked. Now when I plug it in, the power light blinks as though it is in system management mode. I can tftp firmware images to it until I'm blue in the face, but with no apparent effect. tftp indicates that indeed it transfered the image, but I can't seem to get the thing to reboot such that I can do anything other than tftp to it. Newbie that I am, I'm probably missing something completely stupid and fundamental. I've tried power cycling it every way I can imagine, with and without reset button down, but the behaviour is constant. What obvious thing am I missing?
     
  7. Toxic

    Toxic Administrator Staff Member

    are you using the correct firmware image to flash with?

    dd-wrt micro version and not mini version?
     
  8. golemb

    golemb Guest

    Re: Newbie bricks a WRT54G?

    I must be missing something too as I ended up with the same results as you torquey. I double checked and I did use the micro bin file. The unit is still some what alive as it is pingable but the web interface is borked. Any thoughts or suggesstion before I prep for surgery.

    cheers
     
  9. brewtality313

    brewtality313 LI Guru Member

    Same result as torquey and golemb. Correct micro image used, all operations appeared successful, but the result was "perma-blink".
     
  10. webster556

    webster556 Guest

    Make sure you use the generic micro firmware not WRT54G micro firmware.
     
  11. ldhertert

    ldhertert Guest

    same result here, and I'm for sure using the micro-generic (as well as everything else I could try).
     
  12. dbarronoss

    dbarronoss LI Guru Member

    Joining the club

    I also have a nice flashing green coaster. I'm watching this thread intently though ;)
     
  13. torquey

    torquey LI Guru Member

    success!

    My mistake turned out to be silly indeed. I simply wasn't waiting long enough after tftp-ing the image for the flash to complete. A modicum of patience brought me a rebooted router and the welcome sight of the dd-wrt configuration webpage. :drinking:
     
  14. dbcch

    dbcch LI Guru Member

    Ah, thanks for a note about this common mistake. I updated the page. No doubt many little things like this will pop up.

    After the TFTP flash is complete, your unit should reboot itself. So just wait ;).
     
  15. renzov01

    renzov01 LI Guru Member

    got the same question, do somebody has a more detailed description how to change the MAC address before flashing ?
     
  16. DrTofu83

    DrTofu83 Network Guru Member

    It's weird to explain, for me who I'm not a mother tongue speaker, but I'll try.

    I downloaded the file CFE.bin.
    Then, I searched with EditPad Lite for the string "eth"
    I saw then an eth0=xx.xx.xx.xx.xx with a given MAC address.
    Look in the same line, there would be a string with an almost identical MAC, called "ith", if I rember well, but wit an unit added to the end. Modify that line accordingly (Your MAC address, put in ETH, with the last group of number +1)
    Then I used WRT_VX_IMGTOOL v0.90 beta] to compile the CFE into a vxkiller.bin
    Eventually, you can edit the vxkiller.bin precompiled, then start the image tool on line command, and note down the command for "fixing" the checksum, the results are files with the same characteristic, but I went slowly, so I used the CFE.bin.

    I've got a similar question... in fact, here when they've got to try installing DD-WRT, they check to me 'cause I did before...
    When the Reversion Tool will be done, there's a way to restore the MAC address too? I fear is the very first thing they will ask to me...
     
  17. renzov01

    renzov01 LI Guru Member

    steps 1 till 6 are working fine, but tftp is not working at all.......even worse my pc cannot connect to the router anymore.....on the router power led flashing and all the switch lights (1-4 and internet) are on.

    somebody any idea what to do? or is the router bricked now??
     
  18. dbcch

    dbcch LI Guru Member

    What procedure did you use? What model is this? I'm not sure how this could have happened, but your router appears to be totally bricked. This is the first report I've had of a complete brick (JTAG only recovery). Other reports have all been minor mistakes, due to the instructions not being clear.
     
  19. dbcch

    dbcch LI Guru Member

    I just finished the reversion firmware. It won't immediately restore your MAC or serial number, BUT...

    I will eventually create an easy way to restore your MAC address and Serial number AFTER you've already reverted to VxWorks. This will be done the same way the CFE is flashed on the unit, but instead a new VxWorks BSP (with the correct MAC and serial #) will be flashed.

    So, it's completely doable..and very easy. All you'd do is take a VxWorks BSP image, hex edit it, make sure it's named 'bootrom.bin', then build a firmware image. Apply that firmware image in management mode, much like vxworks_killer, and it'll replace your VxWorks BSP with one with the proper attributes.
     
  20. dbarronoss

    dbarronoss LI Guru Member

    Un-"semi" bricked

    Ok...I have dd-wrt running now!!! Very very happy! I hope I don't win the EBAY bids I made on a v2.2 :)
    Thank you everyone!(esp dbcch)
     
  21. renzov01

    renzov01 LI Guru Member

    i use the following instructions...
    1- Download [vxworks_prep_v03.zip] and extract.
    2- Download [vxworks_killer_v03.zip] and extract.
    3- Download [DD-WRT micro generic]. You may want to check [DD-WRT] to make sure there isn't a newer version than v23 SP1. Do not use the one labelled 'WRT54G' or 'WRT54GS', use the 'generic' version.
    4- Download the [Linksys TFTP transfer tool].
    5- Go to your router's web based interface and enter the 'Administration' tab. Then select 'Firmware Upgrade' and choose the vxworks_prep_v03.bin file. Hit apply. After a minute, your browser window will go blank. At this point, power cycle your router.
    6- Again point your web browser (preferrably Internet Explorer, other may not work in this step) to http://192.168.1.1. You'll see a different sort of firmware upgrade screen. This is the Management Mode. Select and apply the vxworks_killer_v03.bin firmware upgrade.

    and my WRT54G version is 5......

    will check if i can build a jtag and get it alive again
     
  22. deisler

    deisler Network Guru Member

    help :

    Hi, im going thru the same thing as renzov01.

    i use the following instructions...
    1- Download [vxworks_prep_v03.zip] and extract.
    2- Download [vxworks_killer_v03.zip] and extract.
    3- Download [DD-WRT micro generic now w/ pppoe]
    4- Download the [Linksys TFTP transfer tool].
    5- Go to your router's web based interface and enter the 'Administration' tab. Then select 'Firmware Upgrade' and choose the vxworks_prep_v03.bin file. Hit apply. After a minute, your browser window will go blank. At this point, power cycle your router.
    6- Again point your web browser (preferrably Internet Explorer, other may not work in this step) to http://192.168.1.1. You'll see a different sort of firmware upgrade screen. This is the Management Mode. Select and apply the vxworks_killer_v03.bin firmware upgrade.

    All 6 steps done, but now i can't tftp using console or gui to the router. it's power led constantly blinks. btw what do you mean by
    7. Unplug your router and plug it back in.

    the power plug? i may have missed the simplest of instruction or i've done something wrong. also what is the correct procedure for power cycling? many apologies as i'm not as knowledgeable, and would really appreciate any help / advice. oh and mine is a v5 definately.
     
  23. DrTofu83

    DrTofu83 Network Guru Member

    Neat. I'll always be checking your site. But this change would be permanent? F.E., if i "restore to default settings" a reverted router, it will keep its changed MAC address and Serial?
    It would be very interesting, and very appreciated.

    An hex edit... there's the culprit. To change my MAC address in your vxkiller, I simply edited in plain tex the CFE. I can dl the BSP image from the net, can't I?

    Good... some friends here could pester me, in the future. Now I know what it takes.
    Only an hex editor, no?
     
  24. dbcch

    dbcch LI Guru Member

    Re: Un-"semi" bricked

    Great, glad its working. The flashing procedure has finally gotten to the point where hopefully common mistakes and misunderstandings are not going to happen. If it had been me following the instructions, I probably would have made the same mistakes as some of you.
     
  25. dbcch

    dbcch LI Guru Member

    Re: help :

    By unplug, I mean the power plug. And that's the power cycle procedure, just unplug and plug back in.

    Some of you may need to set your IP address manually so you can connect to the router again and TFTP the firmware. If the power LED is blinking but not ALL your switch LEDs are on, then your router is fine.

    @renzov01: you didn't by chance not wait for the 'success' message after the vxworks_killer.bin flash? I need to add this to the instructions too, whether you made that mistake or not.
     
  26. dbcch

    dbcch LI Guru Member

    Yes, it will be permanent.

    I'm not hosting it at the moment, but I'll put it only somewhere eventually.

    Yes, and the firmware image building tool, vx_wrt_imgtool.

    I'm hesistant to encourage this manual operation by end users, a mistake could be catastrophic.
     
  27. renzov01

    renzov01 LI Guru Member

    Re: help :

    no i absolutely saw the succes message on my screen, and then plugged the power out and back in again.....
     
  28. deisler

    deisler Network Guru Member

    thanks for clearing that up :) glad to hear my router's not bricked whee! currently my router is acting that way, so how do i go about fixing it?

    that seems to be the fix, if so could you show me in step by step instruction on doing the above? thank you so much.
     
  29. AliM

    AliM Network Guru Member

  30. conkers

    conkers Guest

    Since the upgrade to my V5.1 GS (which went without a hitch) I no longer have wireless.

    The WLAN led is out permanently and no matter what options I choose It wont work !

    The only thing of note is that in the status display there is nothing received and a load of transmission errors.

    Also although it is assigning dhcp on the wired side, the DHCP client list is empty in the status display.

    Any Ideas ?
     
  31. dbcch

    dbcch LI Guru Member

    Your router is simply mis-configured in some way or another. Note that the WLAN LED may or may not work correct with DD-WRT, there has been a bug (maybe fixed, maybe not).
     
  32. dbcch

    dbcch LI Guru Member

    I previously mentioned that the restoration of your VxWorks original MAC address and serial number would be done after the VxWorks reversion, whenever I got around to writing the tool to do this.

    I had forgotten about a hurdle that prevents this, so this plan has now changed. The reversion firmware itself will ask you for a MAC address and serial number to embed in the VxWorks BSP before it restores it. This will be done through a web UI. When I get around to finishing this, I don't know though.
     
  33. daemonsyn

    daemonsyn LI Guru Member

    Same issue with me, no WLAN. And no it was not misconfigured. Hope someone would look at this and check what the problem is.

    I already reverted to the original firmware, almost bricked my router, I have to flash linksys firmware twice to make it work.
     
  34. brewtality313

    brewtality313 LI Guru Member

    Re: help :

    Thanks, this was the fix. 100% working and using the micro generic for PPPoE.


     
  35. dbcch

    dbcch LI Guru Member

    To update, the WLAN light is a known bug with DD-WRT, and is still present:

    http://www.dd-wrt.com/phpBB2/viewtopic.php?t=967

    I've not heard of anyone else with the WLAN actually not working (othe than the light), so I don't know what is going on.
     
  36. daemonsyn

    daemonsyn LI Guru Member

    Btw, reverting to LinkSys FW sometimes come back to Management Mode even with Update Succesfull notice. Doing power cycle wont do the trick. Succesfully flashed after the 2nd try of flashing the updated firmware.
     
  37. deisler

    deisler Network Guru Member

    Hi,
    I've got everything working now with my wrt54g5 with brainslayer's dd-wrt micro w/ pppoe. I would like to thank dbcch with his incredible work and service, and also to the community with such great patience to answer user's questions such as mine.

    The overall procedure is generally simple, though sometimes even i myself can miss the obvious faults of my wrongdoing or understanding.

    aah i'm enjoying this newborn router!
     
  38. caribou42

    caribou42 Guest

    I have a WRT54G v5 and I'm having the same problem with the blinking power light mentioned by a few folks earlier. I can ping and tftp but no web interface. Like them, I tftp'd the dd-wrt firmware (micro generic) but didn't get a reboot. I might not have waited long enough the first time. I've cycled the power and tftp'd the firmware 3 or 4 times, waiting up to 30 minutes for an auto reboot. It never happens. I've restarted the router with the reset held in a few times to reset factory defaults and still no luck.

    Does anyone have any idea what might be happening or what I might try next?

    Thanks.
     
  39. minty

    minty Guest

    I followed the Bitsum procedure and somehow managed to brick my v5... It worked fine, got the ddwrt firmware installed. Changed a few settings, enabled dhcp forwarding, it saved and then rebooted, I couldn't access its admin pages so I tried a reboot holding down reset (to reset to default config) and now all lights are on, and no plugs produce a link.

    Was I wrong to try to hold the reset on a reboot to restore default configuration?

    I'm new to dd-wrt, used to run satori on an older router, but grabbed this new one cause its shinier.

    Reading through dd-wrt docs now trying to find out what the hard reboot + reset button is supposed to do..
    But nearing cracking it open and trying to jump those pins.

    Will that trick even still work on v5?
     

Share This Page