VMWare: eth0: error fetching interface information : device not found

时间:2024-04-15 03:26:07

 VMWare: eth0: error fetching interface information : device not found 

  今天在VMware上新搭建的Redhat Linux 64bit 系统,执行命令:ifconfig eth0,报如下错误:

VMWare: eth0: error fetching interface information : device not found

  执行命令:cat /proc/net/dev,发先并没有eth0,而是新生产的eth1,如下图所示:

VMWare: eth0: error fetching interface information : device not found

  解决方案:

1、执行命令:cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1

2、执行命令:vi /etc/sysconfig/network-scripts/ifcfg-eth1,把eth0在为eth1。

VMWare: eth0: error fetching interface information : device not found