当执行以下操作时,会报如下错误
[root@web1 ~]# nmcli connection up ens33
错误:激活连接失败:No suitable device found for this connection.
解决方法:
使用以下四条命令:
chkconfig NetworkManager off #禁止开机启动
chkconfig network on
service NetworkManager stop
service network start
然后使用
[root@web1 ~]# ifup ens33
RTNETLINK answers: File exists
[root@web1 ~]#
[root@web1 ~]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>