2014
Jul
27

网页好读版

在 CentOS 启用网卡时,遇到「Device eth0 does not seem to be present」的错误讯息, 这个意思就是代表你的系统抓不到网卡,发生的原因有可能是你换了一张新的网卡,或是说你将备份系统转存到另一颗硬碟来开机,但是 Linux 系统并不晓得这件事,导致找不到网卡。

解决方式一

请先比对 /etc/udev/rules.d/70-persistent-net.rules 与 /etc/sysconfig/network-script/ifcfg-eth0 这两个档案的设定内容是否相同,例如 Mac Address 要一样。

解决方式二

删除 /etc/udev/rules.d/70-persistent-net.rules ,然后重新开机。

网页好读版