Page 3 of 3

Re: Failed to build 1.12

Posted: Sun Sep 20, 2020 9:20 am
by Lantis
I'm not particularly familiar with the 4G connection modes.

Basically if you can on the command line (of the router itself) do both a ping to the internet (e.g. ping 8.8.8.8) and an nslookup (e.g. nslookup google.com) then you have sufficient connectivity to refresh and install the plugins.

Re: Failed to build 1.12

Posted: Sun Sep 20, 2020 9:30 am
by raven
Yes, I can successfully ping and nslookup google.com from router but refresh plugins did not work. Am I missing something in my image config when I build the image?

Re: Failed to build 1.12

Posted: Sun Sep 20, 2020 7:07 pm
by Lantis
Can you run
gpkg update
From the CLI and report back what happens please?

Re: Failed to build 1.12

Posted: Sun Sep 20, 2020 7:39 pm
by raven
This is what I got from CLI

Code: Select all

Downloading package list for gargoyle_kernel_specific source...
Package list for gargoyle_kernel_specific downloaded successfully.

Downloading package list for openwrt_18.06-SNAPSHOT_base source...
Package list for openwrt_18.06-SNAPSHOT_base downloaded successfully.

Downloading package list for openwrt_18.06-SNAPSHOT_packages source...
Package list for openwrt_18.06-SNAPSHOT_packages downloaded successfully.

Downloading package list for gargoyle source...
Package list for gargoyle downloaded successfully.

Downloading package list for openwrt_18.06-SNAPSHOT_routing source...
Package list for openwrt_18.06-SNAPSHOT_routing downloaded successfully.

Downloading package list for openwrt_18.06-SNAPSHOT_telephony source...
Package list for openwrt_18.06-SNAPSHOT_telephony downloaded successfully.

Re: Failed to build 1.12

Posted: Sun Sep 20, 2020 10:01 pm
by Lantis
Your Gargoyle specific package repositories are pointing to 1.13, but they should be pointing to 1.12.

You can edit these in /etc/opkg.conf

For your device, point them at

Code: Select all

http://www.gargoyle-router.com/packages/gargoyle-1.12/ar71xx/usb_large/
http://www.gargoyle-router.com/packages/gargoyle-1.12/ar71xx/usb_large_kernelspecific/
It's not a perfect match for your build, but it will be close enough.
If you need to install any kernel modules, you will need to either recompile with the packages built in, or host your own package repository based on what you compiled. Your kernel will not be an exact match for the one 1.12 was based on.

e.g. Adblock should install OK as it has no kernel dependencies, but OpenVPN may not work as it needs kmod-tun which will be specific to your kernel.

Re: Failed to build 1.12

Posted: Sun Sep 20, 2020 10:39 pm
by raven
1. Why it can pointing to 1.13 repositories, is this just an error by design when compling?
2. If I want to install any kernel modules, can I just install them manually including all dependencies ?.
3. And if I want to recompile, can I just use 'make ar71xx.glar150' or do I still have to use full_build ?.

For now I have manually installed the plugins I need which I got after finishing compiling from the /built/packages folder and the plugins appear in the gui and running fine.

Re: Failed to build 1.12

Posted: Mon Sep 21, 2020 12:30 am
by Lantis
1. When you build a release version (e.g. the 1.12.0 tag), the build code sets the repositories to the relevant 1.12 links. If you aren't building a release version, the code assumes (perhaps not very well) that what you are building is probably more relevant to the next version. So it takes the version and adds 1, hence you get 1.13.
1.13 doesn't exist yet, so there's actually no 1.13 folder on the gargoyle website. Hence you get nothing.
You could patch the build code if you wanted.
https://github.com/ericpaulbishop/gargo ... le#L29-L31
https://github.com/ericpaulbishop/gargo ... le#L76-L78

2. Yes absolutely

3. Yes if you change your config file after building once, you can just run a regular "make ar71xx.glar150". This "rebuild" should be significantly faster depending on how many changes you make.

Re: Failed to build 1.12

Posted: Mon Sep 21, 2020 2:42 am
by raven
Now I understand, thank you Lantis, I think I will use my own build image for now and install modules or plugins manually when I need them. And if I get stuck installing them then I just use ispyisail build :D. So far, 1.12.x is the most stable and faster version instead of 1.10 or 1.11 and I'm happy with it. Hopefully I can also test stable version 1.13 soon :). Thanks Lantis.

Re: Failed to build 1.12

Posted: Mon Sep 21, 2020 5:54 am
by Lantis
You're welcome, and thank you for working through the issues.
It is always good to see someone having a go, and getting a good result.