Re: Get mac address of physical NIC card from firmware & physical/virtual ethernet identification.
Re: Get mac address of physical NIC card from firmware & physical/virtual ethernet identification.
- Subject: Re: Get mac address of physical NIC card from firmware & physical/virtual ethernet identification.
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Wed, 13 Apr 2011 15:19:41 +0100
On 13 Apr 2011, at 15:09, Mike Cohen wrote:
> On the 2010 MacBook Air, the Wifi connection is en0, so if you're just looking for the primary adapter, it will use that.
BSD interface names are assigned dynamically, so it's not a great idea to assume that "en0" is the primary Ethernet-like interface. This is exactly the sort of subtlety that the GetPrimaryMACAddress sample code is supposed to tackle, which is why I'm curious as to why it's not working for Prashant.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden