How to get Mac address of ethernet port?
Sam
lightaiyee at gmail.com
Sat Jan 11 20:25:08 EST 2014
On Sunday, January 12, 2014 12:34:35 AM UTC+8, Michael Torrie wrote:
> On 01/11/2014 07:35 AM, Andriy Kornatskyy wrote:
>
>
> On Linux you could access the /sys/devices/virtual/net/<interface name>
>
> file in the sysfs filesystem. I'm sure there are other ways.
>
Thank you to everyone for the helpful answers. I am using Linux in this case. I think this is the direction I am looking for. Thanks!
More information about the Python-list
mailing list