Linux Lite Forums
Can't connect to VPN via PPTP on Lite - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6)
+--- Forum: Network (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=24)
+--- Thread: Can't connect to VPN via PPTP on Lite (/showthread.php?tid=2457)



Can't connect to VPN via PPTP on Lite - bfb - 12-03-2015

I have moved this to here as previously I mistakenly put it in a thread marked 'Solved'

I am having a problem connecting to VPN by PPTP.
I have a dual boot with Windows7 and the same details (password /user-id /address) work on Windows but not on Lite.
They also work on another computer which has Xubuntu on it.
Is there anything in Lite which could explain this failure to connect?
I wondered if I should re-install anything, but it is a new installation 2 days ago...
I am on a ethernet connection and on a  PC not Wifi from a Laptop.


Re: Can't connect to VPN via PPTP on Lite - firenice03 - 12-03-2015

Should work, I have mine configured to connect to a vpn..
Confirm the ususals, host/gateway configs, security settings all match. Passwords correct yada yada..
I'll double check my settings but it was pretty straight forward..

Oh are you using a client based (openvpn etc) or config via network settings ?


Re: Can't connect to VPN via PPTP on Lite - firenice03 - 12-04-2015

After confirming... try saving the password in the vpn settings, it seemed to work for the the OP in the other thread...
https://www.freecinema2022.gq/forums/network/can't-connect-to-windows-server-pptp-vpn/?topicseen


Re: Can't connect to VPN via PPTP on Lite - bfb - 12-04-2015

Thank you. The mystery is that I have done all  this seeral times on other machines, going through all those steps, including saving the password, checking the pw details etc, and all that has always worked on other Linux and non-linux systems.
On this machine it works for the Windows7 partition, so it isn't a problem with the details I am entering, nor with my connection.
It also works on Xubuntu on a laptop connectiong by Wifi to the same Internet box.

It is only on this installation of Lite that it doesn't work.

I am entering the details directly into the Pop-up Network Connections in Control Centre


[Image: Screenshot%20-%2003122015%20-%20113359_zps7mtjogus.png]


Re: Can't connect to VPN via PPTP on Lite - bfb - 12-05-2015

The root cause was that 2 required netfilter kernel modules are not loaded during boot.
nf_conntrack_pptp nf_conntrack_proto_gre
Solution: load the nf_conntrack_pptp module, the latter is its dependency and will be loaded automatically.
sudo modprobe nf_conntrack_pptp


However I have to do this each time I re-boot.
Can I edit something to make this change permanant?


Re: Can't connect to VPN via PPTP on Lite - Valtam - 12-06-2015

Thanks for informing us bfb. This should work - http://askubuntu.com/questions/607962/automatically-load-module-on-system-startup FYI, modules is a text file, not a folder, eg. my modules file:


Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

# Generated by sensors-detect on Mon Jun 15 22:02:50 2015
# Chip drivers
coretemp
smsc47b397