Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1820135
  • 博文数量: 354
  • 博客积分: 11021
  • 博客等级: 上将
  • 技术积分: 4048
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-24 10:04
文章存档

2020年(1)

2018年(1)

2016年(1)

2015年(2)

2014年(4)

2013年(4)

2012年(12)

2011年(14)

2010年(37)

2009年(34)

2008年(22)

2007年(68)

2006年(102)

2005年(29)

2004年(21)

分类: LINUX

2010-08-20 01:13:56

CentOS5: Device eth0 has different MAC address than expected

Centos/linux重启出现错误信息:
Device eth0 has different MAC address than expected

应该是dmesg 和 eth0 配置文件之间的冲突。

[root@banyue.net ~]# dmesg | grep eth0
divert: allocating divert_blk for eth0
eth0: RTL-8139C+ at 0xd0842000, 40:61:86:ED:25:E7, IRQ 11
plumlee.cublog.cn
[root@banyue.net ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR=40:61:86:ED:35:17
ONBOOT=yes
TYPE=Ethernet
IPADDR=192.168.122.101
NETMASK=255.255.255.0
GATEWAY=192.168.122.1
DNS1=192.168.122.1
[AD:TruCheck USB条码检测仪 ]
改正很简单,HWADDR=40:61:86:ED:35:17 改成正确的40:61:86:ED:25:E7 就OK了

HWADDR=40:61:86:ED:25:E7


如果你用dmesg | grep eth0这个命令看不到MAC地址的话,可以用ifconfig eth0这个命令来看。看到就记录下来,在ifcfg-eth0中改就可以了。


阅读(1637) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-11-14 16:50:45

service network restart