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

Can I squeeze more space (JFFS?) on my WRT54G + Tomato 1.13?

Discussion in 'Tomato Firmware' started by sofakng, Dec 6, 2007.

  1. sofakng

    sofakng Network Guru Member

    I'm trying to run one single program (X-Link KAI [kaid]) which has a size of around 1.4 MB (that is the compiled binary size), however my JFFS partition has only 700 KB free out of a maximum 1 MB.

    Can I somehow squeeze more space out of Tomato so I can copy this binary to my router?

    If I can't, then what are my other options? Can I mount another Linux drive running on a different machine ontoTomato using NFS or something?
     
  2. mstombs

    mstombs Network Guru Member

    You could get an older router my WRT54GSv1.1 has 5Mb jffs!

    You may be able to use /var which is the ram disk to temporarily hold the exe, or look at mounting a /cifs share
     
  3. sofakng

    sofakng Network Guru Member

    Wow... that would be perfect.

    What file systems are supported for mounting across a network on the Tomato firmware?

    Do I just need to edit my /etc/fstab with something?
     
  4. Joro711

    Joro711 Network Guru Member

    WRT54G have 4MB Flash.WRT54GS have 8MB Flash.Understand?
     
  5. mstombs

    mstombs Network Guru Member

    Note only older WRT54GS have 8Mb flash + 32Mb ram, so does the more recent WRTSL54GS

    for CIFS support - it is integrated into the GUI

    http://lampiweb.com/tomato/admin-cifs.htm

    http://en.wikibooks.org/wiki/Tomato_Firmware#CIFS_Client

    it is useful for short term tests, I had some issues - maybe due to network disruption caused by what I was trying to run, an alternative is to do the SD-card mod - but I'm not sure that is easily available with Tomato (doesn't fit lean and fast philosophy)
     
  6. Maggard

    Maggard LI Guru Member

    The WRT54G-TM (the $50 T-Mobile WRT54GL edition) has 8MB flash & 32MB RAM and is available at your local T-Mobile store.

    However the T-Mobile-customized firmware uses a CRC check on ‘updated’ revisions, so loading Tomato via the web interface will fail.

    Until there is a work-around (and it appears one is possible) the only way to 3rd-party-firmware the router is to overwrite the flash using a JTAG cable.
     
  7. sofakng

    sofakng Network Guru Member

    Thanks for the replies.

    I can't afford to buy a new router, so I'll look into the CIFS mounting options.

    Does the CIFS get mounted before the startup script is run? (eg. so I can run something off a CIFS mount during the startup script)
     
  8. danix71

    danix71 LI Guru Member

Share This Page