Page 1 of 1
Installing a USB wireless interface on Gargoyle router
Posted: Sun Dec 29, 2019 2:47 am
by shammikit
Hello, i have managed to Install the x86/x86_64 version of Gargoyle on my old PC which I would like to use as a router. I have a wireless ISP router and I want gargoyle to access that through my USB WiFi adapter to get a working Internet connection ( i guess this is usually assigned as a WAN interface) and to use another WiFi adapter to use as an AP for wireless devices to connect ( i guess this is usually assigned as a LAN interface). I would like to know if this is possible and would like some guidance to set it up as this is my first ever Gargoyle setup. So far when i connect the 2 USB interfaces, they get detected as USB devices from the console as shown in the attached screenshots. They dont show up when i do the ifconfig or the ip addr command.
Re: Installing a USB wireless interface on Gargoyle router
Posted: Sun Dec 29, 2019 3:12 am
by RomanHK
If the devices do not appear, you may not have WiFi drivers installed. Gargoyle does not support WiFi USB dongle - you will need to upgrade to OpenWrt or create your own Gargoyle compilation.
Re: Installing a USB wireless interface on Gargoyle router
Posted: Sun Dec 29, 2019 3:26 am
by Lantis
Can you provide some information about the make and model of the wifi adapters? This might help determine if the drivers are already included or not.
Additionally, once the wifi adapters are plugged in you may need to generate prompt the device to generate the wifi config.
Code: Select all
rm -f /etc/config/wireless
wifi config
With any luck, that will populate a file in /etc/config/wireless and everything will just start working... maybe.

Re: Installing a USB wireless interface on Gargoyle router
Posted: Tue Dec 31, 2019 5:33 am
by shammikit
Lantis wrote:Can you provide some information about the make and model of the wifi adapters? This might help determine if the drivers are already included or not.
Additionally, once the wifi adapters are plugged in you may need to generate prompt the device to generate the wifi config.
Code: Select all
rm -f /etc/config/wireless
wifi config
With any luck, that will populate a file in /etc/config/wireless and everything will just start working... maybe.

Hello, I have 2 USB network interfaces. Would like to get atleast 1 of them to work.
TP-Link TL-WN821N USB network interface
Prolink WG2000/R USB network interface
So far I have only tried the TP-Link interface and to know its model name i plugged it on to my Windows PC, went to device manager and found out that its model (or chipset i think) was RTL8192cu.
So in Gargoyle shell i tried the command:
This gave an error stating it cannot find the package, however it is available at openwrt
Another thing i tried is by manually setting a git hub link for the driver at the plugins section. And when i did
command, this did get downloaded but i dont think it was installed.
Really appreciate any help to get this running. Thanks
Re: Installing a USB wireless interface on Gargoyle router
Posted: Tue Dec 31, 2019 5:43 am
by shammikit
RomanHK wrote:If the devices do not appear, you may not have WiFi drivers installed. Gargoyle does not support WiFi USB dongle - you will need to upgrade to OpenWrt or create your own Gargoyle compilation.
does openwrt have the options for bandwidth limiting and setting quotas. those r the features i want to use.
Re: Installing a USB wireless interface on Gargoyle router
Posted: Tue Dec 31, 2019 11:18 am
by RomanHK
shammikit wrote:does openwrt have the options for bandwidth limiting and setting quotas. those r the features i want to use.
Gargoyle excels in these features like QoS, monitoring, etc., that's why I like it - unfortunately (I'm sorry too

), the compiled kernel repository is missing - it would be good to ask for a repository for kernel modules (@Eric or @Lantis).

In this case, I recommend moving to colleagues from the Polish compilation, where you can also find the kernel module repositories that are part of the compilation:
http://dl.eko.one.pl/gargoyle-pl/
This should already work:
Code: Select all
gpkg update
gpkg install kmod-rtl8192cu
Re: Installing a USB wireless interface on Gargoyle router
Posted: Fri Jan 03, 2020 9:00 am
by shammikit
RomanHK wrote:shammikit wrote:does openwrt have the options for bandwidth limiting and setting quotas. those r the features i want to use.
Gargoyle excels in these features like QoS, monitoring, etc., that's why I like it - unfortunately (I'm sorry too

), the compiled kernel repository is missing - it would be good to ask for a repository for kernel modules (@Eric or @Lantis).

In this case, I recommend moving to colleagues from the Polish compilation, where you can also find the kernel module repositories that are part of the compilation:
http://dl.eko.one.pl/gargoyle-pl/
This should already work:
Code: Select all
gpkg update
gpkg install kmod-rtl8192cu
Hello and happy New year. This did the trick. The polish compilation had the drivers and my USB interface was up and running in no time. I have setup the QOS limiters and quotas and they work the way I want. Thank you and @Lantis for supporting me.