WireGuard: "Error: Unknown device type" on Archlinux
Thursday, November 28 2019 · Lesezeit: 2 Minuten · 269 Wörter · Tags: wireguard Achtung! Dieser Artikel ist älter als ein Jahr. Der Inhalt ist möglicherweise nicht mehr aktuell!Do you also have the following problem after installing wireguard-tools
and wireguard-arch
?
[root@test ~]# ip link add dev wg0 type wireguard
Error: Unknown device type.
No, you didn’t do anything wrong! Yes, that’s the right way to install WireGuard on Arch! So why isn’t it working? The fix is pretty simple: Update your fucking system!
[root@test ~]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (147) acl-2.2.53-2 archlinux-keyring-20191018-2 argon2-20190702-2 attr-2.4.48-2 audit-2.8.5-6 bash-5.0.011-2 btrfs-progs-5.3.1-3 bzip2-1.0.8-3
ca-certificates-20181109-2 ca-certificates-mozilla-3.47.1-1 ca-certificates-utils-20181109-2 coreutils-8.31-3 cracklib-2.9.7-2 cryptsetup-2.2.2-1 curl-7.67.0-3
db-5.3.28-5 dbus-1.12.16-3 device-mapper-2.02.186-3 dhcpcd-8.1.2-1 diffutils-3.7-3 dnssec-anchors-20190629-2 e2fsprogs-1.45.4-2 expat-2.2.9-2 file-5.37-4
filesystem-2019.10-2 findutils-4.7.0-2 gawk-5.0.1-2 gcc-libs-9.2.0-4 gdbm-1.18.1-3 gettext-0.20.1-3 glib2-2.62.3-1 glibc-2.30-3 gmp-6.1.2-3 gnupg-2.2.18-1
gnutls-3.6.10-2 gpgme-1.13.1-3 grep-3.3-3 groff-1.22.4-2 grub-2:2.04-3 gzip-1.10-3 haveged-1.9.8-1 hwids-20191025-2 iana-etc-20191123-1 icu-65.1-2
inetutils-1.9.4-8 iproute2-5.4.0-1 iptables-1:1.8.3-3 iputils-20190709-2 jfsutils-1.1.15-7 json-c-0.13.1-3 kbd-2.2.0-5 keyutils-1.6.1-3 kmod-26-3
krb5-1.17-2 ldns-1.7.1-2 less-551-3 libaio-0.3.112-2 libarchive-3.4.0-3 libassuan-2.5.3-2 libcap-2.27-2 libcap-ng-0.7.9-2 libedit-20191025_3.1-1
libelf-0.177-2 libffi-3.2.1-4 libgcrypt-1.8.5-2 libgpg-error-1.36-3 libidn2-2.3.0-1 libksba-1.3.5-2 libldap-2.4.48-2 libmnl-1.0.4-3 libnftnl-1.1.4-2
libnghttp2-1.39.2-2 libnl-3.5.0-2 libpcap-1.9.1-2 libpipeline-1.5.1-2 libpsl-0.21.0-2 libsasl-2.1.27-2 libseccomp-2.4.1-3 libsecret-0.19.1-2 libssh2-1.9.0-2
libtasn1-4.15.0-1 libtirpc-1.1.4-2 libunistring-0.9.10-2 libusb-1.0.23-2 libutil-linux-2.34-8 libxml2-2.9.10-1 licenses-20191011-2 linux-5.3.13.1-1
linux-api-headers-5.3.1-2 linux-firmware-20191022.2b016af-3 logrotate-3.15.1-2 lvm2-2.02.186-3 lz4-1:1.9.2-2 lzo-2.10-3 man-db-2.9.0-1 man-pages-5.04-1
mdadm-4.1-2 mkinitcpio-27-2 mkinitcpio-busybox-1.30.1-2 mpfr-4.0.2-2 nano-4.5-2 ncurses-6.1-7 netctl-1.20-2 nettle-3.5.1-2 npth-1.6-2 openresolv-3.9.2-2
openssh-8.1p1-2 openssl-1.1.1.d-2 p11-kit-0.23.18.1-2 pacman-5.2.1-1 pacman-mirrorlist-20191001-2 pam-1.3.1-2 pambase-20190105.1-2 pciutils-3.6.2-2
pcre-8.43-2 pcre2-10.34-1 perl-5.30.1-1 pinentry-1.1.0-5 polkit-0.116-3 popt-1.16-12 procps-ng-3.3.15-2 psmisc-23.3-2 readline-8.0.001-2
reiserfsprogs-3.6.27-3 s-nail-14.9.15-2 sed-4.7-3 shadow-4.7-3 sqlite-3.30.1-2 sudo-1.8.29-1 sysfsutils-2.1.0-11 systemd-243.162-2 systemd-libs-243.162-2
systemd-sysvcompat-243.162-2 tar-1.32-3 texinfo-6.7-2 thin-provisioning-tools-0.8.5-3 tzdata-2019c-3 usbutils-012-2 util-linux-2.34-8 vi-1:070224-4
virtualbox-guest-modules-arch-6.0.14-9 virtualbox-guest-utils-nox-6.0.14-4 which-2.21-5 xfsprogs-5.2.1-3 xz-5.2.4-2 zlib-1:1.2.11-4 zstd-1.4.3-2
Total Download Size: 291.82 MiB
Total Installed Size: 1179.24 MiB
Net Upgrade Size: 26.89 MiB
I’ve wasted a full hour on this! Soon it will be native in the linux kernel!
Du hast einen Kommentar, einen Wunsch oder eine Verbesserung? Schreib mir doch eine E-Mail! Die Infos dazu stehen hier.
🖇️ = Link zu anderer Webseite
🔐 = Webseite nutzt HTTPS (verschlüsselter Transportweg) Zurück