Openvpn and NetworkManager in Suse 10.3

Good morning everybody,

I have the problem to get openvpn run with the KNetworkManager of Suse 10.3: I can connect my wlan card to the net without problem. But now I have to build a vpn-connection. If I do this by hand with openvpn using the following configuration file

configuration file /etc/openvpn/Uni-DSL.conf

client
dev tap
proto udp
remote vpn3.uni-dsl.de 1194
cipher AES-128-CBC
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
#ca keys/ca.crt
ca /etc/openvpn/Uni-DSL.crt
ns-cert-type server
verb 3
auth-user-pass
float

everything works fine, too. However, for more convenience, I would now like to achieve the same thing with the openvpn-tool in the knetworkmanager: So I transferred the data of the config file into the openvpn-configuration of knetworkmanager to the best of my knowledge, but failed to obtain a connection: ‘The VPN login failed because the VPN program could not connect to the VPN server.’.

Here the relevant part of the log-file:

/var/log/NetworkManager

Jun 4 08:46:07 localhost NetworkManager: <info> Will activate VPN connection ‘Uni-DSL Aachen’, service ‘org.freedesktop.NetworkManager.openvpn’, user_name ‘junker’, vpn_data ‘connection-type / password / remote / vpn3.uni-dsl.de / port / 1194 / ca / /etc/openvpn/Uni-DSL.crt / cert / / key / / cipher / AES-128-CBC / shared-key / / username / 22038 / local-ip / / remote-ip / / dev / tap / proto / tcp / ta-dir / none’, route ‘’.
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 1 of 4 (Connection Prepare) scheduled…
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 1 of 4 (Connection Prepare) ran VPN service daemon org.freedesktop.NetworkManager.openvpn (PID 3905)
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 1 of 4 (Connection Prepare) complete.
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 2 of 4 (Connection Prepare Wait) scheduled…
Jun 4 08:46:07 localhost NetworkManager: <info> VPN service ‘org.freedesktop.NetworkManager.openvpn’ signaled state change 1 → 6.
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 2 of 4 (Connection Prepare Wait) waiting…
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 2 of 4 (Connection Prepare Wait) complete.
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 3 of 4 (Connect) scheduled…
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 3 of 4 (Connect) sending connect request.
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 3 of 4 (Connect) request sent, waiting for reply…
Jun 4 08:46:07 localhost NetworkManager: <info> VPN service ‘org.freedesktop.NetworkManager.openvpn’ signaled state change 6 → 3.
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 3 of 4 (Connect) reply received.
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 4 of 4 (IP Config Get) timeout scheduled…
Jun 4 08:46:07 localhost NetworkManager: <info> VPN Activation (Uni-DSL Aachen) Stage 3 of 4 (Connect) complete, waiting for IP configuration…
Jun 4 08:46:17 localhost NetworkManager: <WARN> nm_vpn_service_process_signal(): VPN failed for service ‘org.freedesktop.NetworkManager.openvpn’, signal ‘ConnectFailed’, with message ‘The VPN login failed because the VPN program could not connect to the VPN server.’.

It seems that the IP-configuration fails. I played around with the settings, but no success.
Does anyone have a clue what I am doing wrong?
Thanks for any help in advance.
Wolfgang

Hello Wolfgang, have you figured anything out on this? I’ve used OpenVPN extensively but never through knetwork manager. I’m setting it up now to have a look but wondered if maybe you’ve already worked it.

Hi Stephen,

no solution so far! But a confirmation of the problem by someone else, so I it seems I am not just doing something stupid…

Just wondering if this problem was solved yet? Am having the same troubles myself, I can connect on the CLI with the openvpn command, pointing it at my config file. When I transfer the settings from the config file to knetworkmanager, I can’t connect to the VPN.

The problem is still present, I haven’t found any solution!