经验首页 前端设计 程序设计 Java相关 移动开发 数据库/运维 软件/图像 大数据/云计算 其他经验
当前位置:技术经验 » 数据库/运维 » Linux/Shell » 查看文章
centos 7:network: 正在打开接口 ens33: 错误:激活连接失败:No suitable device found for this connection.
来源:cnblogs  作者:binger0712  时间:2019/3/12 8:49:03  对本文有异议
  1. Mar 11 10:18:18 localhost systemd: Starting LSB: Bring up/down networking...
  2. Mar 11 10:18:19 localhost network: 正在打开环回接口: [ 确定 ]
  3. 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."
  4. Mar 11 10:18:19 localhost network: 正在打开接口 ens33 错误:激活连接失败:No suitable device found for this connection.
  5. Mar 11 10:18:19 localhost network: [失败]
  6. Mar 11 10:18:19 localhost network: RTNETLINK answers: File exists
  7. Mar 11 10:18:19 localhost network: RTNETLINK answers: File exists
  8. Mar 11 10:18:19 localhost network: RTNETLINK answers: File exists
  9. Mar 11 10:18:19 localhost network: RTNETLINK answers: File exists
  10. Mar 11 10:18:19 localhost network: RTNETLINK answers: File exists
  11. Mar 11 10:18:19 localhost network: RTNETLINK answers: File exists
  12. Mar 11 10:18:19 localhost network: RTNETLINK answers: File exists
  13. Mar 11 10:18:19 localhost network: RTNETLINK answers: File exists
  14. Mar 11 10:18:19 localhost network: RTNETLINK answers: File exists
  15. Mar 11 10:18:19 localhost systemd: network.service: control process exited, code=exited status=1
  16. Mar 11 10:18:19 localhost systemd: Failed to start LSB: Bring up/down networking.
  17. Mar 11 10:18:19 localhost systemd: Unit network.service entered failed state.
  18. 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

    • 临时修改:
  1. #ifconfig eth0 down /*禁掉eth0网卡,这里以eth0网卡为例*/
  2. #ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE /*修改eth0网卡的MAC地址*/
  3. #ifconfig eth0 up /*重新启动eth0网卡*/

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

原文链接:http://www.cnblogs.com/spaceapp/p/10509345.html

 友情链接:直通硅谷  点职佳  北美留学生论坛

本站QQ群:前端 618073944 | Java 606181507 | Python 626812652 | C/C++ 612253063 | 微信 634508462 | 苹果 692586424 | C#/.net 182808419 | PHP 305140648 | 运维 608723728

W3xue 的所有内容仅供测试,对任何法律问题及风险不承担任何责任。通过使用本站内容随之而来的风险与本站无关。
关于我们  |  意见建议  |  捐助我们  |  报错有奖  |  广告合作、友情链接(目前9元/月)请联系QQ:27243702 沸活量
皖ICP备17017327号-2 皖公网安备34020702000426号