LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-09-2019, 05:44 AM   #1
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 123

Rep: Reputation: Disabled
Problem Setting Up PIA VPN (- but nordVPN works fine)


I have no problem configuring NordVPN in Slackware, but I just can't figure it out with PIA.
I get an error message that

"The file “CA Toronto.ovpn” could not be read or does not contain recognized VPN connection information.
Error: the plugin does not support import capability"

These openvpn files from PIA are not the same as nord's openvpn files, and I can't get it to work.

The files are called:
crl.rsa.2048.pem
ca.rsa.2048.crt
CA Toronto.ovpn

Can someone step through how I add this connection?
 
Old 06-09-2019, 08:55 AM   #2
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 498

Rep: Reputation: 164Reputation: 164
Do you use openvpn from terminal or NetworkManager-openvpn?
I know that NetworkManager-openvpn sometimes doesn't work even if everything is set up as it should, i then remove the password and leave it blank and let the connection ask for password and save that password.
I don't know why but that often makes an vpn connetion work in networkmanager.
Have you tested the .ovpn with openvpn command?
 
Old 06-09-2019, 12:22 PM   #3
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 123

Original Poster
Rep: Reputation: Disabled
I started over, and downloaded the openvpn files into /etc/openvpn, and did the extraction thing. Had to edit some file names to take out spaces.
This time I tried adding an Openvpn connection, instead of the "saved VPN configuration", which is how the other VPN works.

Now I have a VPN connection, but it times out without connecting.

I'm sure there's a thread(s) on here that talks about this, but I can't find it - any ideas?
 
Old 06-09-2019, 12:30 PM   #4
BigTig
Member
 
Registered: Aug 2015
Posts: 43

Rep: Reputation: Disabled
I use PIA and what I do is
1) install NetworkManager-OpenVPN from slackbuilds
2) extract the ovpn files to /etc/NetworkManager/PIA
3) use NetworkManger to add a connection
4) choose "import a saved VPN Configuration"
5) choose a file from "/etc/Networkmanager/PIA"
6) Enter my username/password
7) under "Advanced" I click "Use custom gateway port" and change it to 1198
8) That's it!

I think AlienBOB has a write up on how to do all this on his blog.
 
1 members found this post helpful.
Old 06-09-2019, 06:17 PM   #5
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 498

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by Captain Brillo View Post
I started over, and downloaded the openvpn files into /etc/openvpn, and did the extraction thing. Had to edit some file names to take out spaces.
This time I tried adding an Openvpn connection, instead of the "saved VPN configuration", which is how the other VPN works.

Now I have a VPN connection, but it times out without connecting.

I'm sure there's a thread(s) on here that talks about this, but I can't find it - any ideas?
Try the password trick i mentioned in previous post.
 
Old Yesterday, 03:36 PM   #6
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 123

Original Poster
Rep: Reputation: Disabled
BigTig: the files I got from PIA absolutely DO NOT WORK as a "saved VPN Configuration"

Where did you get the ones you have that work?

PIA is giving me these files:

Quote:
crl.rsa.2048.pem

ca.rsa.2048.crt

CA-Toronto.ovpn
and nothing else.
Also, I can't figure out what I would use to create an Openvpn connection, like the box wants me to.

Got any more ideas?
 
Old Yesterday, 05:20 PM   #7
BigTig
Member
 
Registered: Aug 2015
Posts: 43

Rep: Reputation: Disabled
I downloaded a zip file called openvpn.zip from PIA (https://www.privateinternetaccess.co...pn/openvpn.zip)

Do you have NetworkManager-openvpn installed from slackbuilds? The easiest thing would be to use nm-applet:
Right click on applet, click edit connections, press the "+" sign, "Import a saved VPN Connection"NetworkManager-openvpn

HTH!
 
  


Reply


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
linuxquestions.org inaccessible through PIA vpn AwesomeMachine LQ Suggestions & Feedback 2 07-29-2018 10:33 AM
PIA VPN suddenly becomes unstable lock_nb Linux Mint 5 05-02-2017 06:12 PM
problem with Vuze / PIA / Ubuntu but not Vuze / PIA / MacOS10 RedBullion Linux - Software 0 12-30-2015 10:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration