Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I start a machine with Linux Mint 14 installed, the Ethernet NIC chooses a random MAC address to use. Is there a way to disable that behavior?

share|improve this question
This usually happens because the physical mac is no longer in the firmware. Can you boot another OS to confirm it isn't mint specifically causing it? – Paul May 7 '13 at 13:26
check to make sure you don't have the package 'macchanger' installed. – Frank Thomas May 7 '13 at 14:36
I do not have macchanger installed. – Chris Cartwright May 8 '13 at 17:24
@Paul I don't have access to Windows. Would another Linux distribution (Fedora) work? – Chris Cartwright May 8 '13 at 17:25
Yeah,I would try any livecd. Check it against the real Mac (there should be a sticker on the nic or on the machine somewhere for integrated cards) – Paul May 9 '13 at 21:05

Here is a workaround, I suspect the card is faulty and has lost its mac address in firmware.

First install macchanger

sudo apt-get install macchanger

Put a script in /etc/network/if-pre-up.d containing

macchanger eth0 -m 00:16:3e:11:11:18 

This will change the mac of eth0 prior to bringing it up.

share|improve this answer
Doesn't seem to work for me. Screenshot – Chris Cartwright May 21 '13 at 13:38
If you run the script as root does it work from the command line? You may need to put the path to macchanger into the script, and chmod +x it. – Paul May 21 '13 at 13:59
Running it as root works. I tried these instructions as well and it gets the correct MAC address, but fails to obtain an IP address. – Chris Cartwright May 22 '13 at 18:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .