centos 7:network: 正在打开接口 ens33: 错误…
2019-03-11 09:44:35来源:博客园 阅读 ()
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.
解决办法:
- 如果新加网卡或者克隆虚拟机,可能是 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 , 注意大小写
原文链接:https://www.cnblogs.com/spaceapp/p/10509345.html
如有疑问请与原作者联系
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- centos7下安装mysql6初始化安装密码 2020-06-05
- CentOS7.6 源码安装 libevent-2.1.8-stable 2020-06-04
- centos6.8 防火墙简单操作 2020-06-02
- CentOS7修改主机名 2020-06-01
- CentOS基础命令大全 (转) 2020-05-28
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash