LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2017, 04:10 PM   #1
spanizdogs
LQ Newbie
 
Registered: May 2015
Location: Amsterdam
Distribution: MXlinux
Posts: 14

Rep: Reputation: Disabled
Question 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 ??
 
Old 11-10-2017, 05:16 PM   #2
watchingu
Member
 
Registered: Oct 2017
Distribution: Debian Stable & Unstable
Posts: 54

Rep: Reputation: 15
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?

Last edited by watchingu; 11-10-2017 at 05:18 PM.
 
Old 11-10-2017, 05:44 PM   #3
spanizdogs
LQ Newbie
 
Registered: May 2015
Location: Amsterdam
Distribution: MXlinux
Posts: 14

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-10-2017, 06:31 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
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.
 
Old 11-10-2017, 06:40 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,234

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
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
 
Old 11-10-2017, 06:48 PM   #6
spanizdogs
LQ Newbie
 
Registered: May 2015
Location: Amsterdam
Distribution: MXlinux
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thanks for the reply. will have a look.
 
Old 11-10-2017, 07:10 PM   #7
spanizdogs
LQ Newbie
 
Registered: May 2015
Location: Amsterdam
Distribution: MXlinux
Posts: 14

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-11-2017, 02:31 PM   #8
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
You might also google 'myip' to check if your ip is concealed.
 
Old 11-11-2017, 03:36 PM   #9
spanizdogs
LQ Newbie
 
Registered: May 2015
Location: Amsterdam
Distribution: MXlinux
Posts: 14

Original Poster
Rep: Reputation: Disabled
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



 
  


Reply

Tags
connection, networkmanager, vpn


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
script to change vpn connection if slow vpn connection andrew44 Linux - General 2 02-23-2014 11:25 AM
problem with install a vpn connection Golzari-Ali Linux - General 1 09-09-2006 03:48 PM
problem of PPTP VPN connection. kocu Linux - Networking 9 09-24-2005 02:08 PM
VPN Connection problem..... clipper Linux - Networking 0 02-03-2004 12:23 PM
VPN Connection problem..... clipper Linux - Software 0 02-03-2004 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration