Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I would like to save a new MAC to the hardware, so I can use the new MAC address on Windows. I am using live CD of the newest Ubuntu. If I try ifconfig it doesn't save it for my Windows system. I don't have admin permissions on Windows.

I need to change MAC address so the Windows one changes too.

share|improve this question – Anonymous Oct 25 '11 at 20:15
mac address change for a hardware and you had to do again on every computer . if you have a live cd . you must do this every time when you boot it – user84277 Oct 17 '12 at 20:02
@Tomasz You commented below that you have "full owner rights" to the machine. If this includes the right to make whatever changes you want to the installed Windows system, then the best solution to your problem might be to use the Ubuntu live CD to facilitate obtaining administrate abilities in your Windows system. Since such a procedure actually has little to with Ubuntu and much to do with Windows, it would probably be considered off-topic here, but you could ask where Windows is supported, such as Super User. (You should search first though, e.g. for "sethc.exe".) – Eliah Kagan Dec 23 '12 at 12:00
up vote 3 down vote accepted

What network card? Some NICs store the MAC in EEPROM that can be reprogrammed by software. If your card is setup like this, and the Linux driver exposes an interface to the EEPROM, ethtool (available in Ubuntu repos) can read/write to it.

This article looks like a good overview of the process of rewriting the MAC. Don't blindly use the examples from there though, since they may not be suited for your card.

share|improve this answer

Run nm-connection-editor then click on the 'Edit...' button.

share|improve this answer
It doesn't change the mac so windows sees it. It saves it for the time the ubuntu runs. – Tomasz Oct 25 '11 at 18:03

The MAC address is coded to the firmware of the NIC (Network Interface Card). In order to change the MAC on the card itself you would need to change the data in the firmware. The 'nm-connection-editor' doesn't do this. I don't believe there is an application under Ubuntu that does this. Even 'macchanger' is a temporary change that is reflected by the OS, not the card.

Also, you may want to check on the legal status of what you are trying to do. Agree or not, I'm fairly sure it's a questionable practice. Especially on a machine that you don't have administrative rights on.

Update: You can see more about MAC address spoofing and it's implications here. This is a Canadian website. The legal implications vary based on your location/jurisdiction.

share|improve this answer
Well I don't care about the guarantee, yet I have full owner rights of the machine. That would make the legal side clear. – Tomasz Oct 25 '11 at 21:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.