Gargoyle 1.11.0 Release Candidate 5

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

ViBE
Posts: 194
Joined: Sun Apr 19, 2015 6:58 pm

Re: Gargoyle 1.11.0 Release Candidate 5

Post by ViBE »

ispyisail wrote:maybe desktop is easier for a first build
I mean I'm already an Ubuntu user and usually it's fine for every cases. That's not the Ubuntu subsystem on Windows. I see the dependencies but I guess nothing go wrong if I install the necessary stuffs what you mentioned. But tell me if it's not the right environment. Then I will do a virtual machine with a server version.

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle 1.11.0 Release Candidate 5

Post by Lantis »

If you’re referring to “Linux subsystem for Windows”, don’t bother.
It works, but is much trickier to make work.

It should not be what you use for your FIRST build. Once you are confident, you could maybe switch. You can google what is required to make it work for Openwrt compiling.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

Re: Gargoyle 1.11.0 Release Candidate 5

Post by tapper »

Hi I build openwrt and gargoyle on linux subsystem for windows and all works grate. CPU is Intel Xeon W3580
6 gig ram and 1 gb hdd.
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

ViBE
Posts: 194
Joined: Sun Apr 19, 2015 6:58 pm

Re: Gargoyle 1.11.0 Release Candidate 5

Post by ViBE »

I guess now I'm closer but still having issues... I dunno where these start. Here's some output:

Code: Select all

/home/akos/gargoyle/ramips-src/staging_dir/host/include/byteswap.h:2:2: warning: #include_next is a GCC extension
 #include_next <byteswap.h>
  ^~~~~~~~~~~~
  WRAP    tools/lib/rsa/rsa-checksum.c
  HOSTCC  tools/lib/rsa/rsa-checksum.o
  WRAP    tools/lib/rsa/rsa-sign.c
  HOSTCC  tools/lib/rsa/rsa-sign.o
In file included from tools/lib/rsa/rsa-sign.c:1:0:
/home/akos/gargoyle/ramips-src/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_remove':
/home/akos/gargoyle/ramips-src/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:156:2: warning: 'ERR_remove_thread_state' is deprecated [-Wdeprecated-declarations]
  ERR_remove_thread_state(NULL);
  ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509_vfy.h:20:0,
                 from /usr/include/openssl/x509.h:309,
                 from /usr/include/openssl/pem.h:17,
                 from /home/akos/gargoyle/ramips-src/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:13,
                 from tools/lib/rsa/rsa-sign.c:1:
/usr/include/openssl/err.h:247:1: note: declared here
 DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *))
 ^
In file included from tools/lib/rsa/rsa-sign.c:1:0:
/home/akos/gargoyle/ramips-src/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_sign_with_key':
/home/akos/gargoyle/ramips-src/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:213:2: warning: implicit declaration of function 'EVP_MD_CTX_cleanup'; did you mean 'EVP_MD_CTX_create'? [-Wimplicit-function-declaration]
  EVP_MD_CTX_cleanup(context);
  ^~~~~~~~~~~~~~~~~~
  EVP_MD_CTX_create
/home/akos/gargoyle/ramips-src/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_get_exponent':
/home/akos/gargoyle/ramips-src/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:279:21: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}'
  if (BN_num_bits(key->e) > 64)
                     ^~
scripts/Makefile.host:134: recipe for target 'tools/lib/rsa/rsa-sign.o' failed
make[6]: *** [tools/lib/rsa/rsa-sign.o] Error 1
Makefile:1195: recipe for target 'tools-only' failed
make[5]: *** [tools-only] Error 2
make[5]: Leaving directory '/home/akos/gargoyle/ramips-src/build_dir/host/u-boot-2014.10'
Makefile:46: recipe for target '/home/akos/gargoyle/ramips-src/build_dir/host/u-boot-2014.10/.built' failed
make[4]: *** [/home/akos/gargoyle/ramips-src/build_dir/host/u-boot-2014.10/.built] Error 2
make[4]: Leaving directory '/home/akos/gargoyle/ramips-src/tools/mkimage'
tools/Makefile:122: recipe for target 'tools/mkimage/compile' failed
make[3]: *** [tools/mkimage/compile] Error 2
make[3]: Leaving directory '/home/akos/gargoyle/ramips-src'
tools/Makefile:121: recipe for target '/home/akos/gargoyle/ramips-src/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyynyyyyyyyyynyyyyynnyyynnyynnnyy' failed
make[2]: *** [/home/akos/gargoyle/ramips-src/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyynyyyyyyyyynyyyyynnyyynnyynnnyy] Error 2
make[2]: Leaving directory '/home/akos/gargoyle/ramips-src'
/home/akos/gargoyle/ramips-src/include/toplevel.mk:181: recipe for target 'world' failed
make[1]: *** [world] Error 2
make[1]: Leaving directory '/home/akos/gargoyle/ramips-src'
find: ‘bin’: Nincs ilyen fájl vagy könyvtár
find: ‘’: Nincs ilyen fájl vagy könyvtár
find: ‘’: Nincs ilyen fájl vagy könyvtár
ls: 'bin' nem érhető el: Nincs ilyen fájl vagy könyvtár

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Gargoyle 1.11.0 Release Candidate 5

