akpcruise.blogg.se

Linux get mac address
Linux get mac address











linux get mac address linux get mac address

Another great option that fits these requirements is the well-known and battle-hardened psutil package by Giampaolo Rodola. However, unfortunately it is no longer maintained as of May 2021, so it may not be a great choice for new projects. If you only need the addresses of network interfaces, have a limited set of platforms to support, and are able to handle C-extension modules, then you should instead check out the excellent netifaces package by Alastair Houghton ( It's significantly faster (thanks to it being C-code) and has been around a long time and seen widespread usage. It provides one function: get_mac_address() Remote hosts on the local network (by IPv4/IPv6 address or hostname).

linux get mac address

System network interfaces (by interface name).It provides a platform-independent interface to get the MAC addresses of: Pure-Python package to get the MAC address of network interfaces and hosts on the local network.













Linux get mac address