CentOS 5.5
One of my CenTOS systems recently booted with the following error:
"Bringing up interface eth0: Device eth0 has difference MAC address than expected. ignoring."
When I run ifconfig -a there's no entry for eth0 and I'm reasonably certain that the static HWADDR entry in /etc/sysconfig/network-scripts/ifcfg-eth0 is incorrect.
Are there alternate ways for definitively determining what the correct MAC addresses are via the command-line? I was wondering if perhaps lspci could help? I don't have hwinfo available.
Best Answer
if there is no entry in
ifconfig -a
... that means the device is not detected in the machine... (either due to missing driver support or bad/mis-identified hardware) checkdmesg
to confirm that "eth0" is detected by the system at all. You can alsolspci
to list all devices attached to the system... and look for unknown devices and/or your ethernet controller.