2

I'm trying to modify [vpn-secrets], as mentioned here:

https://askubuntu.com/questions/198136/error-when-trying-to-connect-to-vpn-on-startup

However, nmcli complains about it,

%> sudo nmcli con modify myvpn vpn-secrets.data 'password = xxx' Error: invalid or not allowed setting 'vpn-secrets': 'vpn-secrets' not among [connection, vpn, ipv4, ipv6]. 

Is it impossible to change the password with nmcli?

2
  • What type of VPN are you attempting to connect to? Only certain VPN plugins may allow the credentials to be set this way. Others require a separate file eg /etc/ppp/chat-secrets or /etc/ipsec.secrets or /etc/ipsec.d/some-connection-id.secrets. Commented Jul 20, 2017 at 19:37
  • @dragon788 SSTP Commented Jul 20, 2017 at 23:52

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.