Gargoyle 1.11.0 Release Candidate 5

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

Moderator: Moderators

doug_porsche
Posts: 70
Joined: Fri Aug 16, 2013 3:59 pm

Re: Gargoyle 1.11.0 Release Candidate 5

Post by doug_porsche »

Next chapter in my discreet wifi network (NETGEAR WNDR3700v4)
settings are
Connections > Basic > Local Network / LAN
Router IP 193.168.1.32
Subnet Mask 255.255.255.224

Which I think means I should have 193.168.1.33-193.168.1.62 IP address available.

Then when I try and setup a my DHCP range Connections > DHCP start and stop anywhere within the 193.168.1.33-193.168.1.62 range, it will not accept them.
It will accept a 193.168.1.1 - 193.168.1.31.

Shouldn't it take the 193.168.1.33-193.168.1.62 range for DHCP?
NETGEAR WNDR3700v4 or an old Soup can with string. So hard to tell these days.

fifonik
Posts: 113
Joined: Fri Dec 02, 2016 3:52 am
Location: Brisbane, AU

Re: Gargoyle 1.11.0 Release Candidate 5

Post by fifonik »

> Shouldn't it take the 193.168.1.33-193.168.1.62 range for DHCP?

Nope (if I understand correctly).
224 = b11100000
So you have b11111 = 31 addresses from b00000 (0, reserved) to b11111 (31)

RomanHK
Posts: 623
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: Gargoyle 1.11.0 Release Candidate 5

Post by RomanHK »

doug_porsche wrote:Shouldn't it take the 193.168.1.33-193.168.1.62 range for DHCP?

Code: Select all

IP address 193.168.1.32 11000001.10101000.00000001.00100000
Mask 255.255.255.224 11111111.11111111.11111111.11100000
Wildcard 0.0.0.31 00000000.00000000.00000000.00011111
Network 193.168.1.32/27 11000001.10101000.00000001.00100000
Broadcast 193.168.1.63 11000001.10101000.00000001.00111111
Minimum guest 193.168.1.33 11000001.10101000.00000001.00100001
Maximum guest 193.168.1.62 11000001.10101000.00000001.00111110
Maximum guests 30 11110

Check out the /etc/config/dhcp LAN section and try:

Code: Select all

option start '33'
option limit '29'
Last edited by RomanHK on Thu Jan 31, 2019 4:04 pm, edited 5 times in total.
Turris Omnia with Gargoyle 1.12.0
Linksys WRT3200ACM with Gargoyle 1.12.0
TL-WR1043ND v2 with Gargoyle 1.10.0

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

Re: Gargoyle 1.11.0 Release Candidate 5

Post by ViBE »

Lantis wrote:
ViBE wrote:finally i setup a server in VirtualBox. Ubuntu 18.04.1. but still nothing, NOTHING done:

Code: Select all

/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’: No such file or directory
find: ‘’: No such file or directory
find: ‘’: No such file or directory
ls: cannot access 'bin': No such file or directory


ended with this. what the hell should i do?


Have you installed all the prerequisite tools and apps from the wiki?
Are you building off the “base_on_openwrt_remerge” branch?

holly cow. finally one step closer. so what i did:
1. setup an Ubuntu 18.04.1 x64 server in VirtualBox with default settings
2. installed xfce to make thing comfortable
3. did what ispyisail told: https://www.gargoyle-router.com/phpbb/viewtopic.php?p=51405#p51405

then i got those error messages. i scrolled back and i saw some npm related too. i did a try and simply installed npm. that was the issue. i also red the documentation but that package is not mentioned before make FULL_BUILD=true. so please modify it cause looks like it is not installed by default in some distributions. lame guys like me will not figure out easily if this missing.

now i have a ~51GB sized gargoyle folder. what's next if i would like to continue to build firmware for my Asus RT-AC58U?

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

Re: Gargoyle 1.11.0 Release Candidate 5

Post by ViBE »

help me pls.

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

Re: Gargoyle 1.11.0 Release Candidate 5

Post by Lantis »

Code: Select all

make custom

Configure as you would like (ensuring you keep all gargoyle modules), rescue config and create a new target.
Then build the new target.

This bit is largely undocumented because it's a little different for every device. You'll need to read and experiment. Documentation is mostly relevant from Openwrt from this point forward, except that you need to include all the Gargoyle packages.
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.

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

Re: Gargoyle 1.11.0 Release Candidate 5

Post by ViBE »

Lantis wrote:

Code: Select all

make custom

Configure as you would like (ensuring you keep all gargoyle modules), rescue config and create a new target.
Then build the new target.

This bit is largely undocumented because it's a little different for every device. You'll need to read and experiment. Documentation is mostly relevant from Openwrt from this point forward, except that you need to include all the Gargoyle packages.

so first i have to run make custom and then figure out anything else? oh boy... i take a try but i guess a never ending torture starting for me. where can i found an exact documentation?

OpenWRT already contains a target for it: https://downloads.openwrt.org/releases/ ... x/generic/

does it help?

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

Re: Gargoyle 1.11.0 Release Candidate 5

Post by Lantis »

1. make custom
2. Select ipq40xx target
3. Select all Gargoyle packages and dependencies from the Administration menu (hint, there is more to be found than what is just shown initially, you may need to enable other dependencies first)
4. Exit and save config, then quit the build
5. Grab .config file from custom-src/.config and save it as targets/ipq40xx...../config. Add the other files as required to create a valid target
6. make clean
7. make FULL_BUILD=true ipq40xx

https://www.gargoyle-router.com/wiki/do ... umentation
https://openwrt.org/docs/guide-develope ... uildsystem
https://openwrt.org/docs/guide-user/add ... uild-guide
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.

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

Re: Gargoyle 1.11.0 Release Candidate 5

Post by ViBE »

Lantis wrote:1. make custom
2. Select ipq40xx target
3. Select all Gargoyle packages and dependencies from the Administration menu (hint, there is more to be found than what is just shown initially, you may need to enable other dependencies first)
4. Exit and save config, then quit the build
5. Grab .config file from custom-src/.config and save it as targets/ipq40xx...../config. Add the other files as required to create a valid target
6. make clean
7. make FULL_BUILD=true ipq40xx

https://www.gargoyle-router.com/wiki/do ... umentation
https://openwrt.org/docs/guide-develope ... uildsystem
https://openwrt.org/docs/guide-user/add ... uild-guide

i don't see ipq40xx in targets :?

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

Re: Gargoyle 1.11.0 Release Candidate 5

Post by Lantis »

“Qualcomm Atheros IPQ40XX”
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.

Post Reply