Page 1 of 1

USB Support

Posted: Sun Jun 09, 2013 1:22 pm
by keyboardcowboy
will gargoyle USB support work with devices which do not have USB by default, for example Tplink TL-WR841ND does not come with USB but it can be modded to add a USB port. How to make it work with gargoyle?

Re: USB Support

Posted: Sun Jun 09, 2013 11:33 pm
by BashfulBladder
If the mod requires extra code, you would have to compile your own Gargoyle firmware. If its just hardware, I suppose it would work the same as for everybody else.

Re: USB Support

Posted: Mon Jun 10, 2013 12:47 am
by keyboardcowboy
According to the openwrt page regarding the mod couple of files need to be edited

http://wiki.openwrt.org/toh/tp-link/tl- ... port.on.v7

can you guide me to some tutorials on how to compile Gargoyle from sources and enable USB for this router

Re: USB Support

Posted: Mon Jun 10, 2013 5:57 am
by BashfulBladder
http://www.gargoyle-router.com/wiki/dok ... umentation

You need to make patch files to make it work. When you compile, the virgin source is copied to the build directory. You change something in the build directory, it gets lost & overwritten before you can compile.

Make a patch via

Code: Select all

 diff -Naur old_file newfile > newpatchfile
You have to edit the filepaths at the start of the patchfile. Loot at other patchfiles to get a feel for it.

Also, the USB_large profile builds to over 6MB. Your router has 4MB.

Re: USB Support

Posted: Mon Jun 10, 2013 7:08 am
by keyboardcowboy
is it not possible to just edit the files in gargoyle like shown in openwrt page and keep the size within 4MB??

Re: USB Support

Posted: Mon Jun 10, 2013 7:20 am
by keyboardcowboy
removing some features to make room would that be possible