Home | News | Download | Packages | Forum | Wiki | Github

[SOLVED] Wireguard


Anyone have wireguard (replacement of VPN) working?

As per https://www.wireguard.com/quickstart/

The first command is : ip link add dev wg0 type wireguard

I get: RTNETLINK answers: Not supported


I’m successfully using wireguard but with pre-configured files from mullvad and azirevpn (which is free for the moment as it’s in beta), so I can’t be of any help this time :confused:


I’m successfully using wireguard on my own server following this article https://www.ckn.io/blog/2017/11/14/wireguard-vpn-typical-setup/


@sbute Are you using https://www.mullvad.net/en/guides/easy-wireguard-mullvad-setup-linux/

I get same issue when running: wg-quick up mullvad-us5

[#] ip link add mullvad-us5 type wireguard
RTNETLINK answers: Not supported

I cant add a wireguard interface


Basic question: are you using musl or glibc ? :neutral_face:


Musl. Isn’t ip link universal?


Yes I’m using this one. I saw on the arch wiki that you error should be solved by installing linux-headers https://wiki.archlinux.org/index.php/WireGuard#Troubleshooting


@sbute I have linux-headers installed. Do you have the module available per.
modprobe wireguard && lsmod | grep wireguard
I don’t


wireguard 225280 0
ip6_udp_tunnel 16384 1 wireguard
udp_tunnel 16384 1 wireguard
That’s the result of your command. I just installed the wireguard package to get it running :thinking:


Oh wow. I have 2 hd’s and two grubs, and I’ve been booting off the other os’s grub, so I keep running an older kernel. The module gets compiled on newer kernel, but I never booted it. Thanks for help @sbute.


Glad you solved it :ok_hand: