How to know mac address mac
How to know mac address mac
Как узнать Mac-адрес на Mac (Macbook, iMac, Mac Mini)
При работе в общей сети или при создании сетевого подключения через роутер, может потребоваться узнать Mac-адрес компьютера, с которого идет подключение. Mac-адрес есть у каждого компьютера, и он индивидуален. У Macbook, iMac, Mac Mini такой адрес тоже имеется. В этой статье мы рассмотрим способы узнать Mac-адрес на Mac.
Через информацию о Mac
Проще всего узнать Mac-адрес компьютера через настройки. Для этого в левом верхнем углу экрана нажмите на значок с яблоком и перейдите в раздел “Об этом Mac”.
Откроются основные сведения о компьютере. К детальной информации можно перейти нажав “Отчет о системе”.
Переключитесь в левом меню в раздел Wi-Fi подраздела “Сеть”. Справа отобразится информация о сетевом оборудовании компьютера. В строке “Mac-адрес” раздела “Интерфейсы” можно найти нужную информацию.
Через настройки Mac
Еще один способ узнать Mac-адрес Macbook, iMac или Mac Mini — это посмотреть его в настройках сети компьютера. Нажмите в левом верхнем меню на значок яблока и перейдите в раздел “Системные настройки”.
Далее перейдите в раздел “Сеть”.
В разделе “Сеть” внизу нажмите “Дополнительно”, чтобы зайти в детальные настройки сети.
Здесь Mac-адрес будет отображаться в нижней строке.
Отметим, что Mac-адрес у каждого компьютера один. Соответственно, каким бы способом из приведенных в этой инструкции вы не посмотрели Mac-адрес, он будет одинаковым.
Через “Терминал” на Mac
“Терминал” в Mac — это аналог командной строки в Windows. Зная команды, через “Терминал” можно получить различную информацию о компьютере. Откройте “Терминал” — это проще всего сделать через поиск Spotlight.
Далее введите команду ifconfig и нажмите Enter.
Отобразится информация о сетевом оборудовании, а также об использованных сетях. В строке en0 mac-адрес будет отображаться в пункте ether.
Способ отображения Mac-адреса через “Терминал” удобен тем, что есть возможность скопировать данный адрес, если его необходимо переслать.
Shell command for getting mac address in OS X
I have been handicapped by the GUI and always seem to ask of help when it comes to the command line.
On Mac OS X only I need a command line to get the mac address of the wifi currently in use.
6 Answers 6
Trending sort
Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.
It falls back to sorting by highest score if no posts are trending.
Switch to Trending sort
ifconfig en1 gets the interface details for wifi, the mac is on a line starting with ether, and is the second word on that line so:
I think the best and easiest way to get the information is using this command:
It will return a nice list of devices like this:
Wifi mac address is normally can be found in en0. So you may try this command on Terminal
ifconfig should do the trick, it’ll display a bunch of info including your MAC address. Alternatively it’ll be in your network settings under system preferences.
EDIT
On a computer with just a wireless connection, en0 will have your wifi settings. The tag labeled with ether will most likely be your MAC address.
If you have both a wired and wireless connection, it’ll be under ether in the en1 tag
How to Find MAC Address on MacBook
In the world of modern-day technology, there are many different addresses. And I’m not talking about where you send letters to your Grandmother for Valentine’s day here. Or the family farm or where you sleep at night, either…
On your computer and within the realm of the internet there are multiple addresses that exist to identify different sorts of things.
Some of these you may have heard of before like a web address or even an IP address. But what about a MAC address? Sounds like the address of where your MacBook lives? It’s not.
We’ll get into exactly what this address is and how to find it in this article. If you don’t know what a MAC address is or how to find it on your MacBook, you will after reading this article.
What is a MAC Address?
You may be thinking that this address has something to do with your computer being an Apple device.
MAC address sounds like it is related to Mac products, right? Well in the case of this tech term, it doesn’t actually have anything to do with Apple products or your MacBook specifically.
MAC is an acronym for Media Access Control. This shortened abbreviation of MAC comes into play when trying to connect your computer to a network and applies to all computers not just your MacBook Pro.
All laptops, desktops, PCs, and Macs have MAC addresses associated with them. This address comes in the form of a 12-digit code and your MacBook Pro actually has two of them. One is related to the Ethernet connection and the other for the Wi-Fi adapter.
To break it down even further, this MAC address is not specifically associated with your computer at all, but rather the network cards that are built into the machine.
And these MAC numbers can be on different devices such as phones, tablets, or any other device with the capability of connecting to a network.
Why is MAC Address Important?
The most common use of a MAC address is based on network access filtering.
This basically means that the MAC address number allows an Internet provider to have control over your access. This keeps internet access to one source in a house from a device like a modem.
MAC addresses can also be used to assign static IP addresses and filter these addresses to limit the number of device connections.
In addition to this, MAC addresses are used to identify your device at a location such as an Internet Cafe that might have a time limit on use or to track your device for reasons good and bad, depending on your opinion of having your information tracked.
How to Find Your MAC Address on MacBook
There are two different ways to access your different MAC addresses on your computer.
The first one is pretty easy and the other involves going into your terminal which is the location of the source code on your MacBook. This second method may seem intimidating, but it can actually be fun to work with a little bit of code.
Try it out if you’re curious and follow the steps below to gain access!
Find MAC Address via System Preferences
The above steps will allow you to know your WiFi MAC address. To find the other MAC address on your MacBook, the one associated with your Ethernet, follow these steps:
Find MAC Address Using Terminal
This method involves using a little bit of code, as I mentioned above. Don’t be intimidated if you’ve never done something like this before. It’s good practice to know how to access your terminal and can be fun to explore this aspect of your computer.
Final Thoughts
You might never need to access your MAC address and you might not even know what this was before reading this article. If you were searching for this address, you now have the tools to find it either through the System Preferences on your Mac or through the Terminal.
Regardless of why you need to know your MAC address, it’s good to have the skills to be able to do so. Remember to try to access the terminal if you never have before!
Have you ever had to access your MAC address before? Why did you need it?
How to Find Your MAC Address in Mac OS X
These are instructions on how to find the MAC address of your ethernet or wireless networking card in Mac OS X.
USING SYSTEM PREFERENCES:
Step One
Select System Preferences from the Apple menu at the top left of your screen.
Step Two
Click Network from the System Preferences menu.
Step Three
Choose Wi-Fi from the list of interfaces on the left and click the Advanced button.
Step Four
Choose the Hardware tab under which you will see the MAC address of your wireless card.
Step Five
Press Cancel to return to the Network menu. Choose Ethernet from the list of interfaces on the left and click the Advanced button.
Step Six
Choose the Hardware tab under which you will see the MAC address of your ethernet card.
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 labelled as «ether».
On systems with just a wireless connection, en0 will be your wireless interface. The MAC address for en0 will likely be labelled as «ether».
What is a MAC Address? How to Find My MAC Address
March 21, 2014 by LearnTomato
How are IP addresses associated with hardware?
Clearly, there must be some way to associate an IP address to a computer, right? There is. Every hardware device that connects to the Internet has a unique identifier known as a MAC address.
What is a MAC address?
No, we are not talking about a MAC computer from Apple, Inc.
A MAC (Media Access Control) address is the physical hardware identifier for the actual network card itself; whereas, an IP address is a logical network address. A MAC address is permanently programmed into the hardware device by the manufacturer; therefore, a MAC address cannot be changed. An IP address can be changed.
This is a picture of a wireless Network Interface Controller (NIC) card from a laptop computer.
Hardware MAC Address
Think of it like this: Your house is physically located at: 123 Main Street, Somewhere, USA. But you send and receive calls through a telephone operator using your home phone number. The person calling does not know where your physical home address is. The nice thing is that you can change your home phone number at any time and still send/receive calls through the operator.
Remember: a MAC address is a physical address. An IP address is a logical address.
This is a picture of an Ethernet Network Interface Card (NIC) for a desktop computer.
Network Interface Controller (NIC)
How many MAC addresses does a Computer have?
Each Network Interface Controller (NIC) has its own MAC address. If you have a network card in your desktop computer, it has a MAC address. If you have a wireless network card in your laptop, that also has a MAC address. If you connect to the Internet with a smart phone, your smart phone also has a MAC address.
If you have a laptop that can connect wirelessly, or with a network cable, your laptop will have two MAC addresses (one for each network interface controller). For Example:
Wireless MAC address: 01:23:45:67:89:AB
Wired Ethernet MAC address: 01:23:45:67:89:CE
Ethernet / Wireless MAC Address
In the previous image, I have one Etherent controller, and one wireless controller. Each network controller has its own MAC address. If the computer has two Ethernet ports, it will have a MAC address for each Ethernet port. If it has dual-band wireless capability, it will have a MAC address for each wireless band. If your computer has two Ethernet ports and dual-band wireless, it will have four MAC addresses. I think you get the idea.
How do MAC addresses work?
When you router wants to send data packets to your computer with IP address ‘X’, the router needs to know what your computers MAC address is. So, the router sends an ARP broadcast request on the LAN. ARP means Address Resolution Protocol. Your router is basically trying to resolve (find) the physical address of which computer this IP address belongs to. So, the router sends a broadcast that says “hey everyone, if you have IP address X, please tell me what your MAC address is.” One of your computers will respond “Hello, I have IP address X and my MAC address is XYZ, please forward the data to my MAC address.”
The IP address is what is first used to find the right network. Once the request reaches the correct network using the IP address, ARP is what converts an IP address to a MAC address and delivers the data packet to the right computer.
TIP: ARP may sound similar to a Network Address Translation (NAT), but you need to understand that NAT is used for addressing and locating networks; whereas, ARP is used to deliver the actual data to the physical device.
Once again, let’s use the address and telephone number example to break this down into a digestible example:
From a technical viewpoint, it looks more like this:
The laptop says “who has IP address 192.168.1.1”? (which is the routers IP address). “Please tell 192.168.1.2” (tell me, the laptop, because I’m trying to send/receive data).
The router responds, “I have IP address 192.168.1.1 and I see that you’re calling from 192.168.1.2 so I’ll forward all data packets to your physical MAC address 01:23:45:67:89:AB.”
Источники информации:
- http://stackoverflow.com/questions/28685156/shell-command-for-getting-mac-address-in-os-x
- http://www.macbookproslow.com/find-mac-address-macbook/
- http://www.iclarified.com/30929/how-to-find-your-mac-address-in-mac-os-x
- http://learntomato.flashrouters.com/what-is-a-mac-address-how-to-find-my-mac-address/