in unix

How to Locate a MAC Address in Mac OS X

In Mac OS X, your MAC (Media Access Control) address is distinct from the IP address assigned to your Mac, and is defined by the hardware of each Ethernet or AirPort interface.

To find your MAC address:

  1. From the Apple menu, select System Preferences.
  2. In System Preferences, from the View menu, select Network.
  3. In the left of the “Network” window that opens, click the name of your connection (e.g., Wi-Fi, AirPort, Ethernet, Built-in Ethernet).
  4. Click Advanced, and in the sheet that appears, click the Hardware, Ethernet, or AirPort tab.

Look at the bottom of the window for “Wi-Fi Address”, the hexadecimal characters next to this are the machines MAC address.

USING TERMINAL

Step One
Launch Terminal from the Applications:Utilities folder.
Step Two
Type ifconfig into the Terminal window and press the Enter/Return key.
Step Three
You will be shown data on all your interfaces.On systems with both an ethernet and wireless connection,

en0 will be your ethernet interface and en1 will be your wireless interface. A MAC address will be shown for both en0 and en1 and likely labeled as “ether”.

On systems with just a wireless connection, en0 will be your wireless interface.