Jump to content

[Solved] Wireguard Client Up Error: Unknown interface 'tun': No such device


Recommended Posts

Posted

Following the install instructions from:

https://www.wireguard.com/install/#debian-module-tools

 

Wireguard server is working correctly as I have other devices working.

 

I recieve the following output:

 

root@helios4:/etc/wireguard# wg-quick up PiVPNHelios4
[#] ip link add PiVPNHelios4 type wireguard
[#] wg setconf PiVPNHelios4 /dev/fd/63
[#] ip -4 address add 10.6.0.5/24 dev PiVPNHelios4
[#] ip link set mtu 1420 up dev PiVPNHelios4
[#] resolvconf -a tun.PiVPNHelios4 -m 0 -x
Unknown interface 'tun': No such device
[#] ip link delete dev PiVPNHelios4

 

Have I setup something wrong with wireguard? or is it not fully supported?

 

Solution:

remove the DNS value from the configuration

 

Posted
root@helios4:~# lsmod | grep 'tun\|wireguard'
tun                    40960  0
wireguard              61440  0
curve25519_neon        28672  1 wireguard
libcurve25519_generic    20480  2 curve25519_neon,wireguard
libchacha20poly1305    16384  1 wireguard
ip6_udp_tunnel         16384  1 wireguard
udp_tunnel             20480  1 wireguard
libblake2s             16384  1 wireguard

 

Posted

If you are on kernel >= 5.6, kernel modules (i.e., wireguard-dkms package) are no longer required (as they are built in to the kernel since then).

  • Declan changed the title to [Solved] Wireguard Client Up Error: Unknown interface 'tun': No such device

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines