当前位置:网站首页>重启网卡提示Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization.
重启网卡提示Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization.
2022-08-09 15:02:00 【BigData_C】

原因分析:
这是因为克隆的机器没有正确的mac,UUID信息冲突导致的,首先将/etc/udev/rules.d/70-persistent-net.rules文件清空:
解决办法:
rm -f /etc/udev/rules.d/70-persistent-net.rules文件删除(或者重命名):cat /etc/udev/rules.d/70-persistent-net.rules
然后将网卡配置文件/etc/sysconfig/network-scripts/ifcfg-eth0的uuid和hwaddr这两行删除:

保存保存修改后,重启系统
这时重启网卡就能正常重启了执行命令:/etc/init.d/network restart
再次执行ifconfig即可看到获取的ip了

边栏推荐
猜你喜欢
随机推荐
List,Set,Map,Queue,Deque,Stack遍历方式总结
单臂路由与三层交换机实现跨VLAN通讯
路由概述与静态配置ip
软件测试工具清单
堆(heap)系列_0x08:NT堆调试支持_立刻发现调试支持(DPH)
如何用栈实现队列
GO 使用 Protobuf实用指南
Face recognition sample code analysis (2) - face recognition analysis
Monte Carlo simulation
Unity Shader零基础入门1:纯色物体
Analytic Hierarchy Process (AHP) - Applications of MATLAB in Mathematical Modeling (2nd Edition)
Heap series _0x02: The past and present of the heap (WinDbg+Visual Studio compilation)
使用NATS及其nats.c客户端简单示例用法(nats.c的API接口)
go语言基础学习(一起学习go语言)
Makefile通用模板
TOPSIS优劣解距离法
机器学习的基本术语
Basic Terms of Machine Learning
【剑指 Offer】 37. 序列化二叉树
【QT】QLayout: Attempting to add QLayout “to ***“, which already has a layout的终极解决方法









