LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2013, 05:21 PM   #1
dy4linx13
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
How to fix "Device eth0 has different MAC address than expected, ignoring."


Just re-install linux on new system and replaced nic card. Restarted and getting this message: "Device eth0 has different MAC address than expected, ignoring."
 
Old 02-19-2013, 05:36 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
That sounds like udev.

Do a:

Code:
grep -rHi eth0 /etc/udev/rules.d/
It will probably show you a file that has a udev rewrite rule for the eth0 and has the mac hardcoded. More than likely in the file /etc/udev/rules.d/60-net.rules

---------- Post added 02-19-13 at 04:37 PM ----------

This could also be ignored if it is infact udev and the nic is working as intended.
 
Old 02-19-2013, 05:38 PM   #3
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
If it isn't your udev rules its the /etc/sysconfig/network-scripts/ifcfg-eth0(red hat) or /etc/sysconfig/interfaces(debian) that has the MAC address hardcoded. If the network daemon trys to start eth0 and the MAC doesnt match the config file it wont start.
 
1 members found this post helpful.
Old 02-19-2013, 09:59 PM   #4
smbhandary
LQ Newbie
 
Registered: Jan 2013
Distribution: RHEL and AIX ( sort of )
Posts: 18

Rep: Reputation: Disabled
Based on my understanding of the problem statement:

The MAC address that the card has ( as read by the system at boot ) is different from the MAC address the file in /etc/sysconfig/network-scripts/ifcfg-<device> ( RHEL ) says it is.

dmesg | grep eth ---will give you network devices and their MAC address
OR
dmesg | more --- the system will have read every device and called it out at boot


Fix ( edit / replace ) the MAC address value in the relevant interface file in /etc/sysconfig/network-scripts/ifcfg-* with that that the system says it is in dmesg and up the interface or restart the network service.

Last edited by smbhandary; 02-19-2013 at 10:45 PM. Reason: improvement
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"...Device eth0 has different MAC address than expected,.." lothario Linux - Networking 11 08-05-2014 10:24 PM
Device eth0 has a mac address xx:xx instead of configured xx:xx . Ignoring . sethusubbiah Linux - Software 2 12-13-2013 03:23 PM
beginning interface eth0 : device eth0 has different MAC address to expected.FAILED petrofrontier Linux - Software 2 02-28-2011 11:09 AM
eth0: Device eth0 has different MAC address than expected,ignoring. lin1010 Linux - Networking 5 11-24-2010 07:30 AM
Occasionally-- "connected with self-assigned address," "deactivating device eth0" MaxIBoy Debian 4 10-04-2009 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration