Linux中出现网络启动问题Device does not seem to be present怎么办
更新:HHH   时间:2023-1-7


小编给大家分享一下Linux中出现网络启动问题Device does not seem to be present怎么办,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!

Linux网络启动问题:Device does not seem to be present解决办法

在整虚拟机时候经常会遇到虚拟机拷贝,然而拷贝之后网络配置会遇到错误

service network restart启动网络时候提示如下错误:

Device does not seem to be present

解决步骤

1、ifconfig -a 查看当前网卡


2、修改网络配置文件,

vi /etc/sysconfig/network-scripts/ifcfg-eth0

在原来文件的基础上,修改网卡名称为DEVICE=eth2

并且把UUID以及mac地址删掉

3、mv ifcfg-eth0 ifcfg-eth2

4、rm -rf /etc/udev/rules.d/70-persistent-net.rules

5、reboot重启

重启完成后,再次service network start 成功启动!

看完了这篇文章,相信你对“Linux中出现网络启动问题Device does not seem to be present怎么办”有了一定的了解,如果想了解更多相关知识,欢迎关注天达云行业资讯频道,感谢各位的阅读!

返回服务器教程...