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

Shibby IPv6-VPN for WRT54GL?

Discussion in 'Tomato Firmware' started by Jez9999, Dec 8, 2012.

  1. Jez9999

    Jez9999 Serious Server Member

    I've been trying to install the Shibby firmware on my WRT54GL. Yeah, I know that router has a pathetically small amount of memory so I'm asking a lot, but... :)

    I can install tomato-K26-1.28.RT-MIPSR1-104-MiniIPv6.trx on there and it works fine. Unfortunately, I can't install tomato-K26-1.28.RT-MIPSR1-104-IPv6-VPN.trx because I get the dreaded "File is too big to fit in MTD" message. This is unfortunate because I'd really like to get IPv6 and VPN functionality without having to buy a new router. :)

    Is there some way you could reduce the size of tomato-K26-1.28.RT-MIPSR1-104-IPv6-VPN.trx so that it could squeeze on a WRT54GL router, Shibby? I notice that the difference in size between the two .trx files is about 0.67MB so it looks like if it could just get a bit smaller it could fit on a WRT54GL router.
  2. Jez9999

    Jez9999 Serious Server Member

    It looks like the flash RAM size for this router is 4MB, and the .trx file is 4.33MB. So I'm guessing the firmware needs to be reduced in size by about 330kB?
  3. koitsu

    koitsu Network Guru Member

    The issue isn't the amount of RAM (you said "small amount of memory"), but the amount of flash. Generally speaking people these days who want to run Tomato with a decent feature set tend to focus on routers that have 8MBytes of flash or more.

    The way the vendors get some of these features into routers with limited flash space is by not using Linux -- instead they end up using VxWorks or other proprietary/closed-source embedded OS environments, with in-house-developed IP stacks, etc.. VxWorks tends to generate very small and highly optimised code for the CPU architecture in question. However, I've yet to encounter one that offers VPN capability (IPv6 on 4MBytes of flash is possible, but with VPN capability is very unlikely).

    Furthermore, the WRT54GL series has an older (slower) CPU revision, so I can't imagine throughput would be very good especially considering VPN encryption is done purely at the CPU level (no hardware offloading). IMO, you really are better off in the long run buying a newer router (i.e. Asus RT-N16).

    If you're hellbent on using the WRT54GL, you can build a custom Shibby or Toastman firmware yourself with certain other features disabled, to try and get the firmware down to a size that's less than 4194304 bytes. There may be some overhead as well, so I would shoot for under 4128768 bytes (that's (4*1024*1024)-65536) if possible. Good luck.
  4. Jez9999

    Jez9999 Serious Server Member

    I just bought this router (I know, I should've thought harder but why are they even still selling it??!) so I'm rather loath to buy another one. Can't Shibby create some kind of intermediate build that has IPv6 and VPN functionality which fits onto it? I'd be really greatful. :)

Share This Page