

I will show you here two ways to do this: in Python and in a Shell script. The last scenario I can think of is if you need to get the MAC address in a script to use on many Linux systems, including some Raspberry Pi. And as you can see on the highlighted line, you can also get the Raspberry Pi MAC address this way! Get the MAC Address in a script.After a few seconds, you’ll get the full list of your network devices, like this:.I think the software will detect it automatically. Install it like any other application and then start it.To do this, I like to use Advanced IP Scanner on Windows: If your goal isn’t to authorize a device to access your network, but to assign it a static IP address in the DHCP server, you can also scan the network to find an equipment connected on the network (including any Raspberry Pi). That’s it! You can now do the same thing on your Raspberry Pi, and use the MAC address in your router configuration.Īre you a bit lost in the Linux command line? Check this article first, for the most important commands to remember, and a free downloadable cheat sheet so you can have the commands at your fingertips. So, in this case, the MAC address is b8:27:eb:4f:15:95.The MAC address is visible after the “ether” keyword, here:.In each paragraph, you can see the IPv4 and IPv6 configuration, the MAC address and a few statistics about the network card. You can see one paragraph per network card on your system.Įth0 corresponds to the wired card, and wlan0 is the Wi-Fi card.

#HOW TO FIND WIRELESS MAC ADDRESS FOR MAC HOW TO#
Here is how to do this on Raspbian Desktop:
