WRT54G-TM Stock to Tomato

Discussion in 'Tomato Firmware' started by QSxx, Feb 3, 2010.

  1. QSxx

    QSxx Network Guru Member


    Title says it all, I've got WRT54G-TM with stock firmware (Linksys 5.00.33) and would like to put Tomato ND 1.27.

    Before you send me googling and searching thru DD-WRT forums few words:

    Did that, found at least 5 different howtos with different instructions...

    I'm asking someone that actually have TM and has done what i'm trying to do. I know you guys are out there. Just a few minutes to type up the steps...

    /me be very very grateful :)

    P.S. It can be referred to later as ultimate TM Linksys to Tomato guide...

    Please? :flowers:
  2. TexasFlood

    TexasFlood Network Guru Member

    Might want to review the FYI, WRT54G-TM $17, will run Tomato with CFE update thread for useful information.

    The procedure on the DD-WRT WIKI "Flashing WRT54G-TM" page will patch the WRT54G-TM T-Mobile CFE to allow flashing 3rd party firmware and do an initial load of the DD-WRT firmware. After this you'll be able to load Tomato or any other 3rd party firmware on the WRT54G-TM. To load Tomato from DD-WRT, see the official Tomato FAQ sections Installing from DD-WRT, HyperWRT, etc. firmware, Why doesn't my password work?, and Should I reset the configuration after installing Tomato?.
  3. bripab007

    bripab007 Network Guru Member

    This is an e-mail I sent a friend of mine on how to do it; I think I've flashed six or seven of them at this point. I talk about creating two IP addresses for one network card from a Mac OS X standpoint, so if you have Windows, you'll want to follow this their instructions here at step 1 regarding the LAN IP address: http://www.dd-wrt.com/wiki/index.ph...inksys_WRT54G-TM_T-Mobile_Edition_by_Luniz2k1

    Download the CFE updater at the top of that page or here: http://www.dd-wrt.com/dd-wrtv2/downloads/others/tornado/CFE_Updater/CFE_Updater-WRT54G-TM.bin, download the Tomato firmware you want to flash and download the build of DD-WRT they link to in the wiki here: http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24_TNG/svn12548/dd-wrt.v24-12548_NEWD_mega.bin (other builds also probably work fine, but I've flashed six of these WRT54G-TMs at this point, always using this same build version, and they all work fine).

    Then do this: "To get two manual IP addresses on your Ethernet port in Leopard, in System Preferences/Network, create a new Location (call it wrt54g-tm), minus the ports you won't be using to get them out of the way, click + to create another Ethernet, it will come up as Ethernet2. Set one of them to manual (and the rest) and the other (and all the rest as described above for Windows).
    Start Terminal, Enter ping -t 600 and move it aside."
    Then open another terminal window, and do this:

    1. In second terminal window, change to the directory to which you downloaded the dd-wrt.v24-12548_NEWD_mega.bin file. At least in Mac OS X, tftp fails to resolve either absolute or relative paths. It is simply better to cd to the directory that contains the dd-wrt.bin file before launching the tftp app so no path resolution has to happen.
    2. Execute the tftp command and change the mode to binary by typing binary and hitting return/enter.
    3. Execute the trace command so you get feedback.
    4. Execute the rexmt 1 command so tftp will retry to send the file if you don't get the timing perfect.
    5. Type in "put 'name of the dd-wrt firmware you downloaded'" highlight/select with mouse and hit copy to clipboard and clear that text
    6. type in the connect command but don't execute it yet.
    7. You don't want to hit return yet, because you're going to do this when the timing is right

    Here is a recap of all the commands:

    $ cd /path/to/dd-wrt.v24-12548_NEWD_mega.bin
    $ tftp
    tftp> binary
    tftp> trace
    tftp> rexmt 1
    tftp> connect
    tftp> put dd-wrt.v24-12548_NEWD_mega.bin

    Then "Go ahead and flash the CFE firmware as above in the web GUI, and when the Terminal window finally shows successful returns to the ping, hit enter in TFTP terminal window with "connect" command, then, almost immediately do command-v to paste your "put name-of-dd-wrt-firmware.bin" command and hit enter, and you'll see it send a bunch of data to the router. Should take around 10 seconds, then it'll automatically reboot and you can get to the dd-wrt web GUI at

    Then, I like to do a 30-second reset button push, then you'll see the power LED start flashing when it's rebooting again, and when you see the ping terminal window start responding again, do the TFTP flash the same way with the Tomato 1.23.8515.whatever.trx firmware. It'll take around 10-15 seconds. You can then get to the Tomato web GUI at, once you've verified it's flashed correctly, do another 30-second reset.

    Now, at the point you TFTP flash over the dd-wrt.v24-12548_NEWD_mega.bin, I think you could instead flash over a build of non-ND Tomato.bin, and that would save the step of going to DD-WRT and then to Tomato. Just remember that, ultimately, you want to be running an ND build of Tomato on the WRT54G-TM, not the non-ND version.
  4. QSxx

    QSxx Network Guru Member

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice