wireguard vpn kmod-udptunnel4 dependancy error

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

senis_kenis
Posts: 8
Joined: Sun Feb 23, 2020 5:27 am

wireguard vpn kmod-udptunnel4 dependancy error

Post 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.

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

Re: wireguard vpn kmod-udptunnel4 dependancy error

Post by Lantis »

What is the contents of /etc/opkg.conf
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.

senis_kenis
Posts: 8
Joined: Sun Feb 23, 2020 5:27 am

Re: wireguard vpn kmod-udptunnel4 dependancy error

Post by senis_kenis »

Can't post links, trying to add file.

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

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

Re: wireguard vpn kmod-udptunnel4 dependancy error

Post by Lantis »

I can’t access the file. Just dump the contents in pastebin please
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: wireguard vpn kmod-udptunnel4 dependancy error

Post 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.
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.

senis_kenis
Posts: 8
Joined: Sun Feb 23, 2020 5:27 am

Re: wireguard vpn kmod-udptunnel4 dependancy error

Post by senis_kenis »

Thanks a lot @Lantis! Worked like a charm, no reboot needed.

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

Re: wireguard vpn kmod-udptunnel4 dependancy error

Post by Lantis »

Great!
This will be fixed in 1.15
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.

senis_kenis
Posts: 8
Joined: Sun Feb 23, 2020 5:27 am

Re: wireguard vpn kmod-udptunnel4 dependancy error

Post 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!!!

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

Re: wireguard vpn kmod-udptunnel4 dependancy error

Post 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!
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