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 50c48f71 for ; Tue, 8 Aug 2017 22:27:38 +0000 (UTC) Received: from mail-vk0-f52.google.com (mail-vk0-f52.google.com [209.85.213.52]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id bece6211 for ; Tue, 8 Aug 2017 22:27:38 +0000 (UTC) Received: by mail-vk0-f52.google.com with SMTP id u133so19598138vke.3 for ; Tue, 08 Aug 2017 15:49:30 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170808200811.GB7930@wolff.to> References: <20170808200811.GB7930@wolff.to> From: adam souzis Date: Tue, 8 Aug 2017 15:49:29 -0700 Message-ID: Subject: Re: trouble installing on Fedora and CentOS To: Bruno Wolff III Content-Type: multipart/alternative; boundary="001a1143b43eba7b05055645c6ed" Cc: wireguard@lists.zx2c4.com List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --001a1143b43eba7b05055645c6ed Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable OK, you inspired me to try harder to build it from source -- turns out on both fedora 25 and 26 `uname -r` doesn't match the kernel src installed by kernel-devel, once I fixed that it builds and installs and appears to work. thanks! Adam =E1=90=A7 On Tue, Aug 8, 2017 at 1:08 PM, Bruno Wolff III wrote: > On Tue, Aug 08, 2017 at 12:58:58 -0700, > adam souzis wrote: > >> >> 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. >> > > I run it on rawhide (Fedora 27 effectivel) by building from source. > > I have a local clone of the git repo and do the following: > cd WireGuard/src > make clean all > su > make install > > That installs the kernel module in the running kernel. You'll need > kernel-devel installed and maybe kernel-headers. If you are updating the > module, you will want to stop wireguard and use rmmod wireguard to remove > the existing module, so the new one will get loaded (or reboot the system= ). > --001a1143b43eba7b05055645c6ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
OK, you inspired me to try harder to build it from source = -- turns out on both fedora 25 and 26 `uname -r` doesn't match the kern= el src installed by kernel-devel, once I fixed that it builds and installs = and appears to work.

thanks!
Adam
<= div hspace=3D"streak-pt-mark" style=3D"max-height:1px">3D""=E1=90=A7

On Tue, Aug 8, 2017 at 1:08 PM, Bruno Wolff III <= ;bruno@wolff.to>= wrote:
On Tue, A= ug 08, 2017 at 12:58:58 -0700,
=C2=A0adam souzis <= adam@souzis.com> wrote:

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<= br> installing the kernel module properly.

I run it on rawhide (Fedora 27 effectivel) by building from source.

I have a local clone of the git repo and do the following:
cd WireGuard/src
make clean all
su
make install

That installs the kernel module in the running kernel. You'll need kern= el-devel installed and maybe kernel-headers. If you are updating the module= , you will want to stop wireguard and use rmmod wireguard to remove the exi= sting module, so the new one will get loaded (or reboot the system).

--001a1143b43eba7b05055645c6ed--