From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73FD4C43381 for ; Fri, 22 Feb 2019 12:35:40 +0000 (UTC) Received: from krantz.zx2c4.com (krantz.zx2c4.com [192.95.5.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7CB6B2075A for ; Fri, 22 Feb 2019 12:35:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="RI2CZctZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7CB6B2075A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=posteo.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=wireguard-bounces@lists.zx2c4.com Received: from krantz.zx2c4.com (localhost [IPv6:::1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 6db2d20b; Fri, 22 Feb 2019 12:26:42 +0000 (UTC) Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id e92b8237 for ; Fri, 22 Feb 2019 12:26:40 +0000 (UTC) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id dddccf95 for ; Fri, 22 Feb 2019 12:26:39 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 029402400E5 for ; Fri, 22 Feb 2019 13:35:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1550838934; bh=gXh1/KlmHHMFx0vGzet+wGv7aax25qfTUbZli5FWUP8=; h=Subject:To:From:Openpgp:Autocrypt:Date:From; b=RI2CZctZ3aEsDtXx0rWK3bh9Y/S9xWxP2QC1ODKn0oFpxDbCjLSYVujEDSC/ZfpwV HgmgTTZrGf+IgMY92cgxltwAkZhzwYddLR/Gh0FEgXTxL8Olo2ZfojMrcxpwnkJd7v XcrqeUqxYDpe1np9fhFwPJH/Cnz4PLd0jn1PimoueTwHUSgXHC0UIsko3v+odGnhcu PaHEd9Clm9RpticGpOFAes7/lXNmRwEv2nNAp3lEDgLP6GmLb7uPzC3RBONtlEVnQ+ tjlfRCzKQq+P6KLsSnH4Q+2FXSKXzVw5S6ZtCOVjb49JUau8TSTRuuz9PABwu6Sue8 oPCio7e0UfiiA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 445W5d02H2z9rxZ for ; Fri, 22 Feb 2019 13:35:32 +0100 (CET) Subject: Re: upgrading raspberry pi required me to re install wireguard To: wireguard@lists.zx2c4.com References: <9e6f49da-bf09-ab90-dba7-ac5587863a31@pallas.us> From: Emanuele Bernardi Openpgp: preference=signencrypt Autocrypt: addr=e.berna@posteo.net; prefer-encrypt=mutual; keydata= mQINBFkZxFkBEADJXOtgcBTqKx5Nz8/54fMAzBrg9Rsvf0TKzAFTEUf4+EI3NLVTyyvEvk93 qCY2bgqcFzAC7NLiEVyRU5aS8X95k3R+vdw51iGyTB69H1gGQFyy02nnuswSe9jiuOBhMgmu JSgFJS01I8kIWXjPJcgB5ibTXh5VqIB4AU/8mKTwfkmHmNFwoVD5b5Ax41SLCIYk44rfWv78 KiIagweR8ep9Yp5H/KQ3LjyfMA7uuK3twVz8GdtBbb+jdMbgXbHG2xS72uRq8dUIMXSleXJq P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6FfeRLe/b11J25JRQb6Zxst5q4z5rTeyMhFcFqqU+rnB tEBSqrzfGFubHJ7Q6RlN+bc7f99pYFl7bMFFMCkSuK4SlZgFYflY43JOxrmhVmwgPagxMhMP OtGLTC9J68nWAqRuPJ5w141DOXpUDpAwBlrjc6ZJwcYKxTH9rhl76CgTfR9nCTi5MhPUPtUD cjY9rGfbrF4YITG6EFU7wrpdx8El1iyQyDynpGl3FirkZc68yvBAopEr4o0y1sIEqQZle46X t4YJvA9okduqWyzFglvxl67rYs4dMx+QnwXa2uofqtGaw3YX47Go69PhHUbn0AnzSZLhcsPA wJc7+87zwAJIq+iXu8wHPnGwWBsEEf2eXuM+KCQU/owg1HHkpK8hgPZwToE0sJBU9BqH5ol3 UNPY9QVeblqjTkAkK/uQfs9tbOmsJKmMcERuKyEIgvopqTyjBZOXYvUWr1BpzUQyNhEL1w0X E8MhXvrHtT1cM8TpbHLcnXJX6qIBdhdXAx9jd98aXRXzK4S2F6GJay+6RUR9j+VZUe6vvrLz g98pFdl4uaGUR8Oqx6ZK8iIAbhd+El07PoWEhJihf7opNtGbJJw/oc7ZSLoPL9xJifvQlmB6 VBvGzk7Uj32uf6OP8ioA6vR3cwn001XbpEhQFhE+0ngo Message-ID: <62f9f029-605b-f2a5-5388-658233c2a72b@posteo.net> Date: Fri, 22 Feb 2019 13:35:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <9e6f49da-bf09-ab90-dba7-ac5587863a31@pallas.us> Content-Language: en-US X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1161328627956469906==" Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" This is a multi-part message in MIME format. --===============1161328627956469906== Content-Type: multipart/alternative; boundary="------------CA6ADCEC98726CDCD997E865" Content-Language: en-US This is a multi-part message in MIME format. --------------CA6ADCEC98726CDCD997E865 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit I'm very interesting about make it work with dkms, could you please explain the process? thanks Emanuele On 22/02/19 00:29, Derrick Lyndon Pallas wrote: > > I just use DKMS to do it. Check out WireGuard to /usr/src, ln -s > WireGuard/src WireGuard-0, dkms add WireGuard/0. If it's not auto > building, have you tried dkms install WireGuard/0? ~D > > > On 2/21/19 2:57 PM, Arpit Gupta wrote: >> Ya reboot did not solve this for me. I will read up on how I can >> execute package pre/post install scripts. >> >> Curious to know if the rebuild the module is the responsibility of >> the os or the package after a kernel upgrade? >> >> I will try to remember this next time there is a kernel upgrade 😁. >> >> >> -- >> Arpit >> >> On Thu, Feb 21, 2019, 4:30 AM > > wrote: >> >> Yes, the kernel did get updated, causing the wg module >> dependencies to get out of sync. A reboot after the update should >> solve this, otherwise you may need to run the package's preinst >> script to get the modules back in sync. Should be no need to >> reinstall the wg packages. >> >> On Thu, Feb 21, 2019, at 2:14 AM, Arpit Gupta wrote: >>> Hi All >>> >>> I am running raspberry pi v3 and ran apt-get update and upgrade >>> commands to get upto date. It also ended up updating the kernel >>> i think. I should have paid more attention to what all was >>> getting updated. >>> >>> After the update wireguard was not running and upon debugging i >>> found that the wireguard kernel module was no longer present. So >>> i uninstalled all wireguard packages and installed them again >>> and the module showed up and on reboot system was back to >>> normal. What i was curious was how should one go about doing >>> os/kernel updates in future in order to avoid this issue? >>> >>> I am running >>> Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT >>> 2019 armv7l GNU/Linux >>> No LSB modules are available. >>> Distributor ID:Raspbian >>> Description:Raspbian GNU/Linux 9.8 (stretch) >>> Release:9.8 >>> Codename:stretch >>> >>> ii  wireguard                       0.0.20190123-1              >>>  all          fast, modern, secure kernel VPN tunnel (metapackage) >>> ii  wireguard-dkms                  0.0.20190123-1              >>>  all          fast, modern, secure kernel VPN tunnel (DKMS version) >>> ii  wireguard-tools                 0.0.20190123-1              >>>  armhf        fast, modern, secure kernel VPN tunnel (userland >>> utilities) >>> >>> -- >>> Arpit >>> _______________________________________________ >>> WireGuard mailing list >>> WireGuard@lists.zx2c4.com >>> https://lists.zx2c4.com/mailman/listinfo/wireguard >>> >> >> _______________________________________________ >> WireGuard mailing list >> WireGuard@lists.zx2c4.com >> https://lists.zx2c4.com/mailman/listinfo/wireguard >> >> >> _______________________________________________ >> WireGuard mailing list >> WireGuard@lists.zx2c4.com >> https://lists.zx2c4.com/mailman/listinfo/wireguard > > _______________________________________________ > WireGuard mailing list > WireGuard@lists.zx2c4.com > https://lists.zx2c4.com/mailman/listinfo/wireguard --------------CA6ADCEC98726CDCD997E865 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit I'm very interesting about make it work with dkms, could you please explain the process? thanks
Emanuele

On 22/02/19 00:29, Derrick Lyndon Pallas wrote:

I just use DKMS to do it. Check out WireGuard to /usr/src, ln -s WireGuard/src WireGuard-0, dkms add WireGuard/0. If it's not auto building, have you tried dkms install WireGuard/0? ~D


On 2/21/19 2:57 PM, Arpit Gupta wrote:
Ya reboot did not solve this for me. I will read up on how I can execute package pre/post install scripts.

Curious to know if the rebuild the module is the responsibility of the os or the package after a kernel upgrade?

I will try to remember this next time there is a kernel upgrade 😁.


--
Arpit

On Thu, Feb 21, 2019, 4:30 AM <logcabin@fastmail.net> wrote:
Yes, the kernel did get updated, causing the wg module dependencies to get out of sync. A reboot after the update should solve this, otherwise you may need to run the package's preinst script to get the modules back in sync. Should be no need to reinstall the wg packages.

On Thu, Feb 21, 2019, at 2:14 AM, Arpit Gupta wrote:
Hi All

I am running raspberry pi v3 and ran apt-get update and upgrade commands to get upto date. It also ended up updating the kernel i think. I should have paid more attention to what all was getting updated.

After the update wireguard was not running and upon debugging i found that the wireguard kernel module was no longer present. So i uninstalled all wireguard packages and installed them again and the module showed up and on reboot system was back to normal. What i was curious was how should one go about doing os/kernel updates in future in order to avoid this issue?

I am running
Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.8 (stretch)
Release: 9.8
Codename: stretch

ii  wireguard                       0.0.20190123-1               all          fast, modern, secure kernel VPN tunnel (metapackage)
ii  wireguard-dkms                  0.0.20190123-1               all          fast, modern, secure kernel VPN tunnel (DKMS version)
ii  wireguard-tools                 0.0.20190123-1               armhf        fast, modern, secure kernel VPN tunnel (userland utilities)

--
Arpit
_______________________________________________
WireGuard mailing list


_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

--------------CA6ADCEC98726CDCD997E865-- --===============1161328627956469906== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/wireguard --===============1161328627956469906==--