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 ,然後重新開機。


回應 (Leave a comment)