I'm trying to use D-bus method
AddAndActivate
connection on interface org.freedesktop.NetworkManager
to create a wifi connection. I definitely pass a PreSharedKey field with the password, but NetworkManager ignores this field, fails on connection activation and asks for a password when I try to use nmcli c up
.
Any ideas how to force it to save the password?
Asked by Edward
(101 rep)
May 16, 2020, 05:44 PM
Last activity: Jun 15, 2025, 11:04 AM
Last activity: Jun 15, 2025, 11:04 AM