I have tried to find the solution by calling help at their support and by myself without any luck. I am using MATE 17.3 64 bits on a Dell Inspiron 3531.
I am never able to make the Private Internet Access client connect to any of their VPN. But I am able to follow the manual procedure to create the VPN manually and connect without trouble.
Looking at the openvpn.log (fresh for that post) inside the .pia_manager's folder, I can see things I don't really understand about ifconfig. Perhaps could you understand what I should do to fix. Many thanks
Sun Oct 16 12:53:47 2016 OpenVPN 2.2.2 x86_64-unknown-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Sep 22 2016
Sun Oct 16 12:53:47 2016 WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page).
Sun Oct 16 12:53:47 2016 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Oct 16 12:53:47 2016 LZO compression initialized
Sun Oct 16 12:53:47 2016 UDPv4 link local: [undef]
Sun Oct 16 12:53:47 2016 UDPv4 link remote: 198.8.80.48:8080
Sun Oct 16 12:53:47 2016 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Oct 16 12:53:48 2016 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1558', remote='link-mtu 1542'
Sun Oct 16 12:53:48 2016 WARNING: 'cipher' is used inconsistently, local='cipher AES-128-CBC', remote='cipher BF-CBC'
Sun Oct 16 12:53:48 2016 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Sun Oct 16 12:53:48 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 16 12:53:48 2016 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Sun Oct 16 12:53:48 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 16 12:53:48 2016 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Sun Oct 16 12:53:48 2016 [737de1ca2324821a1a42b1877b61b32a] Peer Connection Initiated with 198.8.80.48:8080
Sun Oct 16 12:53:49 2016 Note: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
Sun Oct 16 12:53:49 2016 /sbin/ifconfig 10.58.10.6 pointopoint 10.58.10.5 mtu 1500
SIOCSIFADDR: Operation not permitted
: ERROR while getting interface flags: No such device
SIOCSIFDSTADDR: Operation not permitted
: ERROR while getting interface flags: No such device
SIOCSIFMTU: Operation not permitted
Sun Oct 16 12:53:49 2016 Linux ifconfig failed: external program exited with error status: 1
Sun Oct 16 12:53:49 2016 Exiting
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason:Topic automatically closed 6 months after creation. New replies are no longer allowed.
Are you using the latest v.65? Is your /home encrypted? Do you get a 'error: libgcrypt.s011' ?
I'm assuming that your connection works fine without pia running?
I had the libcrypt error when first installing pia on Mint18, but that was pre-v.65 so I don't know if its still a problem. I usually use another vpn service and don't run pia much but I recall I did have to upgrade to the latest version a while back because of connection problems.
Hello everyone. Does anyone know the reason for PIA client not connecting? I'm having same problem. I can connect manually via terminal or now I managed to set up openvpn managed connection, but the client will not connect at all. Any suggestion would be great. Thank you
Hello,
I do thank you a lot for your reply and the information provided. Thanks to your help, I was able to make it work by investigating. My problem was my $home to be encrypted. Thanks again
bingo19 wrote:Hello,
I do thank you a lot for your reply and the information provided. Thanks to your help, I was able to make it work by investigating. My problem was my $home to be encrypted. Thanks again
Hello. My home is encrypted also. Did you have to un-encrypt it or found any other solution?
bingo19 wrote:Hello,
I do thank you a lot for your reply and the information provided. Thanks to your help, I was able to make it work by investigating. My problem was my $home to be encrypted. Thanks again
Hello. My home is encrypted also. Did you have to un-encrypt it or found any other solution?
Hello (and sorry because I did not saw your previous message) : I had to un encrypt my Home to be able to make the client work normally. I have followed that detailed tutorial to make it : http://www.howtogeek.com/116179/how-to- ... ng-ubuntu/
I have tried this solution, but had few troubles on the way. First the .pia_manager was hidden so had to move it manually. Now after I moved it and restarted pia will not start at all. should the .pia_manager folder be in the /home/pia? So after I move it I will become /home/pia/.pia_manager/files inside? If so how can I start the client manually now?
"cd /" -> changes directories to the '/' (slash) directory
"sudo mkdir pia" -> creates a directory (that is not in your user directory) (thats why you need to use sudo)
"sudo chown yourusername:yourusername pia" -> changes the ownership of you newly created directory to you. (yourusername is $USER)
"sudo mv /home/yourusername/.pia_manager /pia/.pia_manager" -> moves your original .pia_manager from your encrypted /home directory to the newly created directory that is not encrypted. (notice the space between 'sudo mv /home/yourusername/.pia_manager' and '/pia/.pia_manager')
"ln -s /pia/.pia_manager /home/yourusername/.pia_manager" -> creates a soft link (windows shortcut) from your newly created folder to where the original folder was (on your encrypted /home) (notice the space between 'ln -s /pia/.pia_manager' and '/home/yourusername/.pia_manager')
Remember that 'yourusername' is the result of typing $USER in a terminal and this result is what should be used in place of yourusername in every reference above.
"cd /" -> changes directories to the '/' (slash) directory
"sudo mkdir pia" -> creates a directory (that is not in your user directory) (thats why you need to use sudo)
"sudo chown yourusername:yourusername pia" -> changes the ownership of you newly created directory to you. (yourusername is $USER)
"sudo mv /home/yourusername/.pia_manager /pia/.pia_manager" -> moves your original .pia_manager from your encrypted /home directory to the newly created directory that is not encrypted. (notice the space between 'sudo mv /home/yourusername/.pia_manager' and '/pia/.pia_manager')
"ln -s /pia/.pia_manager /home/yourusername/.pia_manager" -> creates a soft link (windows shortcut) from your newly created folder to where the original folder was (on your encrypted /home) (notice the space between 'ln -s /pia/.pia_manager' and '/home/yourusername/.pia_manager')
Remember that 'yourusername' is the result of typing $USER in a terminal and this result is what should be used in place of yourusername in every reference above.
It is sorted now. Thank you very much. I didn't do cd / but only cd so I was still in my home directory. Have to learn to be more carefully about all symbols in Linux. Anyway thanks a lot for your help!
It is sorted now. Thank you very much. I didn't do cd / but only cd so I was still in my home directory. Have to learn to be more carefully about all symbols in Linux. Anyway thanks a lot for your help!
Glade it worked, you might want to delete the ~/pia directory that you probably created with your first attempt.
duck_killer wrote:
It's not working , the PIA's client block in the "connecting phase" .
I'm convinced PIA just straight up does not work on any CURRENT version of linux (16.04, 16.10 etc). I've tried 4 different flavors of ubuntu and also debian and nothing works. Same operation not permitted error in my log every time even when I move the folder and do exactly what PIA says here https://helpdesk.privateinternetaccess. ... irectories
beerninja wrote:I'm convinced PIA just straight up does not work on any CURRENT version of linux (16.04, 16.10 etc).
I disagree. I have run PIA on openSUSE for some time, and now run versions 0.65 and 0.66 without issue on Mint 18 and 18.1 KDE, Cinnamon, MATE, and Xfce, various 32 and 64 bit systems, numerous devices. I installed as described on the PIA site, and it just works.