Telnet commands for flashing?

Discussion in 'Tomato Firmware' started by Sagi_ddwrt, Jan 5, 2012.

  1. Sagi_ddwrt

    Sagi_ddwrt Networkin' Nut Member

    I recently flash one of the VPN toastman mods and must have screwed up at some point as I can't access the GUI. I can telnet into the router and would like to re-flash. All my attempts at tftp have failed, no matter what or how I try it.

    So, since I can telnet, I'm hoping there are some commands I can issue to flash a firmware via telnet that I have stored on the HDD.

    If not, what can I do to re-flash my WRT54G-TM?
  2. backwoodsman

    backwoodsman LI Guru Member

    Navigate to the directory that contains your firmware file, tftp to the router, and enter these commands:

    rexmt 1
    timeout 60
    put <firmware filename>

    I don't know if it works on all routers, but it works on the ones I use (which aren't Linksys).
  3. shad0w

    shad0w Networkin' Nut Member

    On my e2000 I do this:
    mtd-write -i /path/to/firmware -d linux
  4. Toastman

    Toastman Super Moderator Staff Member 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