需要开启NetworkManager,保证此服务开启才能使用。
systemctl restart NetworkManager
[root@localhost ~]# nmtui
回车进入如下界面
回车
修改完里面的配置,然后进入如下界面