Version 1.11.0 : Based on OpenWrt 18.06

The latest news about Gargoyle

Moderator: Moderators

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

Re: Version 1.11.0 : Based on OpenWrt 18.06

Post by ispyisail »

ViBE wrote:
ispyisail wrote:@ViBE

You should start a new thread if you want to talk about a custom build.

It makes official builds look bad
how do you mean? 1.11.0 is not official?
My bad, Sorry

gargoyle_1.11.0-ramips-mt7621-mir3g-squashfs-sysupgrade.tar

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

Re: Version 1.11.0 : Based on OpenWrt 18.06

Post by Lantis »

RomanHK wrote:@ViBE

Edit the /etc/opkg.conf file and rewrite the following:

Code: Select all

src/gz openwrt_18.06-snapshot_base http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base
src/gz openwrt_18.06-snapshot_luci http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci
src/gz openwrt_18.06-snapshot_packages http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages
src/gz openwrt_18.06-snapshot_routing http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing
src/gz openwrt_18.06-snapshot_telephony http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony

src/gz openwrt_18.06-snapshot_targets http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt7621/packages

src/gz gargoyle http://www.gargoyle-router.com/packages/gargoyle-1.11.0/ramips/default
src/gz gargoyle_kernel_specific http://www.gargoyle-router.com/packages/gargoyle-1.11.0/ramips/default_kernelspecific

dest root /
dest ram /tmp
dest plugin_root /plugin_root
lists_dir ext /var/opkg-lists
option overlay_root /overlay

This will solve the installation of opkg packages.
I don’t entirely recommend adding the targets folder. That mostly contains kernel modules which will be locked to very specific kernels and will be largely incompatible.
That is why we started to provide the *_kernelspecific repository. Although it does not contain EVERYTHING
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.

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

Re: Version 1.11.0 : Based on OpenWrt 18.06

Post by RomanHK »

Lantis wrote: I don’t entirely recommend adding the targets folder. That mostly contains kernel modules which will be locked to very specific kernels and will be largely incompatible.
That is why we started to provide the *_kernelspecific repository. Although it does not contain EVERYTHING
I have to agree with that. OpenWrt repository changes a lot.
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

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

Re: Version 1.11.0 : Based on OpenWrt 18.06

Post by Lantis »

lesbinary wrote:Hi! Just today I was going to try latest RC and I found this! Great job!

I installed 1.11.0 in my TP-Link TL-WR1043N/ND v2 as a gateway at home. Just some notes.

- "Login" button in Gargoyle entry page doesn't work with 'Enter' key, only if I click on it or I tab and then 'Enter', but not when I am typing the password.
I don't see this behaviour at all. What browser is this with? It works fine on Chrome, Firefox and IE from my testing. It also worked on iOS Safari using the "Return" button on the keyboard
- Disabling DHCP gets an infinite loop with the "Please Wait While Settings Are Applied" message with the classic waiting spiral. Refreshing page solves it, but still, not good waiting for nothing.
Some operations cause the router to temporarily stop communicating with the host. In most cases we have a manual refresh check timer running. It isn't used for DHCP. I've never seen the behaviour you're reporting, but i'll investigate further and see if it is also required on this page.
- "About" page shows "2008-2016" instead of "2008-2019"
Thanks, this is fixed in the code for future versions
- Biggest regression compared to 1.10.0 is related to OpenVPN. I think this is the only plugin I think I need from the repo and the only missing thing I noticed when I installed this new version. Well, it doesn't work with my router. When I install it, looks like everything worked but OpenVPN menu is not shown anywhere. Trying to uninstall doesn't work either, it is always shown as installed, and when I log in with SSH it shows this message:

Code: Select all

Your JFFS2-partition seems full and overlayfs is mounted read-only.
Please try to remove files from /overlay/upper/... and reboot!
This last issue is the biggest one. Maybe it is related with partitions, because it is not usual to have this huge tmpfs and small /overlay (this is with a clean install, not after trying to install openvpn plugin):

Code: Select all

