You are not logged in.

#1 2018-07-11 07:17:50

yandere
Member
From: /dev/null
Registered: 2017-04-16
Posts: 6
Website

NetworkManager no longer be able to connect to OpenVPN after upgrade

Hi,
My NetworkManager no longer be able to connect to OpenVPN after upgrade to version 1.12.0-1.

NetworkManager 1.12.0-1
NetworkManager Applet - 1.8.14

The log wrote:

 audit: op="connection-activate" uuid="78396cbf-4b53-455c-b234-93c6c8b9905b" name="Express_KR_1" result="fail" reason="Cannot specify device when activating VPN"

configuration file for the VPN:

[connection]
id=Express_KR_1
uuid=78396cbf-4b53-455c-b234-93c6c8b9905b
type=vpn
autoconnect=false
permissions=
timestamp=1531292599

[vpn]
auth=SHA512
ca=/home/xxxxxxxxxxxxxx/.cert/nm-openvpn/my_expressvpn_south_korea_udp-ca.pem
cert=/home/xxxxxxxxxxxxxx/.cert/nm-openvpn/my_expressvpn_south_korea_udp-cert.pem
cert-pass-flags=0
cipher=AES-256-CBC
comp-lzo=adaptive
connection-type=password-tls
fragment-size=1300
key=/home/xxxxxxxxxxxxxx/.cert/nm-openvpn/my_expressvpn_south_korea_udp-key.pem
keysize=256
ns-cert-type=server
password-flags=1
remote=xxxxxxxxxxxxxxxxxxxx:xxxx
remote-random=yes
ta=/home/xxxxxxxxxxxxxxxx/.cert/nm-openvpn/my_expressvpn_south_korea_udp-tls-auth.pem
ta-dir=1
tunnel-mtu=1500
username=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
verify-x509-name=name-prefix:Server
service-type=org.freedesktop.NetworkManager.openvpn

[ipv4]
dns-search=
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto

but however, if i specify "Automatically connnect to VPN" to the VPN server, it connects.

Any idea on how to solve this?

thank you!


Edit: It might be a network-manager-applet problem (https://bugs.debian.org/cgi-bin/bugrepo … bug=903109)

Last edited by yandere (2018-07-11 07:21:57)

Offline

#2 2018-07-11 09:24:06

seiichiro0185
Member
From: Leipzig/Germany
Registered: 2009-04-09
Posts: 223
Website

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

I have the same problem since updating to NM 1.12.0-1. Problem seems to be the nm-applet. You can still activate the VPN using the nmcli command on the commandline:

nmcli connection up <VPN_UUID>

You can list all your connections and their UUIDs with nmcli conncetion

Last edited by seiichiro0185 (2018-07-11 09:24:41)


My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD Raid 1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP

Offline

#3 2018-07-11 10:05:55

IrvineHimself
Member
From: Scotland
Registered: 2016-08-21
Posts: 167

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

I am also having problems establishing a connection to openvpn using nm-applet, however I can still connect to the openvpn  daemon through the terminal with

sudo openvpn /etc/openvpn/client/<yourclient.config>

To restore the  nm-applet functionality, a temporary fix is to revert the most recent update to networkmanager with

sudo pacman -U /var/cache/pacman/pkg/networkmanager-1.10.10-1-x86_64.pkg.tar.xz

This suggests the problem is not nm-applet, but networkmanager (?)
Irvine

edit: corrected spelling mistakes

Last edited by IrvineHimself (2018-07-11 12:08:09)


Et voilà, elle arrive. La pièce, le sous, peut-être qu'il arrive avec vous!

Offline

#4 2018-07-11 11:02:09

seiichiro0185
Member
From: Leipzig/Germany
Registered: 2009-04-09
Posts: 223
Website

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

It seems they introduced some incompatiblity between the versions of NetworkManager and nm-applet currently available in Arch (they do a stricter checking for used parameters in NM 1.12 now). Details also in this NM pull request: https://github.com/NetworkManager/Netwo … r/pull/159


My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD Raid 1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP

Offline

Board footer

Powered by FluxBB