X-Original-To: alpine-user@lists.alpinelinux.org Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by lists.alpinelinux.org (Postfix) with ESMTP id 72D3F5C0062 for ; Wed, 7 Feb 2018 01:46:28 +0000 (GMT) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 214059E2514; Wed, 7 Feb 2018 01:46:28 +0000 (GMT) Received: from ncopa-macbook.copa.dup.pw (187-40-174-115.user.veloxzone.com.br [187.40.174.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 4D28C9E2511; Wed, 7 Feb 2018 01:46:26 +0000 (GMT) Date: Wed, 7 Feb 2018 02:46:18 +0100 From: Natanael Copa To: Andrew Stuart Cc: alpine-user@lists.alpinelinux.org Subject: Re: [alpine-user] Trying to get Wireguard to work Message-ID: <20180207024618.4de4f9ed@ncopa-macbook.copa.dup.pw> In-Reply-To: References: <20180206233942.319392c8@ncopa-macbook.copa.dup.pw> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-alpine-linux-musl) X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 7 Feb 2018 10:03:25 +1100 Andrew Stuart wrote: > >>> You need a running kernel from edge. =20 >=20 > I=E2=80=99m a noob with Alpine. Can you point me in the right direction = of > how to do that? I am currently using a kernel and initramfs from ISO > on the Alpine downloads page=E2=80=A6. do you mean that these kernels not > have the required drivers in them for wireguard? Correct. wireguard drivers were considered "unstable" at the time we cut the v3.7 release so they are only available via edge/testing repo which means you need to run the kernel from edge/main repo. > I am booting Alpine in a run-from-ram configuration, loaded purely > from the kernel and initramfs. I am guessing you are saying I need to > install new kernel drivers=E2=80=A6. does that work in a pure run from ram > config? The simplest thing to do would be to make a traditional disk install, and upgrade this to edge (in theory you can run setup-alpine, and select "none" for disk, edit /etc/apk/repository and change all 'v3.7' to 'edge', and then run `setup-disk`, and then select the disk you want install it to. If your run-from-ram boot media is writable (disk of some sort), then you should be able to edit /etc/apk/repository (change to 'edge') and then run update-kernel to recreate the boot/ directory of your boot media, with the latest kernel. You also need to include the wireguard-vanilla driver in the boot/modloop-vanilla loopback file. I=20 > >> The version of linux-vanilla and wireguard-vanilla must > >> correspond. =20 >=20 > How can I check that I am running corresponding versions? `uname -a` will tell you the running kernel version. `apk search wireguard-vanilla` will tell you the version of the kernel driver. -nc --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---