root@Gargoyle:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 5.5M      5.5M         0 100% /rom
tmpfs                    29.4M     80.0K     29.3M   0% /tmp
/dev/mtdblock3          960.0K    244.0K    716.0K  25% /overlay
overlayfs:/overlay      960.0K    244.0K    716.0K  25% /
tmpfs                   512.0K         0    512.0K   0% /dev
After "installing" openvpn plugin (but it doesn't work) it looks like this:

Code: Select all

root@Gargoyle:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 5.5M      5.5M         0 100% /rom
tmpfs                    29.4M     88.0K     29.3M   0% /tmp
/dev/mtdblock3          960.0K    912.0K     48.0K  95% /overlay
overlayfs:/overlay      960.0K    912.0K     48.0K  95% /
tmpfs                   512.0K         0    512.0K   0% /dev

If you want me to report or move this anywhere else or test anything, just let me know.
Your router does not have enough space to run the OpenVPN plugin natively. You'll need to use a USB stick to extend the plugin root. Note that this will need to be formatted as EXT4 (preferably), but should work on most formats as long as it is not FAT16/32.

I know that the VPN plugin reports itself as ~600kB for install, but in reality it is closer to 1MB after all dependencies are added. I am still investigating why the size isn't added up properly.

When you attempt to install it, it fills your router to 100%, and drops it into a read only mode to prevent it from crashing and further filling. The only way to recover from this is a reset to factory settings, or to reflash the same image and start again.

tmpfs is your RAM. Showing up around 29MB is interesting... the V2 of your router has 64MB of RAM. Yours is showing closer to 32 which would indicate a V1. Not to ask the stupid question, but are you sure you have a v2?
Regardless, a large tmpfs is completely normal.
The overlay partition is smaller than you might be expecting because the linux kernel and userland packages are growing in size, not shrinking. So every update, the overlay is going to shrink and shrink. This is why 4MB routers are no longer able to be supported, and while 8MB are ok, for longevity i'd really be recommending people (for new purchases) to look at 16MB flash minimum. Above 8MB, we can also include things like OpenVPN out of the box for you.

Hope this helps.
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.

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

Re: Version 1.11.0 : Based on OpenWrt 18.06

Post by Lantis »

LMP wrote:
Lantis wrote:
LMP wrote:I can't find download for wr741 and wr740.
Those routers are 4MB, and are no longer supported by Gargoyle (and generally Openwrt as well).
Sorry about that.
You could try sticking with an older version, but my recommendation would be to invest in an upgrade :)

Yes, but it does not appear any more in the old versions like 1.10. He appeared before.
The download links all appear on the page for versions 1.10 and below.
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.

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

Re: Version 1.11.0 : Based on OpenWrt 18.06

Post by Lantis »

ViBE wrote:after i updated my Xiaomi Mi Router 3G i got a few error messages:

Code: Select all

