Proper way for changing MAC address in a linux VM?

Posted by HappyDeveloper on Super User See other posts from Super User or by HappyDeveloper
Published on 2012-07-04T02:26:12Z Indexed on 2012/07/04 3:18 UTC
Read the original article Hit count: 408

I tried to change the MAC address in a ubuntu VM (virtualbox), but after that it threw lots of errors during boot, and then I had no internet connection.

Then I saw that the interface was renamed to eth1, so I edited /etc/network/interfaces to change eth0 to eth1, rebooted (didn't know how to restart the network), and boot was now faster and internet worked fine.

But now after every time I log in, I get 1 or 2 error messages that say nothing, they only ask me if I want to report them.

So I was wondering, is there was a proper way to change MAC address, to avoid these issues?

© Super User or respective owner

Related posts about linux

Related posts about ubuntu