network-manager-wireguard icon indicating copy to clipboard operation
network-manager-wireguard copied to clipboard

Ubuntu Packages

Open morph027 opened this issue 6 years ago • 9 comments

Thank you for this project! I've started Ubuntu packaging for easy deployment here: https://gitlab.com/packaging/network-manager-wireguard

morph027 avatar Dec 25 '18 07:12 morph027

Can I actually install from this repo?

HarvsG avatar Feb 27 '19 12:02 HarvsG

It's as safe as you trust @max-moser and me ;)

Sure, you can use it, it's just compiling and packagin the code (you can have a look into the .gitlab-ci.yml).

morph027 avatar Feb 27 '19 17:02 morph027

Installed from your repo and doesn't seem to be working. Getting this error when i run the connection editor: ** (nm-connection-editor:8472): WARNING **: 19:47:15.521: vpn: (wireguard,/usr/lib/NetworkManager/VPN/nm-wireguard-service.name) could not load plugin: failed to load nm_vpn_editor_plugin_factory() from /usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-wireguard-editor.so (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-wireguard-editor.so: undefined symbol: nm_vpn_editor_plugin_factory)

Ubuntu 18.10, kernel 5.0

godigi avatar Mar 06 '19 01:03 godigi

Okay, will have a look.

morph027 avatar Mar 06 '19 05:03 morph027

First guess: It's because i'm building bionic only...will check this inside a cosmic vm

morph027 avatar Mar 06 '19 07:03 morph027

Jip: https://github.com/max-moser/network-manager-wireguard/issues/27

morph027 avatar Mar 06 '19 08:03 morph027

Okay, fixed the pipeline, should work now.

morph027 avatar Mar 06 '19 08:03 morph027

Confirmed it works now - thanks!

godigi avatar Mar 06 '19 17:03 godigi

Well, that fixed the error from before, but one last error popped up. When trying to enable the VPN it instantly disables. Error in log:

Could not launch the VPN service. error: Failed to execute child process “/usr/local/libexec/nm-wireguard-service” (No such file or directory).

I did a search and the wireguard service is located at /usr/lib/NetworkManager/nm-wireguard-service . I've tried to find in what config file it's referenced incorrectly, but with no success.. so i just made a symbolic link and it works now.

sudo mkdir /usr/local/libexec/
sudo ln -s /usr/lib/NetworkManager/nm-wireguard-service /usr/local/libexec/nm-wireguard-service

godigi avatar Mar 07 '19 21:03 godigi