Wireguard fails on recent updates for OpenWRT on Turris Omnia, but same versions work on other (Linksys) routers with same CPU

Sebastian Gottschall s.gottschall at dd-wrt.com
Tue Jul 24 13:32:10 CEST 2018


openwrt doesnt use kernel 4.4 anymore for a long time. as far as i know 
it switched to 4.14 since some weeks
however the original omnis turria openwrt fork uses 4.4, but with 
different kernel configs. so you have to build wireguard
using exact the same sourcebase including kernel config, which is used 
in your omnis turria device


Am 24.07.2018 um 11:49 schrieb Steven Honson:
>> On 22 Jul 2018, at 11:02 pm, Aaron Jones <aaronmdjones at gmail.com> wrote:
>>
>> # cat /sys/module/wireguard/version
> On LEDE 17.01.5 at least, `/sys/module/wireguard/version` doesn’t exist, I’m not sure if this is the same for the release candidates of OpenWrt 18.06.
>
> Unfortunately `modinfo wireguard` doesn’t give any indication of the version either for me with LEDE 17.01.5:
>
> # modinfo wireguard
> module:		/lib/modules/4.4.140/wireguard.ko
> alias:		net-pf-16-proto-16-family-wireguard
> alias:		rtnl-link-wireguard
> license:	GPL v2
> depends:	udp_tunnel,ip6_udp_tunnel
>
> If you have installed WireGuard from the LEDE/OpenWrt package repository, then `opkg info wireguard-tools` to check the tools, and `opkg info kmod-wireguard` to check the kernel module is one way to verify the version:
>
> # opkg info wireguard-tools
> Package: wireguard-tools
> Version: 0.0.20180625-1
> Depends: libc, libmnl, ip
> Status: install ok installed
> Section: net
> ...
>
> # opkg info kmod-wireguard
> Package: kmod-wireguard
> Version: 4.4.140+0.0.20180519-1
> Depends: kernel (= 4.4.140-1-78acdb0e5133ba67c91f7694e305d1e7), kmod-udptunnel6, kmod-udptunnel4
> Status: install ok installed
> ...
>
> Note that updates to the tools appear to be backported regularly to LEDE 17.01, but the kernel module appears to be as of the version available at the time of the release (17.01.5 in my case), so it isn’t unusual for these versions to not match as is the case here with mine. I’m not sure if the next release of OpenWrt will do a similar thing. It’d be nice if the kernel module updates were backported too.
>
> Cheers,
> Steven
> _______________________________________________
> WireGuard mailing list
> WireGuard at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard



More information about the WireGuard mailing list