廣告

2024 年 3 月
 123
45678910
11121314151617
18192021222324
25262728293031

彙整

Device eth0 has different MAC address than expected

使用VMware vSphere Client 從WORKSTATION轉到ESX SERVER上,Linux網卡失效,出現 Device eth0 has different MAC address than expected …………..使用下列方式就可解決,測試過OK。

===========================================================

http://hi.baidu.com/baowup/blog/item/88dba77f3d07e80c28388a5f.html

前天在弄VMware的時候,在VMware上clone了一個linux,後來在clone的linux(RedHat Enterprise Linux 4)上不能上網了,激活eth0時老彈出Device eth0 has different MAC address than expected ,我們只要編輯這個文件:/etc/sysconfig/network-scripts/ifcfg-eth0,把HWADDR=…. 這行刪掉就行了.

還有一個問題,若是點擊激活,出現錯誤:

/sbin/ifup: configuration for eth0 not found. Usage: ifup <device name>

那麼應該是在/etc/sysconfig/network-scripts/這個文件夾下沒有ifcfg-eth0文件,若在/etc/sysconfig/networking/devices目錄下存在一個ifcfg-eth0文件,則只要把這個文件拷到/ etc/sysconfig/network-scripts/這個文件夾下就行了,再點激活eth0網卡時就ok了!