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

本文主要讨论了VMWare中遇到的eth0设备找不到的问题,可能与Linux服务端口、socket错误和系统设置有关。同时,提到了CGSL系统中关于用户权限、密码验证及交换分区配置的若干问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天将VMware Server 2.0里面的虚拟机迁移到到ESXi Server 4.1时,发现Windows操作系统的有提示找到一块新网卡(原来网卡是单块AMD,类型桥接,现在网络适配器是VM Netowk),到了迁移OCS-NG的CentOS 6.0的操作系统后,登陆后发现,找不到网卡,只有LO。
#ifconfig
只有LO
#ifconfgi eth0
eth0: error fetching interface information: Device not found
#cat   /proc/net/dev 
[root@ocsinventory-ng net]# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth1: 3087873    6145    1    0    0     0          0         0  1545883    2126    0    0    0     0       0          0
  sit0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
[root@ocsinventory-ng net]# 
里面有没有eth0,只有新生成的eth1,于是
#cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1
#编辑一下ifcfg-eth1,更改里面配置eth0为eth1
#ifup eth1
搞定!
阅读(4230) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值