You are not logged in.
Pages: 1
Hello,
I am trying to configure my VPN. I installed openvpn and networkmanager-openvpn and configured everything correctly in Network Settings of my Cinnamon DE,
and when I try to connect by clicking the switch ON beside the created vpn connection, in the nm-applet, nothing happens: it refuses to switch on the connection
without any warnings. Also, I get no warnings at all in terminal. What is the problem and how can I connect to my VPN through some other app, if this is bug in nm-applet?
Thanks in advance.
EDIT: when I try to connect manually:
sudo pptpsetup --create foo --server foo.bar --username foo --password bar --encrypt
I get:
/usr/bin/pptpsetup: couldn't find MPPE support in kernel.
I installed ppp-mppe from AUR and replaced ppp because it interconficted with ppp, but still nothing happens.
EDIT (2) OK, seems that I did some progress here: I installed networkmaanager-pptp and pptp-client,
rebooted the system and now I can connect to the VPN, but when I turn it ON, it says connected but
can't ping a single address, hm... Also tried adding VPN's DNS nameservers to resolv.conf, still no success:
it says "connecting to VPN" for about 30 seconds, an then just gives up...
I don't know if I need to modprobe tun, but when I try to, it doesn't say anything and lsmod doesn't find tun at all,
although there is a tun.ko module in /lib/modules/XYZ...
In Windows, it connects just fine. What I am doing wrong or missing?
EDIT (XYZ) YATTA!! I did it!! :-)))))
The problem was VPN DNS nameservers, when I entered them to resolv.conf, it got erased and replaced by nm-applet, obviously.
I managed to connect through terminal:
$ sudo openvpn --config MyVPN.ovpn
Q: This is really weird: I can connect perfectly with openvpn command from terminal, but it doesn't connect through networkmanager applet.
Is there any way I could automate connecting through VPN at boot or however and how can I avoid erasing my resolv.conf when connecting WiFi?
Last edited by luther7hrol (2014-01-20 19:32:30)
Offline
Sorry to bump an old thread, but I was having the same issue in Cinnamon 2.2.16 with NetworkManager 0.9.10.0-4. When trying to connect to a PrivateInternetAccess VPN server, I wasn't able to switch the connection in the applet to "ON", nor could I connect via terminal, until I disabled the dhcpcd services and rebooted.
systemctl disable dhcpcd
systemctl disable dhcpcd@
This allowed me to connect to switch the connection "ON" or connect via terminal. However, I wasn't able to ping anything or access any sites, and had to go back to edit the DNS servers of my VPN connection in NetworkManager or /etc/NetworkManager/system-connections.
Offline
Pages: 1