Page 1 of 2

wireguard vpn kmod-udptunnel4 dependancy error

Posted: Thu Feb 09, 2023 6:31 am
by senis_kenis
Hi, just flashed xiaomi mir3g v1 with
gargoyle_1.13.0-ramips-mt7621-xiaomi_mir3g-squashfs-sysupgrade.bin
everything works fine but getting error while trying to install wireguard plugin.

syslog:

Thu Feb 9 12:14:45 2023 daemon.err uhttpd[1891]: ERROR: Dependency kmod-udptunnel4 of package plugin-gargoyle-wireguard cannot be found, try updating your package lists
Success

ssh:

root@Gargoyle:~# opkg install kmod-udptunnel4
ERROR: Dependency kernel (= 4.14.261-1-37018b679256107e7ea993bc16cdf0ac) of package kmod-udptunnel4 is installed,
but has incompatible version 4.14.261-1-1a0270e6a6b43349b209cab010a04db3
root@Gargoyle:~# uname -a
Linux Gargoyle 4.14.261 #0 SMP Thu Jan 6 14:31:19 2022 mips GNU/Linux

On Linksys wrt1900ac no such problem.

Re: wireguard vpn kmod-udptunnel4 dependancy error

Posted: Thu Feb 09, 2023 8:02 am
by Lantis
What is the contents of /etc/opkg.conf

Re: wireguard vpn kmod-udptunnel4 dependancy error

Posted: Thu Feb 09, 2023 8:09 am
by senis_kenis
Can't post links, trying to add file.

edit:
https://drive.google.com/file/d/1-2wjJp ... sp=sharing

Re: wireguard vpn kmod-udptunnel4 dependancy error

Posted: Thu Feb 09, 2023 5:20 pm
by Lantis
I can’t access the file. Just dump the contents in pastebin please

Re: wireguard vpn kmod-udptunnel4 dependancy error

Posted: Fri Feb 10, 2023 3:51 am
by senis_kenis

Re: wireguard vpn kmod-udptunnel4 dependancy error

Posted: Fri Feb 10, 2023 5:59 am
by Lantis
Change these two lines

Code: Select all

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

Code: Select all

src/gz gargoyle http://www.gargoyle-router.com/packages/gargoyle-1.13.0/ramips/mt7621
src/gz gargoyle_kernel_specific http://www.gargoyle-router.com/packages/gargoyle-1.13.0/ramips/mt7621_kernelspecific
Reboot then try again, should work fine.

Re: wireguard vpn kmod-udptunnel4 dependancy error

Posted: Fri Feb 10, 2023 8:00 am
by senis_kenis
Thanks a lot @Lantis! Worked like a charm, no reboot needed.

Re: wireguard vpn kmod-udptunnel4 dependancy error

Posted: Fri Feb 10, 2023 8:41 am
by Lantis
Great!
This will be fixed in 1.15

Re: wireguard vpn kmod-udptunnel4 dependancy error

Posted: Fri Feb 10, 2023 1:39 pm
by senis_kenis
Lantis, on witch openwrt version gargoyle 1.15 will be based, because I'm wondering if hardware nat offloading will be available for mt7621 on gargoyle? Now with 1.13 I'm getting ~480mbps from 1gbps connection, seems like cpu is a bottleneck. And on openwrt where is hardware nat option for this soc, don't know since witch version...

edit:
or can i try to enable it in firewall config?

option flow_offloading '1'
option flow_offloading_hw '1'

edit2:
and its working, getting close to 1gbps!!!

Re: wireguard vpn kmod-udptunnel4 dependancy error

Posted: Fri Feb 10, 2023 6:19 pm
by Lantis
1.15 will be based on 22.03
Hardware NAT offload (or software) isn’t compatible with Gargoyle. It stops most of the firewall features (bandwidth monitoring, quotas, QoS, etc) from working.
If this doesn’t matter to you, go for it!