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

Can't see any plugin in NM after install

Open numerys opened this issue 6 years ago • 6 comments

I've installed into Ubuntu 18.04:

sudo apt install autoconf pkg-config libglib2.0-dev libtool intltool libgtk-3-dev libnma-dev libsecret-1-dev libnm-gtk-dev libnm-glib-vpn-dev

Cloned the repo and did:

# git clone https://github.com/max-moser/network-manager-wireguard.git
# cd network-manager-wireguard
# ./autogen.sh
# sudo make sysconfdir=/etc libdir=/usr/lib install

All went fine.

After I restared NM and also restarted the machine.

But a WG vpn-menu is not shown inside NM.

What can I do?

numerys avatar Apr 05 '18 15:04 numerys

What are the contents of the file /etc/NetworkManager/VPN/nm-wireguard-service.name? Can you verify that the files listed in there actually exist on your file system?

Maybe you could try leaving out the libdir=..., making the command simply sudo make sysconfdir=/etc install and see if that changes things.

max-moser avatar Apr 05 '18 18:04 max-moser

@max-moser try cp /etc/NetworkManager/VPN/nm-wireguard-service.name /usr/lib/NetworkManager/VPN/nm-wireguard-service.name, helped me.

alientechnology avatar Apr 19 '18 19:04 alientechnology

Something same in there. It generally works, but only with gnome editor. When I try to connect to the already created connection I get following:

18:39:05 nyanpad plasmashell[1117]: plasma-nm: Checking VPN "wg" type: "org.freedesktop.NetworkManager.wireguard"
18:39:05 nyanpad plasmashell[1117]: plasma-nm: VPN "org.freedesktop.NetworkManager.wireguard" not found, skipping

Doing that cp /etc/... /usr/lib/... command does not help

derlaft avatar Jun 04 '18 15:06 derlaft

Had the same issue on Ubuntu 18.04. Was able to get it working doing sudo make sysconfdir=/etc install and cp /etc/NetworkManager/VPN/nm-wireguard-service.name /usr/lib/NetworkManager/VPN/nm-wireguard-service.name followed by restarting the network-manager service.

TronPaul avatar Sep 19 '18 16:09 TronPaul

Something same in there. It generally works, but only with gnome editor. When I try to connect to the already created connection I get following:

18:39:05 nyanpad plasmashell[1117]: plasma-nm: Checking VPN "wg" type: "org.freedesktop.NetworkManager.wireguard"
18:39:05 nyanpad plasmashell[1117]: plasma-nm: VPN "org.freedesktop.NetworkManager.wireguard" not found, skipping

Doing that cp /etc/... /usr/lib/... command does not help

From looking at your error message, it appears that you are trying to use the KDE interface to NetworkManager (plasma-nm) which is different than NetworkManager itself. A new addon for plasma-nm which allows access to WireGuard VPN connections is currently under development.

Druco avatar Sep 20 '18 03:09 Druco

I'm running Debian Buster/sid and I also had to copy the libraries elsewhere:

cp /usr/lib/NetworkManager/libnm-vpn-plugin-wireguard* /usr/lib/x86_64-linux-gnu/NetworkManager

The .name file was also in /usr/local/lib/NetworkManager/VPN instead of /usr/lib/NetworkManager/VPN even though I said make libdir=/usr/lib

(Edit: Guess I should have said make libdir=/usr/lib/x86_64-linux-gnu, but the .name file probably still wouldn't have ended up at the right place)

AdrianVollmer avatar Mar 24 '19 12:03 AdrianVollmer