My hardware MAC address is always 00:00:00:00:00:00 until I manually update 'eth0'. How can I fix this?

Posted by user57184 on Ask Ubuntu See other posts from Ask Ubuntu or by user57184
Published on 2012-06-05T04:02:02Z Indexed on 2012/12/10 5:19 UTC
Read the original article Hit count: 208

Filed under:
|
|

I am using Ubuntu 12.04. I use a wired connection. My network MAC address shows as 00:00:00:00:00:00.

When I enter the commands below into a terminal window, it starts working again.

sudo ifconfig eth0 down
sudo ifconfig eth0 hw ether my mac address
sudo ifconfig eth0 up

I have to enter these commands every time I want to use the Internet. How can I fix this?


Update copied from comment

The contents of my /etc/NetworkManager/NetworkManager.conf file is:

[main] 
plugins=ifupdown,keyfile 
dns=dnsmasq 
no-auto-default=00:00:00:00:00:00,

[ifupdown] 
managed=false

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about networking