LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Netwokmanager vpn connection problem (https://www.linuxquestions.org/questions/linux-newbie-8/netwokmanager-vpn-connection-problem-4175617374/)

spanizdogs 11-10-2017 04:10 PM

Netwokmanager vpn connection problem
 
Hello,

I am using mxlinux 16.1 on a macbook pro. But even with Mint i had the same problem.

What happends.

using a vpn service gives me connection problems.

when i log in from boot it connects.

when i disconnect and want to connect again, the only option left at the end is a shutdown from the whole system. (not a reboot).

I had this with private internet access and now with purevpn.

Something with my router and my comp ??

watchingu 11-10-2017 05:16 PM

How are you connecting to the VPN service; their app, openvpn via network-manager, ...? If you're using the VPN provider's app, is a crash log available and if so, what errors are you getting? Have you attempted troubleshooting the issue using your VPN service provider's tech support? Have you checked the forums of your VPN provider to see if others are experiencing the same issue?

spanizdogs 11-10-2017 05:44 PM

i used private internet access PIA as stand alone and at the moment PUREvpn with gnome-openvpn-network-manager.
both same issue.


As well LMint and MXlinux (debian 8) happends the same.

Yes I had contact with the help desk about this issue, but the tech has her limits at the help desk.



When it tries to reconnect with the network it hangs in X sign in panel-app Network Manager.

AwesomeMachine 11-10-2017 06:31 PM

It could be a conflict between versions of openvpn on the client and the server. I use PIA, but I run openvpn from the command line using scripts provided by PIA.

ferrari 11-10-2017 06:40 PM

Quote:

using a vpn service gives me connection problems.

when i log in from boot it connects.

when i disconnect and want to connect again, the only option left at the end is a shutdown from the whole system. (not a reboot).
It shouldn't be necessary to reboot. Just restarting the network components should be sufficient. As watchingu already mentioned, the way to progress this is to review the logs. How that gets done depends on the Linux distro and version in use.

For a distro using systemd (eg recent Mint 18) the you can watch the NetworkManager logging using the following in a terminal window...
Code:

sudo journalctl -fu NetworkManager
then start the VPN connection, disconnect, and try starting again. The log should help determine what is going on.

If necessary, restarting NetworkManager cab be done with
Code:

sudo systemctl restart NetworkManager
For a Debian distro/version using SysVinit, then AFAIU the logging can be found in /var/log/syslog, so something like the following perhaps

Code:

grep -i networkmanager /var/log/syslog
or
Code:

sudo tail -f /var/log/syslog|grep -i networkmanager
and NetworkManager can be restarted with

Code:

sudo /etc/init.d/network-manager restart
or
Code:

sudo service networking restart

spanizdogs 11-10-2017 06:48 PM

Thanks for the reply. will have a look.

spanizdogs 11-10-2017 07:10 PM

For some reason the problem does not happen at the moment.

connecting and reconnecting with my network and connecting with vpn works this session at least.

i think solved but give it some time.

AwesomeMachine 11-11-2017 02:31 PM

You might also google 'myip' to check if your ip is concealed.

spanizdogs 11-11-2017 03:36 PM

It looks like it that network-manager has started to behave as it should be. Connection is fast and stable.

Test DNS-leak MY-Ip : positive



;)


All times are GMT -5. The time now is 11:07 AM.