nmcli r wifi on nmcli d wifi list nmcli d wifi connect <SSID> password <PASSWORD> nmcli c nmcli c modify <UUID> connection.autoconnect yes