加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

How to solve “Device eth0 does not seem to be present, dela

发布时间:2020-12-12 13:43:44 所属栏目:百科 来源:网络整理
导读:Today,I encountered with a strange error after I cloned CentOS 6 guest machine in Oracle VirtualBox. After logging in to CentOS guest,my network card is disappeared. I can’t SSH to the CentOS guest anymore. I tried to check the IP address

Today,I encountered with a strange error after I cloned CentOS 6 guest machine in Oracle VirtualBox. After logging in to CentOS guest,my network card is disappeared. I can’t SSH to the CentOS guest anymore. I tried to check the IP address using command:

# ifconfig

Sample output:

 lo Link encap:Local Loopback 
 inet addr:127.0.0.1 Mask:255.0.0.0
 inet6 addr: ::1/128 Scope:Host
 UP LOOPBACK RUNNING MTU:65536 Metric:1
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0 
 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

eth0?config details doesn’t show up. It only displays the loopback interface details.

I tried to restart the network service to sort out the issue.

# service network restart

Nothing! It simply displayed the following error.

Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization

Method 1:

To fix this problem,simply remove the file?/etc/udev/rules.d/70-persistent-net.rules?and reboot your system.

# rm?/etc/udev/rules.d/70-persistent-net.rules

Now,you will see the network card is up.

Method 2:

If the problem is still not solved,open up the?eth0?config file:

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

Note down the MAC id (HWADDR). change HWADDR to your VMWare Network Card Mac address

[...]
HWADDR=08:00:27:DC:33:3F
[...]

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读