• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Get mac address of physical NIC card from firmware & physical/virtual ethernet identification.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Get mac address of physical NIC card from firmware & physical/virtual ethernet identification. (From: Prashant Saxena <email@hidden>)
 >Re: Get mac address of physical NIC card from firmware & physical/virtual ethernet identification. (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: Get mac address of physical NIC card from firmware & physical/virtual ethernet identification.
  • Next by Date: Get notified when user tries to access certain network
  • Previous by thread: Re: Get mac address of physical NIC card from firmware & physical/virtual ethernet identification.
  • Next by thread: Re: Port forwarding using ipfw
  • Index(es):
    • Date
    • Thread