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


Declan
 Share

2 2

Recommended Posts

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

 

Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

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

 

Link to post
Share on other sites

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

2 2