Re: Get mac address of physical NIC card from firmware
Re: Get mac address of physical NIC card from firmware
- Subject: Re: Get mac address of physical NIC card from firmware
- From: Thomas Engelmeier <email@hidden>
- Date: Thu, 14 Apr 2011 19:45:17 +0200
On 14.04.2011, at 19:01, Prashant Saxena wrote:
> First of all, I am a complete newbie on Mac OS X platform and getting my hands
> on slowly. I am writing a tool that should
> print the mac address for appliance activation and license generation. Here are
> the detail of my hardware:
Generally I would refrain from writing mission critical code where I don't have the bare minimum setup, i.e. a chance to test at least common setups.
- MAC addresses can be changed
- MAC addresses are supposed to be unique, but this is not always true. At least for Apple hardware the MAC seems to be well distributed, though.
- it is possible to fiddle with SystemConfiguration framework with the network adapter settings
- You don't expect e.g. cases with additional interfaces like a USB dongle, PCI card, or even smartcards simulating an USB network card.
BTW: The hardware serial number seems to be rather common for those purposes - at least after an motherboard exchange where the serial number was mistyped hell breaks loose on my laptop with all kind of machine identification (I get asked to reactivate all Apple apps, create new TimeMachine backups, and re-activate several 3rd party apps). IOKit is the way to access the motherboard serial number.
Regards,
Tom_E _______________________________________________
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