1、安装CentOS7最小化时候,在网络连接功能项中设置WIFI的设备和密码。
2、进入系统,执行nmcli查看使用NetworkManager管理的网络
[root@seastar ~] nmcli dev status
DEVICE TYPE STATUS CONNECTION
wlp6s0 wifi unmanaged SeaStar
enp8s0 ethernet connected --
lo loopback unmanaged --
3、安装NetworkManager-wifi
[root@seastar ~] yum install -y NetworkManager-wifi
4、重启电脑
[root@seastar ~] shutdown now -r
5、查看网络连接
[root@seastar ~] ip addr
3: wlp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:1e:65:ac:39:a4 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.101/24 brd 192.168.1.255 scope global dynamic wlp6s0
valid_lft 3947sec preferred_lft 3947sec
inet6 fe80::21e:65ff:feac:39a4/64 scope link
valid_lft forever preferred_lft forever
up状态