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


    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 , 注意大小写

  • 相关阅读:
    YUM安装MySQL 8.0
    linux 设置 别名 全局命令
    2018.3.12校内互测总结-生成函数-bitset-二次剩余
    Dirichlet 前缀和与快速莫比乌斯变换(FMT)
    CSP-S2 赛后总结
    概率和期望
    【题解】[洛谷 P4396 / bzoj 3236] 作业【莫队 分块 根号平衡】
    【题解】[LOJ 2736] 「JOISC 2016 Day 3」回转寿司【分块 堆】
    【题解】[UOJ 228] 基础数据结构练习题【线段树 均摊数据结构】
    【题解】[Codeforces 438D] The Child and Sequence【线段树 均摊数据结构】
  • 原文地址:https://www.cnblogs.com/spaceapp/p/10509345.html
Copyright © 2020-2023  润新知