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

来源:互联网 发布:java开源cms系统 编辑:程序博客网 时间:2024/06/09 23:05
今天将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) |
0

上一篇:远端桌面,强制登录

下一篇:【ZT】解决ssh登录后闲置时间过长而断开连接

相关热门文章
  • linux 常见服务端口
  • 【ROOTFS搭建】busybox的httpd...
  • 什么是shell
  • linux socket的bug??
  • linux的线程是否受到了保护?...
  • IBM DS3400 盘阵怎么查看是单...
  • 启动auditd时,报错如下,怎么...
  • CGSL系统中root密码正确,但无...
  • 在CGSL系统中,如何为不同的用...
  • CGSL系统如何设置交换分区的大...
给主人留下些什么吧!~~
评论热议
0 0
原创粉丝点击