Post by ispyisail »

spin up a ubuntu server and try the commands exactly

top_s
Posts: 37
Joined: Mon Aug 13, 2018 10:09 pm
Location: Brazil

Re: Gargoyle 1.11.0 Release Candidate 5

Post by top_s »

Hi everyone!

Testing on an AR150 device over 500/500 link. Everything seems fine.

Some speed test results:

Default config after flash (QOS disabled/BWmon enabled):
94mbps/94mbps (hard limit by eth. top shows 0.70 cpu load with 10MBs download)

QOS enabled (up and down, default rules)/ACC off/BWmon enabled:
60mbps/66mbps (top shows 0.98 cpu load with 6,5MBs download)

QOS enabled (up and down, default rules)/ACC ON/BWmon enabled:
57mbps/65mbps (top shows 1.15 cpu load with 6,5MBs download)
No unnecessary "fair link limit" cap. GUI is still responsive.
ACC seems much easier for the router to handle than in previous versions.

QOS enabled (up and down, default rules)/ACC ON/BWmon OFF:
82mbps/84mbps (top shows 1.03 cpu load with 8,8MBs download)
No unnecessary "fair link limit" cap. GUI is still responsive.
ACC seems much easier for the router to handle than in previous versions.

My network layout is:
PC>AR150>WDR4300(stock)>ISPs Fiber ONU.
Everything cabled. Gigabit when possible.
WDR4300 v1 (stock)
WR941nd v2 (1.9.2)
WA901nd v2 (1.6.2)
2x WR741nd (1.6.2)

(Up to) 1gbps up/down link

ninderrycomp
Posts: 41
Joined: Thu Dec 03, 2015 3:20 am

Re: Gargoyle 1.11.0 Release Candidate 5

Post by ninderrycomp »

Quick question - is there any support for USB NICs on the x86_64 platform? I have an old laptop with a busted screen which should make a decent router, but obviously it only has 1 NIC to play with. I imagine the answer is probably "no" but I figured I'd ask before I spend a bunch of time trying to find out the hard way. If not, would I be able to get around this limitation by using a hypervisor (eg. Proxmox) and assigning the VirtIO NIC this way?

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle 1.11.0 Release Candidate 5

Post by Lantis »

I don’t think any were included, but I can’t recall. If you know the particular driver you are after, you could check the build config file to see.

I run my x86 device under Hyper-V, and pass through 2 virtual NICs. If your hyper visor is capable of passing through the USB NIC in this way, it should work I reckon
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ninderrycomp
Posts: 41
Joined: Thu Dec 03, 2015 3:20 am

Re: Gargoyle 1.11.0 Release Candidate 5

Post by ninderrycomp »

Thanks. I'll give it a crack once time permits. I think I can pass through a USB NIC as a virtual NIC so that should be OK.

User avatar
danielwritesback
Posts: 23
Joined: Sun Sep 23, 2018 8:55 am
Contact:

Re: Gargoyle 1.11.0 Release Candidate 5

Post by danielwritesback »

top_s wrote:Testing on an AR150 device...Default config after flash (QOS disabled/BWmon enabled): 94mbps/94mbps (hard limit by eth. ...
QOS enabled (up and down, default rules)/ACC ON/BWmon OFF: 82mbps/84mbps (top shows 1.03 cpu load...
Awesome!
Full port speed, or full port speed minus 14.4% QOS margin (If the automatic is on, you can specify up to 14.4% higher wan speed for Download QOS, thereby achieving full throughput, probably).
These speeds are just really amazing on the 400mhz GLinet AR150. I wonder how many wifi clients it can hold up, simultaneously, while still maintaining maximum wan throughput?

Post Reply