Build a custom Gargoyle router w/o recompilation

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
boez
Posts: 1
Joined: Wed Aug 10, 2011 10:27 am

Build a custom Gargoyle router w/o recompilation

Post 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.

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Build a custom Gargoyle router w/o recompilation

Post 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.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

Post Reply