network manager - How to connect to a WPA2 enterprise with nmcli in a non interactive mode? - Ask Ubuntu
i able connect nmcli wpa enterprise network in interactive mode launched by nmcli con edit id myname nmcli refuses change 802-1x values while not in edit mode: nmcli c modify myname wifi-sec.key-mgmt wpa-eap error: failed modify connection 'myname': 802-1x: 'wpa-eap' security requires '802-1x' setting presence how suggest connect without "setting presence" don't want since want automatize connection setting process. kind of late response, maybe stumbles upon same problem , may looking solution: this looks trying set wifi-sec.key-mgmt connection property before setting 802.1x values. put simplier, must put edits in specified order, 802.1x settings first, , wifi-sec keys later. however, if not case - have connection added? can add empty template using following command: nmcli con add type wifi [ifname <interface_name>] [con-name <connection_name_shown>] [ssid <ssid_of_wifi_connection>] all parts ...