Answer the question
In order to leave comments, you need to log in
In Ubntu 14.04, how can I connect to a vpn connection created through the graphical shell using a command in a .sh script?
This "pon vpn" naturally produces:
The file /etc/ppp/peers/vpn does not exist. Please create it or use
a command line argument to use another file in the /etc/ppp/peers/ directory.
What command to enter in the script so that the button click will work (see figure)
Answer the question
In order to leave comments, you need to log in
nmcli con up id VPN
(VPN == connection name as is, it is better to use names without spaces).
You need to run from the user under which this connection was created (if not shared). For those who do not understand the phrase - NOT through sudo.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question