From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: adam@souzis.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 0a0ec474 for ; Tue, 8 Aug 2017 19:37:08 +0000 (UTC) Received: from mail-vk0-f46.google.com (mail-vk0-f46.google.com [209.85.213.46]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id b50a0910 for ; Tue, 8 Aug 2017 19:37:08 +0000 (UTC) Received: by mail-vk0-f46.google.com with SMTP id r199so17965802vke.4 for ; Tue, 08 Aug 2017 12:59:00 -0700 (PDT) MIME-Version: 1.0 From: adam souzis Date: Tue, 8 Aug 2017 12:58:58 -0700 Message-ID: Subject: trouble installing on Fedora and CentOS To: wireguard@lists.zx2c4.com Content-Type: multipart/alternative; boundary="001a11431952e277ba05564364d6" List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --001a11431952e277ba05564364d6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I've been impressed with Wireguard, its design has helped simplify the implementation of a distributed sandbox app I am building quite a bit. But I have had mixed results getting it running on different distributions. The good news is that I can report that I was able to build, install and run Wireguard on CoreOs. The bad news is I was unable to get Wireguard working on either CentOS 7, Fedora 26 or Fedora 25 (running these on AWS), it doesn't appear to be installing the kernel module properly. Here's what I see when install the RPM: + dkms add -m wireguard -v 0.0.20170629 -q --rpm_safe_upgrade + dkms build -m wireguard -v 0.0.20170629 -q + dkms install -m wireguard -v 0.0.20170629 -q D: %post(wireguard-dkms-1:0.0.20170629-2.fc25.noarch): waitpid(14760) rc 14760 status 100 warning: %post(wireguard-dkms-1:0.0.20170629-2.fc25.noarch) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package wireguard-dkms Looks like it might have worked: [fedora@ip-1~]$ sudo dkms status wireguard, 0.0.20170629: added BUT: [fedora@ip-1 ~]$ sudo ip link add dev wg0 type wireguard RTNETLINK answers: Operation not supported I tried this on the latest version of the RPM and this earlier version. I also tried compiling it from source on Fedora but make failed early on. I disabled selinux, verified the kernel config is good and manually enabled udp_tunnel for good measure. Any other suggestions? (I did see an earlier post here recommending using kernel-ml for centos 7 but I need to use the Atomic Host variant and swapping out the kernel on that is non-trivial. I was hoping using a recent Fedora would solve the kernel compatibility issues.) thank you! Adam =E1=90=A7 --001a11431952e277ba05564364d6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've been impressed with Wireguard, its design ha= s helped simplify the implementation of a distributed sandbox app I am buil= ding quite a bit. But I have had mixed results getting it running on differ= ent distributions.

The good news is that I can report t= hat I was able to build, install and run Wireguard on CoreOs.

The bad news is I was unable to get Wireguard working on either CentO= S 7, Fedora 26 or Fedora 25 (running these on AWS), it doesn't appear t= o be installing the kernel module properly.=C2=A0

= Here's what I see when install the RPM:

+ dkms add -m wireguard -v 0= .0.20170629 -q --rpm_safe_upgrade

+ dkms bu= ild -m wireguard -v 0.0.20170629 -q

+ dkms install -m wireguard = -v 0.0.20170629 -q

D: %post(wireguard-dkms-1:0.= 0.20170629-2.fc25.noarch): waitpid(14760) rc 14760 status 100

warning: %post(wireguard-dkm= s-1:0.0.20170629-2.fc25.noarch) scriptlet failed, exit status 1

Non-fatal POSTIN scriptlet f= ailure in rpm package wireguard-dkms


Looks like it might= have worked:

[fedora@ip-1~]$ sudo dkms st= atus=C2=A0

wireguard, 0.0.20170629: added<= /span>

BUT:

[fedora@ip-1 ~]$ sudo ip link add dev wg0 type wireguard

RTNETLINK answers: Opera= tion not supported

I tried this on the latest version = of the RPM and this earlier version. I also tried compiling it from source = on Fedora but make failed early on. =C2=A0

I disab= led selinux, verified the kernel config is good and manually enabled udp_tu= nnel for good measure. Any other suggestions? (I did see an earlier post he= re recommending using kernel-ml for centos 7 but I need to use the Atomic H= ost variant and swapping out the kernel on that is non-trivial. I was hopin= g using a recent Fedora would solve the kernel compatibility issues.)
=

thank you!
Adam
3D""=E1=90=A7 --001a11431952e277ba05564364d6--