2015-07-01

‎Enabling auto-login: style fixes.

← Older revision

Revision as of 16:28, 1 July 2015

(One intermediate revision by the same user not shown)

Line 30:

Line 30:

=== Enabling auto-login ===

=== Enabling auto-login ===



+

{{Note|As of version 1.5, the command as changed from {{ic|pia-auto-login.py}} to {{ic|pia}}. Also, command line options have changed.}}

Enabling auto-login allows a user to connect to the VPN service without having type any passwords on the command line (needed when using {{pkg|networkmanager}}). To set this up, you must do the following:

Enabling auto-login allows a user to connect to the VPN service without having type any passwords on the command line (needed when using {{pkg|networkmanager}}). To set this up, you must do the following:

Line 42:

Line 42:

# chmod 0600 /etc/private-internet-access/login.conf

# chmod 0600 /etc/private-internet-access/login.conf

# chown root:root /etc/private-internet-access/login.conf}} This secures the access to the file from non-root users. Read more on [[File permissions and attributes]]. It is '''required''' when activating auto-login.

# chown root:root /etc/private-internet-access/login.conf}} This secures the access to the file from non-root users. Read more on [[File permissions and attributes]]. It is '''required''' when activating auto-login.



*Run {{ic|pia-
auto-login.py -l
}} as root.

+

*Run {{ic|pia -
a
}} as root.



**If you have {{pkg|networkmanager}} installed, it will created the configuration files for {{pkg|networkmanager}}. Make sure to restart {{pkg|networkmanager}} to see them.

+

**If you have {{pkg|networkmanager}} installed, it will created the configuration files for {{pkg|networkmanager}}. Make sure to
[[
restart
]]
{{pkg|networkmanager}} to see them.



**If you have {{pkg|connman}} installed, it will create the configuration files for {{pkg|connman}}.
Make sure you have
{{ic|connman-vpn.service}} running. It will auto load the profiles.

+

**If you have {{pkg|connman}} installed, it will create the configuration files for {{pkg|connman}}.
[[Start]]
{{ic|connman-vpn.service}}
if not
running
already
. It will auto load the profiles.

=== Manually Connecting to VPN ===

=== Manually Connecting to VPN ===

Line 53:

Line 53:

* For {{Pkg|connman}}:

* For {{Pkg|connman}}:

#[[enable]] the {{ic|connman-vpn.service}}.

#[[enable]] the {{ic|connman-vpn.service}}.



#Run {{ic|pia-
auto-login.py -l
}} as root.

+

#Run {{ic|pia -
a
}} as root.

{{note|These are unsupported configurations.}}

{{note|These are unsupported configurations.}}

Show more