当前位置:网站首页>重启网卡提示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了
边栏推荐
猜你喜欢
随机推荐
Vim practical skills_0.vim - introduction
Word 2016 撰写论文(1): 公式居中、编号右对齐
2022.7.16学习总结
【QT】窗口的显示与模态窗口
Heap series _0x05: A diagram analyzes the connection between heap block allocation and FreeLists
Unity UI框架思路与实现
Introduction to common commands in SQLMap
【QT】QLayout: Attempting to add QLayout “to ***“, which already has a layout的终极解决方法
GCC编译过程
SQLMap常用命令介绍
如何通过Photoshop根据纹理贴图轻松获得法线贴图
CTF online encryption and decryption and common tools
数据库导入导出sql数据库文件
Correlation analysis
Vim practical skills_3. Visual mode and command mode
【Postgraduate Work Weekly】(Week 5)
基于FTP协议的文件上传与下载
NAT-UDP穿透详解与实践
The practical skills Vim _5. Move quickly between files and documents
easywsclient的DEMO测试