0、nmcli device wifi
1、nmcli device wifi connect ssid password wifi_passwd
(
nmcli connection add type wifi con-name wifi_name ifname interface ssid ssid
nmcli connection modify wifi_name wifi-sec.key-mgmt wpa_psk wifi-sec.psk wifi_password
)
2、nmcli connection del wifi_name
3、nmcli connection up wifi_name
4、nmcli connection down wifi_name