You are not logged in.
Pages: 1
Topic closed
Hi, why wireguard does not work and fails with this? I installed "wireguard-tools" and linux kernel is 5.6.4-arch1-1. Network Manager is installed but it also does not work with this.
[I] ➜ sudo wg-quick up MYCONFIG
[#] ip link add MYCONFIG type wireguard
Error: Unknown device type.
Unable to access interface: Protocol not supported
[#] ip link delete dev MYCONFIG
Cannot find device "MYCONFIG"
For network manager:
Error: Connection activation failed: MYCONFIG failed to create resources: Failed to create WireGuard interface 'MYCONFIG' for 'MYCONFIG: [Here it writes in other language, "unsupported operation"]
In MYCONFIG (lines removed):
[Interface]
Address = **** /32
DNS = ***
PrivateKey = ***
[Peer]
PublicKey = ****
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = ***:51820
Offline
*update - sorry Slithery is correct, it should already be compiled in the kernel.
Last edited by cmm11 (2020-05-22 05:08:16)
$20 Free Credit Hetzner - https://hetzner.cloud/?ref=fuVilhv403fA
Offline
Check you have package "wireguard-dkms" installed and also "linux-headers".
Why? It's been built into the kernel since 5.6...
Offline
I have the same issue.
Kernel is 5.7.7-arch1-1, so according to the wiki there's no need to install the wireguard-dkms package.
But
modprobe wireguard
gives no output.
I have the linux-headers package installed.
Offline
i think is your host is base on openzv or lxc ,which is not support change kernnel. so if you want to use wireguard ,use wireguard-go
Offline
lyj0309, thank you for the contribution, but this thread is almost two years old. Please do not necrobump.
Closing.
Offline
Pages: 1
Topic closed