@timidger: Thanks for that. You have to do that because of what I can find about OpenVPN. I don't see any other way to do it to allow OpenVPN to autologin using the file.
Search Criteria
Package Details: private-internet-access-vpn 3.4-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/private-internet-access-vpn.git (read-only, click to copy) |
---|---|
Package Base: | private-internet-access-vpn |
Description: | Installs VPN profiles for Private Internet Access Service |
Upstream URL: | https://www.privateinternetaccess.com/ |
Keywords: | connman networkmanager openvpn python vpn |
Licenses: | GPL |
Conflicts: | xawtv |
Submitter: | flamusdiu |
Maintainer: | Auerhuhn |
Last Packager: | Auerhuhn |
Votes: | 86 |
Popularity: | 0.000008 |
First Submitted: | 2014-08-14 01:22 (UTC) |
Last Updated: | 2024-04-14 17:12 (UTC) |
Dependencies (10)
- openvpn (openvpn-gitAUR, openvpn-mbedtlsAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-docopt
- python-setuptools
- git (git-gitAUR, git-glAUR) (make)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-wheel (make)
- connman (connman-gitAUR, connman-systemd-resolvedAUR) (optional) – Enables PIA for Connman
- networkmanager (networkmanager-gitAUR, networkmanager-iwdAUR) (optional) – Enables PIA for Network Manager (needs a openvpn plugin)
Required by (0)
Sources (9)
Latest Comments
« First ‹ Previous 1 .. 40 41 42 43 44 45 46 47 48 Next › Last »
flamusdiu commented on 2015-02-16 00:57 (UTC)
timidger commented on 2015-02-15 23:23 (UTC)
@musasabi: I was having the exact same problem as you. It turns out the login.conf file should contain ONLY the username and password on the two lines. No "VPN-USERNAME=<username>", just:
<username>
<password>
flamusdiu commented on 2015-01-20 23:56 (UTC)
@wilberfan
Did you remove your comment? I don't see it. I am not sure why Gnome3 would have a DNS leak. Can you email me about how you are seeing the leak?
flamusdiu commented on 2015-01-11 00:39 (UTC)
@orbarry:
Fixed. Can you email a couple of working configurations for connman that are working for PIA? Make sure to mask out username/password!
I will add it into the script.
ozbarry commented on 2015-01-10 19:15 (UTC)
With python 3.4.2, I get the following error:
[alex@localhost ~]$ sudo pia-auto-login.py --auto-login
Traceback (most recent call last):
File "/usr/bin/pia-auto-login.py", line 172, in <module>
nm_autologin(id, filename, args.auto_login)
File "/usr/bin/pia-auto-login.py", line 95, in nm_autologin
with open(nm_conf,"w") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/etc/NetworkManager/system-connections/US Midwest'
I am using connman, not NetworkManager, so maybe you should add NetworkManager as a dependency?
flamusdiu commented on 2015-01-08 13:53 (UTC)
@raberrett: From aura git response by Razz:
Installing any AUR package as root gives this error:
makepkg: invalid option '--asroot'
Pacman changelog:
https://projects.archlinux.org/pacman.git/tree/NEWS#n57
I found the affected aura code in this line:
https://github.com/aurapm/aura/blob/master/src/Aura/MakePkg.hs#L69
Workaround is to only run sudo aura without root.
flamusdiu commented on 2015-01-06 03:50 (UTC)
@musasabi: how are you starting the VPN? It works for me both through NetworkManager and CLI (using openvpn command).
Make sure the login.conf has only two lines and no extra spaces after your login information.
flamusdiu commented on 2015-01-06 02:42 (UTC)
@musasabi, let me see what I can find out. Thanks for the report back.
musasabi commented on 2015-01-06 02:02 (UTC)
Just grabbed your package and it seems to have set everything up properly, except that OpenVPN gives me an AUTH_FAILED. Other than that my account otherwise works with the credentials I've got in /etc/private-internet-access/login.conf and that login.conf is root:root and 600, here's what I did:
Installed openvpn and your scripts.
Filled in the login information and renamed the file to login.conf
Ran pia-auto-login.pi as root with -l
Ran openvpn as root with my suitable location conf
And that results in AUTH_FAILED. I changed my password twice (both times verifying that PIA's web interface still let me in) and am out of ideas. Sorry for being a VPN newb, but everything on your end seems to be correct despite my login being rejected!
Pinned Comments
Auerhuhn commented on 2023-10-27 08:23 (UTC) (edited on 2023-10-27 08:23 (UTC) by Auerhuhn)
Note that this package provides only VPN profiles but not the vendor’s software.
The package version refers to the
python-pia
tool by @flamusdiu, which may lag behind the vendor’s own VPN software version.Please do not flag this package out-of-date unless @flamusdiu releases a new stable
python-pia
version.Thank you!