本文目标:终端查看wifi、连接wifi、唤醒wifi
连接wifi:
1查找周围有那些wifi:
nmcli device wifi
2连接wifi
nmcli device wifi connect xxxxx(wifi名称) password ******(wifi密码)
每用一次上面的命令,就会在/etc/NetworkManager/system-connections/目录下生成一个配置文件
删除wifi
nmcli con del xxxxx(设备名称)
此时,/etc/NetworkManager/system-connections/目录下的配置文件就会被删掉
启动(唤醒已经
Read more (1450 views)