Page 4 of 22

Re: Gargoyle 1.11.0 Release Candidate 5

Posted: Sat Dec 08, 2018 4:59 pm
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.

Re: Gargoyle 1.11.0 Release Candidate 5

Posted: Sat Dec 08, 2018 5:43 pm
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.

Re: Gargoyle 1.11.0 Release Candidate 5

Posted: Sat Dec 08, 2018 5:53 pm
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.

Re: Gargoyle 1.11.0 Release Candidate 5

Posted: Sun Dec 09, 2018 12:09 pm
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

Re: Gargoyle 1.11.0 Release Candidate 5

Posted: Sun Dec 09, 2018 2:07 pm
by ispyisail
spin up a ubuntu server and try the commands exactly

Re: Gargoyle 1.11.0 Release Candidate 5

Posted: Sun Dec 09, 2018 2:39 pm
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.

Re: Gargoyle 1.11.0 Release Candidate 5

Posted: Tue Dec 11, 2018 1:54 am
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?

Re: Gargoyle 1.11.0 Release Candidate 5

Posted: Tue Dec 11, 2018 3:46 am
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

Re: Gargoyle 1.11.0 Release Candidate 5

Posted: Tue Dec 11, 2018 8:56 am
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.

Re: Gargoyle 1.11.0 Release Candidate 5

Posted: Thu Dec 13, 2018 7:36 pm
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?