Page 1 of 1

Build a custom Gargoyle router w/o recompilation

Posted: Wed Aug 10, 2011 10:46 am
by boez
Hi,

I'd like to know - is there a way to build a custom Gargoyle image without compiling it from scratch?

In fact, my task is very simple: I need Gargoyle for TL-WR741ND with wired 802.1x supplicant on the wan port. Do not ask me why, ask my provider ;)

So, I just need to replace package wpa-supplicant-mini with wpa-supplicant (full one), because mini doesn't accept EAP option. Everything other is working fine and I like Gargoyle web interface very much (it is a large step forward, compared to Luci).

I tried to use original ImageBuilder from OpenWRT - but it doesn't know anything about gargoyle-specific packages, doesn't contain them and can't build an image.

opkg install doesn't work also, because of low space in overlay partition - less than 300k, while full wpa-supplicant executable requires 500+. But I'm sure that if I _replace_ wpa_supplicant inside root squashfs - it will fit in 4M flash. If not - I'll drop out something.

I also tried to use Firmware Modification Kit on existing 'sysupgrade' image - but it can't detect this image format and unpack the image.

I started the full compilation process, but it ate all available space (3+ Gb) and ended with error. If there are no other way to build an image - I will add space to the virtualbox machine and will repeat the building process, but first I'd like to know, if there is any way to customize Gargoyle without recompilation.

Re: Build a custom Gargoyle router w/o recompilation

Posted: Tue Aug 16, 2011 9:35 pm
by DoesItMatter
Simple answer - No - you will need to recompile.

You might be able to setup addons via ipkg/opkg but I don't think
your router has enough flash space left.

If you had a router with 8MB flash or more, might be possible.
Or a router with a USB port to add additional storage.

But if you are trying to fit it onto a 4MB flash space,
you are going to have to compile the firmware on your own.