← Back to team overview

touch-packages team mailing list archive

[Bug 991666] Re: VPN Connects Successfully & Then Shortly Thereafter Fails

 

I had two problem with my pptp vpn connection on ubuntu 14.04 with 3.19
Kernel.

first it wont connect at all and i solved that with this command:

sudo modprobe nf_conntrack_pptp nf_conntrack_proto_gre

second my vpn connection gets disconnected after a few second (usually with first packets transmit)  and i solved that with my vpn setting's on network manager:
IPv4 Setting tab -> Routers ->  checked both check boxes there.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/991666

Title:
  VPN Connects Successfully & Then Shortly Thereafter Fails

Status in network-manager-pptp:
  New
Status in network-manager package in Ubuntu:
  Confirmed

Bug description:
  I am able to successfully establish a PPTP VPN connection in Ubuntu
  12.04 (kernel 3.2.0-24-generic) but after approximately 30 seconds to
  1.5 minutes it will fail.  During the connection time I am only able
  to load about 1-2 webpages and then they freeze and I cannot access
  resources on the VPN network.  I do not believe this is related to my
  VPN server as I am able to establish VPN connections with my Windows
  machines and Smartphones all day long with no problems.  Is there a
  solution to this problem?

  Description:	Ubuntu 12.04 LTS
  Release:	12.04

  network-manager: 0.9.4.0-0ubuntu3

  Here is the syslog:

  Apr 30 00:17:50 satellite-p755 NetworkManager[994]: <info> Starting VPN service 'pptp'...
  Apr 30 00:17:50 satellite-p755 NetworkManager[994]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 15069
  Apr 30 00:17:50 satellite-p755 NetworkManager[994]: <info> VPN service 'pptp' appeared; activating connections
  Apr 30 00:17:50 satellite-p755 NetworkManager[994]: <info> VPN plugin state changed: starting (3)
  Apr 30 00:17:51 satellite-p755 NetworkManager[994]: <info> VPN connection 'Schaefer Law Group' (Connect) reply received.
  Apr 30 00:17:51 satellite-p755 pppd[15073]: Plugin /usr/lib/pppd/2.4.5/nm-pptp-pppd-plugin.so loaded.
  Apr 30 00:17:51 satellite-p755 pppd[15073]: pppd 2.4.5 started by root, uid 0
  Apr 30 00:17:51 satellite-p755 pppd[15073]: Using interface ppp0
  Apr 30 00:17:51 satellite-p755 pppd[15073]: Connect: ppp0 <--> /dev/pts/2
  Apr 30 00:17:51 satellite-p755 NetworkManager[994]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
  Apr 30 00:17:51 satellite-p755 NetworkManager[994]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
  Apr 30 00:17:51 satellite-p755 pptp[15076]: nm-pptp-service-15069 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
  Apr 30 00:17:51 satellite-p755 pptp[15084]: nm-pptp-service-15069 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
  Apr 30 00:17:51 satellite-p755 pptp[15084]: nm-pptp-service-15069 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
  Apr 30 00:17:51 satellite-p755 pptp[15084]: nm-pptp-service-15069 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
  Apr 30 00:17:52 satellite-p755 pptp[15084]: nm-pptp-service-15069 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
  Apr 30 00:17:52 satellite-p755 pptp[15084]: nm-pptp-service-15069 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
  Apr 30 00:17:52 satellite-p755 pptp[15084]: nm-pptp-service-15069 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 0).
  Apr 30 00:17:55 satellite-p755 pppd[15073]: CHAP authentication succeeded
  Apr 30 00:17:55 satellite-p755 pppd[15073]: MPPE 128-bit stateless compression enabled
  Apr 30 00:17:55 satellite-p755 pppd[15073]: local  IP address 192.168.1.20
  Apr 30 00:17:55 satellite-p755 pppd[15073]: remote IP address 192.168.1.1
  Apr 30 00:17:55 satellite-p755 pppd[15073]: primary   DNS address 8.8.8.8
  Apr 30 00:17:55 satellite-p755 pppd[15073]: secondary DNS address 8.8.4.4
  Apr 30 00:17:55 satellite-p755 NetworkManager[994]: <info> VPN connection 'Schaefer Law Group' (IP Config Get) reply received.
  Apr 30 00:17:55 satellite-p755 NetworkManager[994]: <info> VPN Gateway: 75.75.79.330
  Apr 30 00:17:55 satellite-p755 NetworkManager[994]: <info> Tunnel Device: ppp0
  Apr 30 00:17:55 satellite-p755 NetworkManager[994]: <info> Internal IP4 Address: 192.168.1.20
  Apr 30 00:17:55 satellite-p755 NetworkManager[994]: <info> Internal IP4 Prefix: 32
  Apr 30 00:17:55 satellite-p755 NetworkManager[994]: <info> Internal IP4 Point-to-Point Address: 192.168.1.1
  Apr 30 00:17:55 satellite-p755 NetworkManager[994]: <info> Maximum Segment Size (MSS): 0
  Apr 30 00:17:55 satellite-p755 NetworkManager[994]: <info> Forbid Default Route: no
  Apr 30 00:17:55 satellite-p755 NetworkManager[994]: <info> Internal IP4 DNS: 8.8.8.8
  Apr 30 00:17:55 satellite-p755 NetworkManager[994]: <info> Internal IP4 DNS: 8.8.4.4
  Apr 30 00:17:55 satellite-p755 NetworkManager[994]: <info> DNS Domain: '(none)'
  Apr 30 00:17:56 satellite-p755 dnsmasq[14712]: exiting on receipt of SIGTERM
  Apr 30 00:17:56 satellite-p755 NetworkManager[994]: <info> DNS: starting dnsmasq...
  Apr 30 00:17:56 satellite-p755 NetworkManager[994]: <info> (ppp0): writing resolv.conf to /sbin/resolvconf
  Apr 30 00:17:56 satellite-p755 dnsmasq[15128]: started, version 2.59 cache disabled
  Apr 30 00:17:56 satellite-p755 dnsmasq[15128]: compile time options: IPv6 GNU-getopt DBus i18n DHCP TFTP conntrack IDN
  Apr 30 00:17:56 satellite-p755 dnsmasq[15128]: using nameserver 8.8.4.4#53
  Apr 30 00:17:56 satellite-p755 dnsmasq[15128]: using nameserver 8.8.8.8#53
  Apr 30 00:17:56 satellite-p755 NetworkManager[994]: <info> VPN connection 'Schaefer Law Group' (IP Config Get) complete.
  Apr 30 00:17:56 satellite-p755 NetworkManager[994]: <info> Policy set 'Schaefer Law Group' (ppp0) as default for IPv4 routing and DNS.
  Apr 30 00:17:56 satellite-p755 NetworkManager[994]: <info> VPN plugin state changed: started (4)
  Apr 30 00:17:56 satellite-p755 dbus[890]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
  Apr 30 00:17:56 satellite-p755 dbus[890]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
  Apr 30 00:18:04 satellite-p755 ntpdate[15161]: adjust time server 91.189.94.4 offset 0.053823 sec
  Apr 30 00:19:52 satellite-p755 pptp[15084]: nm-pptp-service-15069 log[pptp_handle_timer:pptp_ctrl.c:1050]: closing control connection due to missing echo reply
  Apr 30 00:19:52 satellite-p755 pptp[15084]: nm-pptp-service-15069 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
  Apr 30 00:19:52 satellite-p755 pptp[15084]: nm-pptp-service-15069 log[pptp_conn_close:pptp_ctrl.c:430]: Closing PPTP connection
  Apr 30 00:19:52 satellite-p755 pptp[15084]: nm-pptp-service-15069 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 3 'Stop-Control-Connection-Request'
  Apr 30 00:19:52 satellite-p755 pptp[15084]: nm-pptp-service-15069 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
  Apr 30 00:19:52 satellite-p755 pppd[15073]: Modem hangup
  Apr 30 00:19:52 satellite-p755 pppd[15073]: Connect time 2.0 minutes.
  Apr 30 00:19:52 satellite-p755 pppd[15073]: Sent 5296 bytes, received 1195 bytes.
  Apr 30 00:19:52 satellite-p755 pppd[15073]: MPPE disabled
  Apr 30 00:19:52 satellite-p755 pppd[15073]: Connection terminated.
  Apr 30 00:19:52 satellite-p755 avahi-daemon[950]: Withdrawing workstation service for ppp0.
  Apr 30 00:19:52 satellite-p755 NetworkManager[994]: <info> VPN plugin state changed: stopping (5)
  Apr 30 00:19:52 satellite-p755 NetworkManager[994]: <info> VPN plugin state changed: stopped (6)
  Apr 30 00:19:52 satellite-p755 NetworkManager[994]: <info> VPN plugin state change reason: 0
  Apr 30 00:19:52 satellite-p755 NetworkManager[994]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
  Apr 30 00:19:52 satellite-p755 NetworkManager[994]: <warn> (9) failed to find interface name for index
  Apr 30 00:19:52 satellite-p755 NetworkManager[994]: nm_system_iface_flush_routes: assertion `iface != NULL' failed
  Apr 30 00:19:52 satellite-p755 NetworkManager[994]: <warn> (9) failed to find interface name for index
  Apr 30 00:19:52 satellite-p755 dnsmasq[15128]: exiting on receipt of SIGTERM
  Apr 30 00:19:52 satellite-p755 NetworkManager[994]: <info> DNS: starting dnsmasq...
  Apr 30 00:19:52 satellite-p755 NetworkManager[994]: <info> (ppp0): writing resolv.conf to /sbin/resolvconf
  Apr 30 00:19:52 satellite-p755 dnsmasq[15196]: started, version 2.59 cache disabled
  Apr 30 00:19:52 satellite-p755 dnsmasq[15196]: compile time options: IPv6 GNU-getopt DBus i18n DHCP TFTP conntrack IDN
  Apr 30 00:19:52 satellite-p755 dnsmasq[15196]: using nameserver 192.168.1.1#53
  Apr 30 00:19:53 satellite-p755 NetworkManager[994]: <info> Policy set 'dd-wrt' (wlan0) as default for IPv4 routing and DNS.
  Apr 30 00:19:53 satellite-p755 NetworkManager[994]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
  Apr 30 00:19:53 satellite-p755 dbus[890]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
  Apr 30 00:19:53 satellite-p755 dbus[890]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
  Apr 30 00:19:53 satellite-p755 pppd[15073]: Exit.
  Apr 30 00:19:58 satellite-p755 NetworkManager[994]: <info> VPN service 'pptp' disappeared
  Apr 30 00:21:01 satellite-p755 dbus[890]: [system] Activating service name='org.gnome.SettingsDaemon.DateTimeMechanism' (using servicehelper)
  Apr 30 00:21:01 satellite-p755 dbus[890]: [system] Successfully activated service 'org.gnome.SettingsDaemon.DateTimeMechanism'
  Apr 30 00:21:36 satellite-p755 dbus[890]: [system] Activating service name='org.gnome.SettingsDaemon.DateTimeMechanism' (using servicehelper)

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager-pptp/+bug/991666/+subscriptions