Code Monkey home page Code Monkey logo

Comments (8)

randshell avatar randshell commented on July 17, 2024 1

Github saves previous comments where you pasted your IP. You may want to delete them https://help.github.com/en/enterprise/2.19/user/github/building-a-strong-community/tracking-changes-in-a-comment

from wireguard-install.

Archerious avatar Archerious commented on July 17, 2024 1

That fixed it! :)

You're the best Angristan, thanks again for your hard work wireguard is fantastic, faster than openvpn.

from wireguard-install.

angristan avatar angristan commented on July 17, 2024

Consult /var/lib/dkms/wireguard/1.0.20200413/build/make.log for more information.

Could we see those?

from wireguard-install.

Archerious avatar Archerious commented on July 17, 2024

Consult /var/lib/dkms/wireguard/1.0.20200413/build/make.log for more information.

Could we see those?

It's showing as empty, let me try installing again.

from wireguard-install.

Archerious avatar Archerious commented on July 17, 2024
[](# ./wireguard-install.sh
IPv4 or IPv6 public address:  xxxxxxxxxxx
Public interface: ens3
WireGuard interface name: wg0
Server's WireGuard IPv4: 10.66.66.1
Server's WireGuard IPv6: fd42:42:42::1
Server's WireGuard port: 61941
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:4 http://deb.debian.org/debian unstable InRelease [146 kB]
Get:5 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [27.9                                kB]
Get:6 http://deb.debian.org/debian unstable/main Translation-en.diff/Index [27.9                                kB]
Get:7 http://deb.debian.org/debian unstable/main amd64 Packages 2020-04-22-0801.                               14.pdiff [10.5 kB]
Get:8 http://deb.debian.org/debian unstable/main amd64 Packages 2020-04-22-1402.                               51.pdiff [19.0 kB]
Get:9 http://deb.debian.org/debian unstable/main amd64 Packages 2020-04-22-2002.                               10.pdiff [18.5 kB]
Get:10 http://deb.debian.org/debian unstable/main amd64 Packages 2020-04-23-0201                               .18.pdiff [7322 B]
Get:10 http://deb.debian.org/debian unstable/main amd64 Packages 2020-04-23-0201                               .18.pdiff [7322 B]
Get:11 http://deb.debian.org/debian unstable/main Translation-en 2020-04-22-0801                               .14.pdiff [1740 B]
Get:12 http://deb.debian.org/debian unstable/main Translation-en 2020-04-22-2002                               .10.pdiff [3261 B]
Get:13 http://deb.debian.org/debian unstable/main Translation-en 2020-04-23-0201                               .18.pdiff [1065 B]
Get:13 http://deb.debian.org/debian unstable/main Translation-en 2020-04-23-0201                               .18.pdiff [1065 B]
Fetched 313 kB in 6s (51.5 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-4.19.0-8-amd64 is already the newest version (4.19.98-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
iptables is already the newest version (1.8.2-4).
qrencode is already the newest version (4.0.2-1).
resolvconf is already the newest version (1.79).
The following additional packages will be installed:
  dkms linux-headers-amd64 wireguard-dkms wireguard-tools
Suggested packages:
  python3-apport menu
The following NEW packages will be installed:
  dkms linux-headers-amd64 wireguard wireguard-dkms wireguard-tools
0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/426 kB of archives.
After this operation, 2396 kB of additional disk space will be used.
Selecting previously unselected package dkms.
(Reading database ... 56095 files and directories currently installed.)
Preparing to unpack .../archives/dkms_2.6.1-4_all.deb ...
Unpacking dkms (2.6.1-4) ...
Selecting previously unselected package linux-headers-amd64.
Preparing to unpack .../linux-headers-amd64_4.19+105+deb10u3_amd64.deb ...
Unpacking linux-headers-amd64 (4.19+105+deb10u3) ...
Selecting previously unselected package wireguard-dkms.
Preparing to unpack .../wireguard-dkms_1.0.20200413-2_all.deb ...
Unpacking wireguard-dkms (1.0.20200413-2) ...
Selecting previously unselected package wireguard-tools.
Preparing to unpack .../wireguard-tools_1.0.20200319-1_amd64.deb ...
Unpacking wireguard-tools (1.0.20200319-1) ...
Selecting previously unselected package wireguard.
Preparing to unpack .../wireguard_1.0.20200319-1_all.deb ...
Unpacking wireguard (1.0.20200319-1) ...
Setting up linux-headers-amd64 (4.19+105+deb10u3) ...
Setting up dkms (2.6.1-4) ...
Setting up wireguard-dkms (1.0.20200413-2) ...
Loading new wireguard-1.0.20200413 DKMS files...
Building for 4.19.0-8-amd64
Building initial module for 4.19.0-8-amd64
Error! Bad return status for module build on kernel: 4.19.0-8-amd64 (x86_64)
Consult /var/lib/dkms/wireguard/1.0.20200413/build/make.log for more information                               .
dpkg: error processing package wireguard-dkms (--configure):
 installed wireguard-dkms package post-installation script subprocess returned e                               rror exit status 10
Setting up wireguard-tools (1.0.20200319-1) ...
dpkg: dependency problems prevent configuration of wireguard:
 wireguard depends on wireguard-dkms (>= 0.0.20200121-2) | wireguard-modules (>=                                0.0.20191219); however:
  Package wireguard-dkms is not configured yet.
  Package wireguard-modules is not installed.

dpkg: error processing package wireguard (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.5-2) ...
Errors were encountered while processing:
 wireguard-dkms
 wireguard
E: Sub-process /usr/bin/dpkg returned an error code (1)
* Applying /etc/sysctl.d/20-openvpn.conf ...
net.ipv4.ip_forward = 1
* Applying /etc/sysctl.d/99-sysctl.conf ...
* Applying /etc/sysctl.d/protect-links.conf ...
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
* Applying /etc/sysctl.d/wg.conf ...
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
* Applying /etc/sysctl.conf ...
Failed to start [email protected]: Unit [email protected] not found.
IPv4 Detected
Client's WireGuard IPv4 10.66.66.2
Client's WireGuard IPv6 fd42:42:42::2
First DNS resolver to use for the client: 1.1.1.1
Second DNS resolver to use for the client: 8.8.8.8
Job for [email protected] failed because the control process exited with erro                               r code.
See "systemctl status [email protected]" and "journalctl -xe" for details.

Here is your client config file as a QR Code:
)

from wireguard-install.

Archerious avatar Archerious commented on July 17, 2024

Consult /var/lib/dkms/wireguard/1.0.20200413/build/make.log for more information.

Could we see those?

# cat /var/lib/dkms/wireguard/1.0.20200413/build/make.log
DKMS make.log for wireguard-1.0.20200413 for kernel 4.19.0-8-amd64 (x86_64)
Thu Apr 23 00:37:58 CDT 2020
make: Entering directory '/usr/src/linux-headers-4.19.0-8-amd64'
/bin/sh: 1: bc: not found
/var/lib/dkms/wireguard/1.0.20200413/build/compat/Kbuild.include:58: *** bc(1) is required for building.  Stop.
make[2]: *** [/usr/src/linux-headers-4.19.0-8-common/Makefile:1537: _module_/var/lib/dkms/wireguard/1.0.20200413/build] Error 2
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.19.0-8-amd64'

from wireguard-install.

angristan avatar angristan commented on July 17, 2024

Can you try again after a apt install bc?

from wireguard-install.

angristan avatar angristan commented on July 17, 2024

I think it's a bug in the Debian packaging https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956869

from wireguard-install.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.