Hi, I'm trying to get OpenVPN going on my WRT54GL, but I'm having some issues fitting it and its dependencies (well, mostly libopenssl) on.
I figured I might be able to save some space by putting libopenssl onto squashfs, but the image I built doesn't allow the initial telnet connection (with or without pushing buttons at startup for failsafe). The device doesn't respond to ARP after it gets over the bootloaders (the DMZ light turns off). I'm assuming something is breaking, and it's because there is some limit on the size of the squashfs image. However, I didn't see any mentions of such a limit on the wiki. The .bin is 2232352 octets, which I figure should fit on the 4MB of flash on the WRT54GL. Rebuilding with CONFIG_PACKAGE_libopenssl=m creates an image that works fine.
What's happening here? Am I meant to configure the size of the JFFS root somewhere to make room? Or is there some magic limit on squashfs sizes other than the 4MiB flash limit?
If the "trying-to-compress-it-by-using-squashfs" method is inherently flawed, my other idea was to create a tmpfs (or equivalent) partition to utilise the much-more-plentiful RAM, extract the libopenssl ipkg there at boottime and union it to the root. Is this a viable method, and if so, are there any examples/documentation of something similar?
If all else fails I could look at a different VPN server, or try to port OpenVPN to matrixssl.