network-manager-wireguard
network-manager-wireguard copied to clipboard
error when trying to connect: failed to look up VPN interface index
Jan 16 21:24:53 x NetworkManager[822]: <error> [1642397093.1688] vpn-connection[0x55b2ec100740,6a149415-973d-44d1-90e5-8a21426b5d0c,"wg2",0:(wg2)]: failed to look up VPN interface index for "wg2"
Jan 16 21:24:53 x NetworkManager[822]: <warn> [1642397093.1688] vpn-connection[0x55b2ec100740,6a149415-973d-44d1-90e5-8a21426b5d0c,"wg2",0]: VPN connection: did not receive valid IP config information
Detailed description: https://bbs.archlinux.org/viewtopic.php?pid=2024327
I think that problem is in *.nmconnection file format. networkmanager-wireguard plugin uses it's own format, different from format used by NetworkManager as default.
NetworkManager related issue: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/938
Downgrading from networkmanager-1.36.0-1 to networkmanager-1.34.0-1.
Using native NetworkManager wireguard as proposed in the NetworkManager breaks the Gnome GUI
Can confirm that upgrading to the networkmanager-1.36.0-1 breaks the usage of this plugin.
Although downgrading to networkmanager-1.34.0-1 fixed the issue for me.
Same issue here.
I'm running Arch Linux with networkmanager-1.36.2-1 , when I try to establish the connection via GUI drop down menu, it fails to connect. I checked syslogs and saw this error kept popping up.
config: no VPN gateway address received
did not receive valid IP config information
I can confirm that downgrading to networkmanager-1.34.0.1 has fixed the issue.
I hope this package can be updated to use NetworkManager's new native wireguard configuration, a GUI method of connecting to my VPN is much more convenient on my laptop.
IMHO: better to patch gnome-shell with upstream !1995
You can't edit connections in the GUI, but how often does one do this anyway?