Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

A MAC address is a string of zeros. Why?

Writer Mia Lopez

When I execute:

$ cat /sys/class/net/*/address

I get:

f4:b5:20:23:9a:a4
00:00:00:00:00:00

The 1st is my ethernet MAC address, and the 2nd is, I guess (I'm not an expert on those things), my computer's MAC address. The computer works fine despite this all-zero address. However, I am having trouble to register a software online, because the registration process requires a "real" MAC address and an all-zero address is not acceptable.

Why is that and what should I do (if anything)?

Ubuntu 20.04 (Xfce) 64-bit.

Thanks.

2

1 Answer

Your are throwing out useful information with your method. Information which tells you which interface corresponds to which MAC address. Do this instead:

~$ grep . /sys/class/net/*/address
/sys/class/net/enp2s0/address:00:19:b9:0d:af:fa
/sys/class/net/enp4s0/address:00:22:b0:75:c2:bd
/sys/class/net/lo/address:00:00:00:00:00:00

And therefore we observe that is the local loopback interface, lo, with the all 0's MAC address.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy