PPTP VPN dies.

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dleifelttab

PPTP VPN dies.

Post by dleifelttab »

I have a PPTP VPN that experience some problems. For some reason it dies after 30 seconds when using a torrent-client. It can also die randomly as soon as it's get pressured by downloading a simple file or browsing youtube but not as fast and are not as easy to re-create.
It works flawlessly in Windows but not under Linux Mint.
I tried things like reinstalling: "sudo apt-get install --reinstall network-manager-pptp network-manager-pptp-gnome network-manager-vpnc network-manager-vpnc-gnome", disable the use of IPv6,


Log:
Aug 26 16:44:10 x pptp[12356]: nm-pptp-service-12335 log[pptp_read_some:pptp_ctrl.c:544]: read returned zero, peer has closed
Aug 26 16:44:10 x pptp[12356]: nm-pptp-service-12335 log[callmgr_main:pptp_callmgr.c:258]: Closing connection (shutdown)
Aug 26 16:44:10 x pptp[12356]: nm-pptp-service-12335 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Aug 26 16:44:10 x pptp[12356]: nm-pptp-service-12335 log[pptp_read_some:pptp_ctrl.c:544]: read returned zero, peer has closed
Aug 26 16:44:10 x pptp[12356]: nm-pptp-service-12335 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Aug 26 16:44:10 x pppd[12338]: Modem hangup
Aug 26 16:44:10 x pppd[12338]: Connect time 3.1 minutes.
Aug 26 16:44:10 x pppd[12338]: Sent 2417163 bytes, received 58677169 bytes.
Aug 26 16:44:10 x pppd[12338]: MPPE disabled
Aug 26 16:44:10 x pppd[12338]: Connection terminated.
Aug 26 16:44:10 x NetworkManager[11763]: <info> VPN plugin state changed: stopping (5)
Aug 26 16:44:10 x NetworkManager[11763]: <info> VPN plugin state changed: stopped (6)
Aug 26 16:44:10 x NetworkManager[11763]: <info> VPN plugin state change reason: 0
Aug 26 16:44:10 x avahi-daemon[1169]: Withdrawing workstation service for ppp0.
Aug 26 16:44:10 x avahi-daemon[1169]: Withdrawing address record for 192.168.1.192 on eth0.
Aug 26 16:44:10 x avahi-daemon[1169]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.192.
Aug 26 16:44:10 x avahi-daemon[1169]: Interface eth0.IPv4 no longer relevant for mDNS.
Aug 26 16:44:10 x avahi-daemon[1169]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.192.
Aug 26 16:44:10 x avahi-daemon[1169]: New relevant interface eth0.IPv4 for mDNS.
Aug 26 16:44:10 x avahi-daemon[1169]: Registering new address record for 192.168.1.192 on eth0.IPv4.
Aug 26 16:44:10 x pppd[12338]: Exit.
Aug 26 16:44:11 x NetworkManager[11763]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS.
Aug 26 16:44:11 x NetworkManager[11763]: <info> Writing DNS information to /sbin/resolvconf
Aug 26 16:44:11 x dnsmasq[2286]: setting upstream servers from DBus
Aug 26 16:44:11 x dnsmasq[2286]: using nameserver 192.168.1.1#53
Aug 26 16:44:11 x dbus[1003]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Aug 26 16:44:11 x NetworkManager[11763]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Aug 26 16:44:11 x NetworkManager[11763]: <warn> (12) failed to find interface name for index
Aug 26 16:44:11 x NetworkManager[11763]: nm_system_iface_flush_routes: assertion 'iface != NULL' failed
Aug 26 16:44:11 x NetworkManager[11763]: <warn> (12) failed to find interface name for index
Aug 26 16:44:11 x NetworkManager[11763]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Aug 26 16:44:11 x dbus[1003]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug 26 16:44:16 x NetworkManager[11763]: <info> VPN service 'pptp' disappeared


etc/ppp/options.pptp looks like this:
# Lock the port
lock

# Authentication
# We don't need the tunnel server to authenticate itself
noauth

# We won't do PAP, EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
# (you may need to remove these refusals if the server is not using MPPE)
refuse-pap
refuse-eap
refuse-chap
refuse-mschap

# Compression
# Turn off compression protocols we know won't be used
nobsdcomp
nodeflate

# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose with of the following sections you will use. Note that MPPE
# requires the use of MSCHAP-V2 during authentication)

# http://ppp.samba.org/ the PPP project version of PPP by Paul Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# {{{
# Require MPPE 128-bit encryption
#require-mppe-128
# }}}

# http://polbox.com/h/hs001/ fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
#mppe required,stateless
# }}}


This is like the last hope, any advice? If I can´t fix this I rather go back to Windows, something I want to avoid... :?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Networking”