How to find MAC address in Ubuntu?
6,832
Both. You have two network interfaces, hence the two lines.
enp0s31f6
is most probably a wired interface, its MAC isd8:9q:26:7d:34:ff
,wlp1s0
is a wireless interface, its MAC isf8:71:38:53:e9:1p
.
Related videos on Youtube
Author by
user768490
Updated on September 18, 2022Comments
-
user768490 almost 2 years
I am trying
ifconfig | grep HWaddr
it gives me output in two lines
enp0s31f6 Link encap:Ethernet HWaddr d8:9q:26:7d:34:ff wlp1s0 Link encap:Ethernet HWaddr f8:71:38:53:e9:1p
Which one is my MAC address ?