Helmut Schaa wrote:
Hi,
Am Sonntag, 11. November 2007 03:08:18 schrieb James Knott:
Does KNetworkManager actually work with OpenVPN. I've installed the OpenVPN part of KnetworkManager and trying everything I can think of, I cannot get it to connect. I get an error message:
"VPN Connect Failure Could not start the VPN connection 'Home' because the VPN server did not return an adequate network configuration. The VPN login failed because the VPN program received an invalid configuration from the VPN server."
Please post the appropriate part of your NetworkManager-log (/var/log/NetworkManager). I assume some options are not correct.
I can, however, start the VPN manually and get access to my home network, so the VPN does work. I assume the "Gateway" refers to the IP address of my firewall, where the other end of the VPN terminates, the local IP refers to my notebook computer and remote IP refers to the firewall ends of the tunnel. I have even tried reversing the local and remote IP's. I use the same static key as when I set it up manually.
tnx jk
Regards, Helmut
Here it is. Nov 12 10:45:04 thinkpad NetworkManager: <debug> [1194882304.307554] nm_dbus_signal_filter(): NetworkManagerInfo triggered update of VPN connection 'Home' Nov 12 10:45:04 thinkpad NetworkManager: <debug> [1194882304.308474] nm_dbus_signal_filter(): NetworkManagerInfo triggered update of VPN connection 'Remote' Nov 12 10:45:06 thinkpad NetworkManager: <debug> [1194882306.152827] nm_dbus_signal_filter(): NetworkManagerInfo triggered update of VPN connection 'Home' Nov 12 10:45:06 thinkpad NetworkManager: <debug> [1194882306.154246] nm_dbus_signal_filter(): NetworkManagerInfo triggered update of VPN connection 'Remote' Nov 12 10:45:12 thinkpad NetworkManager: <info> Will activate VPN connection 'Remote', service 'org.freedesktop.NetworkManager.openvpn', user_name 'jknott', vpn_data 'connection-type / shared-key / remote / home.jknott.net / ca / / cert / / key / / shared-key / /etc/openvpn/static.key / username / / local-ip / 10.1.0.2 / remote-ip / 10.1.0.1 / dev / tun / proto / udp / ta-dir / none', route ''. Nov 12 10:45:12 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 1 of 4 (Connection Prepare) scheduled... Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 1 of 4 (Connection Prepare) ran VPN service daemon org.freedesktop.NetworkManager.openvpn (PID 4344) Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 1 of 4 (Connection Prepare) complete. Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 2 of 4 (Connection Prepare Wait) scheduled... Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' signaled state change 1 -> 6. Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 2 of 4 (Connection Prepare Wait) waiting... Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 2 of 4 (Connection Prepare Wait) complete. Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 3 of 4 (Connect) scheduled... Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 3 of 4 (Connect) sending connect request. Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 3 of 4 (Connect) request sent, waiting for reply... Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' signaled state change 6 -> 3. Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 3 of 4 (Connect) reply received. Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 4 of 4 (IP Config Get) timeout scheduled... Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN Activation (Remote) Stage 3 of 4 (Connect) complete, waiting for IP configuration... Nov 12 10:45:13 thinkpad NetworkManager: <WARN> nm_vpn_service_process_signal(): VPN failed for service 'org.freedesktop.NetworkManager.openvpn', signal 'IPConfigBad', with message 'The VPN login failed because the VPN program received an invalid configuration from the VPN server.'. Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' signaled state change 3 -> 5. Nov 12 10:45:13 thinkpad NetworkManager: <WARN> nm_vpn_service_stop_connection(): (VPN Service org.freedesktop.NetworkManager.openvpn): could not stop connection 'Remote' because service was 5. Nov 12 10:45:13 thinkpad NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' signaled state change 5 -> 6. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org