Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Let me save y'all some time, install these dependencies before installing WireGuard #64

Open
ishmumx opened this issue Jan 28, 2020 · 2 comments

Comments

@ishmumx
Copy link

ishmumx commented Jan 28, 2020

If you try to run this script on a vanilla Debian or Ubuntu machine, you'll get errors that wg service is not found. Just run the following before you run the script and you will not face any issues running later:

sudo apt-get install libmnl-dev libelf-dev linux-headers-$(uname -r) build-essential pkg-config lsb-release iptables libmnl-dev libelf-dev linux-headers-$(uname -r) build-essential pkg-config libmnl-dev libelf-dev linux-headers-$(uname -r) build-essential pkg-config -y

@Russkazkin
Copy link

Russkazkin commented Feb 3, 2020

Still not working

Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.3).
libelf-dev is already the newest version (0.168-1).
iptables is already the newest version (1.6.0+snapshot20161117-6).
libmnl-dev is already the newest version (1.0.4-2).
lsb-release is already the newest version (9.20161125).
pkg-config is already the newest version (0.29-4+b1).
linux-headers-4.9.0-11-amd64 is already the newest version (4.9.189-3+deb9u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo systemctl start [email protected]
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xe" for details.

@ishmumx
Copy link
Author

ishmumx commented Feb 4, 2020

Still not working

Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.3).
libelf-dev is already the newest version (0.168-1).
iptables is already the newest version (1.6.0+snapshot20161117-6).
libmnl-dev is already the newest version (1.0.4-2).
lsb-release is already the newest version (9.20161125).
pkg-config is already the newest version (0.29-4+b1).
linux-headers-4.9.0-11-amd64 is already the newest version (4.9.189-3+deb9u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo systemctl start [email protected]
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xe" for details.

Can you run "systemctl status [email protected]" and "journalctl -xe" and tell me what they say? What distro?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants