当前位置: 移动技术网 > 科技>操作系统>Linux > centos 7:network: 正在打开接口 ens33: 错误:激活连接失败:No suitable device found for this connection.

centos 7:network: 正在打开接口 ens33: 错误:激活连接失败:No suitable device found for this connection.

2019年03月12日 Linux 我要评论
解决办法: 永久修改: 永久修改: 然后把 /etc/sysconfig/network-scripts/ifcfg-ens33(MACADDR) 或者 /sys/class/net/ens33/address 临时修改: 临时修改: 2. Mac 没问题,关闭系统的 NetworkManager ...
mar 11 10:18:18 localhost systemd: starting lsb: bring up/down networking...
mar 11 10:18:19 localhost network: 正在打开环回接口: [  确定  ]
mar 11 10:18:19 localhost networkmanager[9366]: <info>  [1552270699.1055] audit: op="connection-activate" uuid="fd005f04-41ac-4401-bd27-decd3492dd84" name="ens33" result="fail" reason="no suitable device found for this connection."
mar 11 10:18:19 localhost network: 正在打开接口 ens33: 错误:激活连接失败:no suitable device found for this connection.
mar 11 10:18:19 localhost network: [失败]
mar 11 10:18:19 localhost network: rtnetlink answers: file exists
mar 11 10:18:19 localhost network: rtnetlink answers: file exists
mar 11 10:18:19 localhost network: rtnetlink answers: file exists
mar 11 10:18:19 localhost network: rtnetlink answers: file exists
mar 11 10:18:19 localhost network: rtnetlink answers: file exists
mar 11 10:18:19 localhost network: rtnetlink answers: file exists
mar 11 10:18:19 localhost network: rtnetlink answers: file exists
mar 11 10:18:19 localhost network: rtnetlink answers: file exists
mar 11 10:18:19 localhost network: rtnetlink answers: file exists
mar 11 10:18:19 localhost systemd: network.service: control process exited, code=exited status=1
mar 11 10:18:19 localhost systemd: failed to start lsb: bring up/down networking.
mar 11 10:18:19 localhost systemd: unit network.service entered failed state.
mar 11 10:18:19 localhost systemd: network.service failed.

解决办法:

  1. 如果新加网卡或者克隆虚拟机,可能是 mac 地址不对,使用 ip addr 查看mac地址
    • 永久修改:

然后把  /etc/sysconfig/network-scripts/ifcfg-ens33(macaddr) 或者 /sys/class/net/ens33/address

    • 临时修改:
#ifconfig eth0 down /*禁掉eth0网卡,这里以eth0网卡为例*/

#ifconfig eth0 hw ether 00:aa:bb:cc:dd:ee /*修改eth0网卡的mac地址*/

#ifconfig eth0 up   /*重新启动eth0网卡*/

        2. mac 没问题,关闭系统的 networkmanager , 注意大小写

(1)
打赏 微信扫一扫 微信扫一扫

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。

发表评论

验证码:
移动技术网