Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I used network-manager-pptp to configure the vpn. But always I get the same message when i try to connect to the vpn: connection failed. In the sys log I have:

<info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 3042
May 23 22:17:42 NR5 NetworkManager[983]: <info> VPN service 'pptp' appeared; activating connections
May 23 22:17:42 NR5 NetworkManager[983]: <info> VPN plugin state changed: init (1)
May 23 22:17:42 NR5 NetworkManager[983]: <info> VPN plugin state changed: starting (3)
May 23 22:17:42 NR5 NetworkManager[983]: <info> VPN connection 'VPN NAME' (Connect) reply received.
May 23 22:17:42 NR5 NetworkManager[983]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
May 23 22:17:42 NR5 NetworkManager[983]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
May 23 22:17:47 NR5 NetworkManager[983]: <info> (eth0): IP6 addrconf timed out or failed.
May 23 22:17:47 NR5 NetworkManager[983]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
May 23 22:17:47 NR5 NetworkManager[983]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
May 23 22:17:47 NR5 NetworkManager[983]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
May 23 22:18:13 NR5 NetworkManager[983]: <warn> VPN plugin failed: 1
May 23 22:18:14 NR5 NetworkManager[983]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
May 23 22:18:14 NR5 NetworkManager[983]: <warn> VPN plugin failed: 1
May 23 22:18:14 NR5 NetworkManager[983]: <warn> VPN plugin failed: 1
May 23 22:18:14 NR5 NetworkManager[983]: <info> VPN plugin state changed: stopped (6)
May 23 22:18:14 NR5 NetworkManager[983]: <info> VPN plugin state change reason: 0
May 23 22:18:14 NR5 NetworkManager[983]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.

Before I started the vpn connection, the routing table looks:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0

After I tried to start vpn, the ip-address X.X.X.X from the vpn server was added to the routing table:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
X.X.X.X         192.168.1.1     255.255.255.255 UGH   0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0

Also the same VPN-Connection works on the same machine under Windows without problem.

If you have some suggestions, I would be happy to here them. Thank you a lot.

share|improve this question

marked as duplicate by Eric Carvalho, user68186, Thomas W., Uri Herrera, Basharat Sialvi May 26 '13 at 2:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Could it be a broken IPv6 configuration? Like it tries establishing the VPN connection via v6 and fails? –  kynan Jun 14 '12 at 22:09

1 Answer 1

VPN connection in Ubuntu

Go to network manager > VPN Connection > Configure VPN > Add VPN

enter image description here

  1. Name VPN Connection ( Any Name )

  2. Gateway : You ip address of pptp server Or FDDN ( Fully Qualified Domain Name )

  3. User Name

  4. Password

  5. Click on Advanced

enter image description here

Click on " Use point to point encryption " Click OK & Save

Now open terminal

 tail -f /var/log/syslog

And just connect to VPN & check your logs.

How To Debug and Fix PPTP/VPN Client Connection

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.