centos 6.0网卡问题总结
eth0不见了的处理方法
1.刚开始运行ifconfig eth0发现网卡不见了。 [root@localhost ~]# ifconfig eth0 eth0: error fetching interface information: Device not found //但是network-scripts里的配置文件全部是eth0的,为什么获取不到也不知道为什么? 处理解决方法只能用eth1替换eth0了,自己创建modprobe.conf文件里面alias eth0 e1000e但是不能识别。 2.[root@localhost network-scripts]# mii-tool //查看网卡连接状态 eth1: negotiated 100baseTx-FD, link ok 3.[root@localhost network-scripts]# ifconfig eth1//能发现eth1网卡 4.[root@localhost network-scripts]# mv ifcfg-eth0 ifcfg-eth1//修改eth0为eth1 5.[root@localhost network-scripts]# vi ifcfg-eth1 DEVICE=eth1//把eth1修改为eth0 ONBOOT=yes//启动激活 TYPE=Ethernet BOOTPROTO=static//静态ip IPADDR=192.168.xx.40 NETMASK=255.255.255.0 GATEWAY=192.168.xx.254
(编辑:佛山站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |