All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Sattler <sattler@med.uni-frankfurt.de>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: unable to set allowed-ips
Date: Fri, 24 Mar 2017 12:37:17 +0100	[thread overview]
Message-ID: <ca2e540c-670e-650c-1b4b-bae0ab51218c@med.uni-frankfurt.de> (raw)
In-Reply-To: <CAHmME9oiBaUets1JUp5SVP41XdPd04zJYuiN24QuqYsUttCqcA@mail.gmail.com>

Am 24.03.2017 um 02:15 schrieb Jason A. Donenfeld:
> Be sure userland wg(8) is built from the same source as kernel
> land wireguard module.

I'm not sure whether I understood that comment, but in case I did:
I cloned  https://git.zx2c4.com/WireGuard  and then run these two
commands:

  $ cd /usr/src/WireGuard/src/tools && make

and

  $ cd /usr/src/linux && 
/usr/src/WireGuard/contrib/kernel-tree/create-patch.sh | patch -sp1

The obvious difference seems to be that I used different compilers for
them:

  - sys-devel/gcc-4.9.4 for wg(8) and
  - cross-x86_64-pc-linux-gnu/gcc-4.9.4 for the kernel

Just in case the compiler is not the cause: Maybe my kernel config is
the problem? While I double checked to have everything activated that
was mentioned at https://www.wireguard.io/install (except IPv6 stuff)
there might be some other feature I have unset or set incompatible?

Thomas

      reply	other threads:[~2017-03-24 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-23 22:39 unable to set allowed-ips Thomas Sattler
2017-03-24  1:15 ` Jason A. Donenfeld
2017-03-24 11:37   ` Thomas Sattler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ca2e540c-670e-650c-1b4b-bae0ab51218c@med.uni-frankfurt.de \
    --to=sattler@med.uni-frankfurt.de \
    --cc=Jason@zx2c4.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.