Collected errors:
 * opkg_conf_parse_file: Duplicate src declaration (gargoyle http://www.gargoyle-router.com/packages/gargoyle-1.11.0/ramips/default). Skipping.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/terminfo.list: No such file or directory.


Fri Feb 22 19:06:26 2019 daemon.err uhttpd[2317]:  * opkg_conf_parse_file: Duplicate src declaration (gargoyle http://www.gargoyle-router.com/packages/gargoyle-1.11.0/ramips/default). Skipping.
Fri Feb 22 19:06:26 2019 daemon.err uhttpd[2317]:  * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/management/Packages.gz, wget returned 8.

Fri Feb 22 19:25:48 2019 daemon.err odhcp6c[2055]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)

Fri Feb 22 19:28:10 2019 daemon.err uhttpd[14860]: Collected errors:
Fri Feb 22 19:28:10 2019 daemon.err uhttpd[14860]:  * opkg_conf_parse_file: Duplicate src declaration (gargoyle http://www.gargoyle-router.com/packages/gargoyle-1.11.0/ramips/default). Skipping.
a few should be related with IPv6 i guess. but that's not clear how or what cause this. the router connect to the ISP but clients cannot access internet.

and some of these related with opkg. can i fix these somehow?

noticed a cosmetic problem. at the DDNS page the refresh date shows in dd/mm. but on system level i set yyyy/mm/dd. btw now i would like to request the yyyy. mm. dd. format cause in my country that's the standard. are there any chance to add it?

oh and another time uptime bug(?) https://i.imgur.com/SEGiTwu.jpg
opkg "management" feed issues are fixed for future.
I have fixed the ddns date display, and added the new time/date format you have requested.
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: 194
Joined: Sun Apr 19, 2015 6:58 pm

Re: Version 1.11.0 : Based on OpenWrt 18.06

Post by ViBE »

Lantis wrote:
ViBE wrote:after i updated my Xiaomi Mi Router 3G i got a few error messages:

Code: Select all

Collected errors:
 * opkg_conf_parse_file: Duplicate src declaration (gargoyle http://www.gargoyle-router.com/packages/gargoyle-1.11.0/ramips/default). Skipping.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/terminfo.list: No such file or directory.


Fri Feb 22 19:06:26 2019 daemon.err uhttpd[2317]:  * opkg_conf_parse_file: Duplicate src declaration (gargoyle http://www.gargoyle-router.com/packages/gargoyle-1.11.0/ramips/default). Skipping.
Fri Feb 22 19:06:26 2019 daemon.err uhttpd[2317]:  * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/management/Packages.gz, wget returned 8.

Fri Feb 22 19:25:48 2019 daemon.err odhcp6c[2055]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)

Fri Feb 22 19:28:10 2019 daemon.err uhttpd[14860]: Collected errors:
Fri Feb 22 19:28:10 2019 daemon.err uhttpd[14860]:  * opkg_conf_parse_file: Duplicate src declaration (gargoyle http://www.gargoyle-router.com/packages/gargoyle-1.11.0/ramips/default). Skipping.
a few should be related with IPv6 i guess. but that's not clear how or what cause this. the router connect to the ISP but clients cannot access internet.

and some of these related with opkg. can i fix these somehow?

noticed a cosmetic problem. at the DDNS page the refresh date shows in dd/mm. but on system level i set yyyy/mm/dd. btw now i would like to request the yyyy. mm. dd. format cause in my country that's the standard. are there any chance to add it?

oh and another time uptime bug(?) https://i.imgur.com/SEGiTwu.jpg
opkg "management" feed issues are fixed for future.
I have fixed the ddns date display, and added the new time/date format you have requested.
thanks. are there any temporary fix for the opkg issues or a system update will coming soon? and what can i do with the mentioned IPv6 thing?

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

Re: Version 1.11.0 : Based on OpenWrt 18.06

Post by Lantis »

As a temporary fix, you could manually apply the code changes from here:
https://github.com/ericpaulbishop/gargo ... its/master
All changes from Feb 24.

A new testing build might be provided by ispyisail. But that’s a volunteer service, so there’s no timeframe on that obviously.

Ipv6 is not supported by Gargoyle like I said. If it is causing you problems, try disabling it.
It might be enabled in /etc/config/network or /etc/confg/dhcp
It shouldn’t be causing clients to not be able to reach the internet.
You should be able to safely ignore the error...
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.

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

Re: Version 1.11.0 : Based on OpenWrt 18.06

Post by RomanHK »

Lantis wrote:As a temporary fix, you could manually apply the code changes from here:
https://github.com/ericpaulbishop/gargo ... its/master
All changes from Feb 24.

A new testing build might be provided by ispyisail. But that’s a volunteer service, so there’s no timeframe on that obviously.

Ipv6 is not supported by Gargoyle like I said. If it is causing you problems, try disabling it.
It might be enabled in /etc/config/network or /etc/confg/dhcp
It shouldn’t be causing clients to not be able to reach the internet.
You should be able to safely ignore the error...
+1

DLNA does not have a choice of where to store databases. After each restart, the database must be rebuilt. A full directory /tmp problem is known.
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

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

Re: Version 1.11.0 : Based on OpenWrt 18.06

Post by Lantis »

That isn't true.
For the database to survive, it needs for the usb_storage to mount first.
If it doesn't, a new database is created.

And then all you need to do is kill minidlna, make sure that the mount is complete, and restart minidlna. And it detects the old database and runs just fine.

Yes there is a race condition there that should be fixed. It doesn't always result in the bad behaviour.
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