Announcement

Collapse
No announcement yet.

Can't connect to VPN [pptp]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't connect to VPN [pptp]

    Hello!

    I'm trying to setup VPN on my Kubuntu 14.04 but it doesn't seem to be working.
    I've already set it up on my android phone without problem.

    I'm trying to set i up with the default connection manager (connection manager -> add -> pptp) using default settings + mppe
    I'm 100% sure the gateway, usename, and password is correct (as i can connect with my phone).

    In the notification manager I get:
    Code:
    Active connection state changed
    Missing VPN plugin
    VPN connection state changed
    Device failed to activate
    In the syslog I get:
    Code:
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <info> Starting VPN service 'pptp'...
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 9811
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <info> VPN service 'pptp' appeared; activating connections
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <info> VPN plugin state changed: starting (3)
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <info> VPN connection 'VPN PPTP' (Connect) reply received.
    Nov 16 11:51:45 eric-linux pppd[9812]: Plugin /usr/lib/pppd/2.4.5/nm-pptp-pppd-plugin.so loaded.
    Nov 16 11:51:45 eric-linux pppd[9812]: pppd 2.4.5 started by root, uid 0
    Nov 16 11:51:45 eric-linux pppd[9812]: Using interface ppp0
    Nov 16 11:51:45 eric-linux pppd[9812]: Connect: ppp0 <--> /dev/pts/1
    Nov 16 11:51:45 eric-linux NetworkManager[812]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
    Nov 16 11:51:45 eric-linux NetworkManager[812]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...
    Nov 16 11:51:45 eric-linux pptp[9816]: nm-pptp-service-9811 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
    Nov 16 11:51:45 eric-linux pptp[9819]: nm-pptp-service-9811 warn[open_inetsock:pptp_callmgr.c:329]: connect: Connection refused
    Nov 16 11:51:45 eric-linux pptp[9819]: nm-pptp-service-9811 fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 176.10.248.226
    Nov 16 11:51:45 eric-linux pptp[9816]: nm-pptp-service-9811 fatal[open_callmgr:pptp.c:487]: Call manager exited with error 256
    Nov 16 11:51:45 eric-linux pppd[9812]: Modem hangup
    Nov 16 11:51:45 eric-linux pppd[9812]: Connection terminated.
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <warn> VPN plugin failed: 1
    Nov 16 11:51:45 eric-linux NetworkManager[812]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
    Nov 16 11:51:45 eric-linux pppd[9812]: Exit.
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <warn> VPN plugin failed: 1
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <warn> VPN plugin failed: 1
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <info> VPN plugin state changed: stopped (6)
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <info> VPN plugin state change reason: 0
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS.
    Nov 16 11:51:45 eric-linux NetworkManager[812]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
    Nov 16 11:51:50 eric-linux NetworkManager[812]: <info> VPN service 'pptp' disappeared

    Some guide told me to "sudo modprobe ppp_mppe" but it did nothing.
    I also did "sudo apt-get install pptp-linux" but it was already the latest version.


    There seems to be a lot of warnings about some VPN plugin.
    Is there something I need to install to get VPN to work?

    #2
    Code:
    The synchronous pptp option is NOT activated
    Turns out, I can only connect 1 device at the time. When I disconnected my phone I could connect with linux.
    My VPN said I could use 3 connections but it doesn't seem to active yet.

    Comment


      #3
      Do you only have the option of PPTP? I wrote a tutorial for the OpenVPN way a few weeks ago:

      https://samhobbs.co.uk/2014/10/priva...04-trusty-tahr

      Sam
      Last edited by SteveRiley; Nov 20, 2014, 01:35 AM.
      samhobbs.co.uk

      Comment


        #4
        No I actually found the certs for openvpn after some digging.
        So now I can run openvpn on my desktop and pptp on my phone.

        Comment


          #5
          Nice

          There's also a GPL application for Android called "OpenVPN for Android" you could use if you wanted to use OpenVPN there too.
          Last edited by SteveRiley; Nov 20, 2014, 01:36 AM.
          samhobbs.co.uk

          Comment

          Working...
          X