[SOLVED] PPTP connection failed

Issues related to configuring your network
Post Reply
jj99
Posts: 3
Joined: 2015/05/05 15:12:26

[SOLVED] PPTP connection failed

Post by jj99 » 2015/05/05 16:12:24

Hello,

I'm trying to connect to a PPTP VPN. This works on Windows, but I'm a newbie on Linux, and I'm working on a company laptop that everyone has an admin password for. So, it's probably not a surprise that I entered the settings (that work on another Linux machine) in the Gnome Network Manager and the connection failed. I'm trying to follow tutorials, but no luck so far. I can't even find something like an error log since every linux seems to do this a bit differently. And the GUI in Linux is pretty much useless if something goes wrong. Any help will be appreciated :).
Last edited by jj99 on 2015/05/06 02:11:32, edited 1 time in total.

jj99
Posts: 3
Joined: 2015/05/05 15:12:26

Re: PPTP connection failed

Post by jj99 » 2015/05/06 01:53:34

I found the log:

May 5 19:10:05 localhost NetworkManager[2311]: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
May 5 19:10:05 localhost NetworkManager[2311]: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 3931
May 5 19:10:05 localhost NetworkManager[2311]: <info> VPN service 'org.freedesktop.NetworkManager.pptp' appeared, activating connections
May 5 19:10:12 localhost NetworkManager[2311]: <info> VPN connection 'office' (ConnectInteractive) reply received.
May 5 19:10:12 localhost NetworkManager[2311]: <info> VPN plugin state changed: starting (3)
May 5 19:10:12 localhost NetworkManager[2311]: <info> VPN connection 'office' (Connect) reply received.
May 5 19:10:12 localhost pppd[3934]: Warning: can't open options file /root/.ppprc: Permission denied
May 5 19:10:12 localhost pppd[3934]: Plugin /usr/lib64/pppd/2.4.5/nm-pptp-pppd-plugin.so loaded.
May 5 19:10:12 localhost pppd[3934]: pppd 2.4.5 started by root, uid 0
May 5 19:10:12 localhost pppd[3934]: Using interface ppp0
May 5 19:10:12 localhost pppd[3934]: Connect: ppp0 <--> /dev/pts/2
May 5 19:10:12 localhost pptp[3936]: nm-pptp-service-3931 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
May 5 19:10:12 localhost pptp[3944]: nm-pptp-service-3931 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
May 5 19:10:12 localhost pptp[3944]: nm-pptp-service-3931 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
May 5 19:10:12 localhost pptp[3944]: nm-pptp-service-3931 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
May 5 19:10:13 localhost pptp[3944]: nm-pptp-service-3931 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
May 5 19:10:13 localhost pptp[3944]: nm-pptp-service-3931 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
May 5 19:10:13 localhost pptp[3944]: nm-pptp-service-3931 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 34668).
May 5 19:10:33 localhost pptp[3944]: nm-pptp-service-3931 log[ctrlp_disp:pptp_ctrl.c:929]: Call disconnect notification received (call id 34668)
May 5 19:10:43 localhost pppd[3934]: LCP: timeout sending Config-Requests
May 5 19:10:43 localhost pppd[3934]: Connection terminated.
May 5 19:10:43 localhost NetworkManager[2311]: <warn> VPN plugin failed: connect-failed (1)
May 5 19:10:43 localhost pptp[3936]: nm-pptp-service-3931 warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
May 5 19:10:43 localhost pptp[3936]: nm-pptp-service-3931 warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
May 5 19:10:43 localhost pppd[3934]: Modem hangup
May 5 19:10:43 localhost pptp[3944]: nm-pptp-service-3931 log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
May 5 19:10:43 localhost pptp[3944]: nm-pptp-service-3931 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
May 5 19:10:43 localhost pptp[3944]: nm-pptp-service-3931 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
May 5 19:10:43 localhost pppd[3934]: Exit.
May 5 19:10:43 localhost NetworkManager[2311]: <warn> VPN plugin failed: connect-failed (1)
May 5 19:10:43 localhost NetworkManager[2311]: <warn> VPN plugin failed: connect-failed (1)
May 5 19:10:43 localhost NetworkManager[2311]: <info> VPN plugin state changed: stopped (6)
May 5 19:10:43 localhost NetworkManager[2311]: <info> VPN plugin state change reason: unknown (0)
May 5 19:10:43 localhost NetworkManager[2311]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
May 5 19:10:43 localhost NetworkManager[2311]: <info> Policy set 'Auto Level' (wlan0) as default for IPv4 routing and DNS.

jj99
Posts: 3
Joined: 2015/05/05 15:12:26

Re: PPTP connection failed

Post by jj99 » 2015/05/06 02:08:01

Solved. Its a bug described here:

https://forums.opensuse.org/showthread. ... est-update

Short version - run this to load a missing module:

modprobe nf_conntrack_pptp

Post Reply