How to Change Mac Address of Mac Os Computer

CHIP presents a cheat sheet on how to change the MAC address of a network adapter on all popular operating systems, including Windows, Linux, Mac OS, as well as iOS and Android.

Each device through which you access the Internet, whether it is a computer network card or a smartphone’s Wi-Fi module, has a unique physical address, or MAC address. How to change it (and why it is necessary) read in our article.

Why do I need a MAC address?

The MAC address (Media Access Control, media access control address) is recorded in the factory firmware of the network adapter during its manufacture. It is needed in order to identify a specific network adapter on the network (as opposed to an IP address that identifies the entire computer). Each data packet received by the adapter contains its MAC address so that the device can “understand” that this data is intended for it.

In practice, the MAC address is used for the following:

  • To assign a static IP address. If you bought a new computer in your office and you cannot enter the corporate network, you can ask the system administrator to change the IP assignment settings by specifying the physical address of the new network card. or change the new MAC to the old one yourself;
  • To filter network access. If your device cannot connect to the Wi-Fi point, it is possible that it is configured by MAC address: if you replace your MAC with one of the addresses from the list of devices that are allowed to access it, the connection will work;
  • To identify a device on a network. If you bought a new computer for home and cannot access the Internet with your username and password, you can change the MAC address of the network card of the new PC to the MAC from the old one. this is much faster than calling the provider and reporting the new MAC;
  • To restrict network access. For example, the cafe has free Wi-Fi, which can be used for 30 minutes from each MAC address. If you change the MAC, you can reconnect to a point in the cafe and use the Internet further.

The MAC address has a 16 character format. It can use numbers and latin letters, which are separated by colons. It should not start with two zeros, but should end with 2, 6, A or E (this requires a number of network cards). For example: AA: 66: 33: 00: 22: EE.

How to change the MAC address on Windows?

The method is the same for all versions of Windows, including Windows 10. It consists in changing the MAC through Device Manager.

  1. Click Win r. In the window Run enter devmgmt.msc and press Enter.
  2. The device manager will open. In the device tree under Network adapters Find your adapter.
  3. Right-click on the adapter name and select properties.
  4. Go to tab Additionally and in the list Property select item Network address.
  5. Enter the address you need in the field that appears (you just need to enter 16 digits and letters without colons: AA66330022EE).

How to Change Mac Address of Mac Os Computer

Click OK. The MAC address of the adapter will be changed until the next reinstallation of Windows.

How to change MAC address in Linux?

In popular Linux distributions, for example, in Ubuntu, you can change the MAC address using the network manager.

  1. Click on the network connection icon in the upper right corner (or lower. depending on the graphical shell used) and select Change Connections.
  2. In the window that appears, select the connection whose MAC address you want to change.
  3. Click the Edit button (or the gear icon).
  4. In field Cloned MAC Address enter a new physical address.

You can also change the MAC address by typing in the console:

where eth0 is the name of your network adapter (recognized by the command ifconfig.a),

XX: XX: XX: XX: XX: XX. the new MAC address.

The physical address of the adapter will be changed until the first reboot. You can make the new MAC permanent by entering it in the place of the old one in the configuration file /etc/network/interfaces.d/.

How to change MAC address on Mac OS?

On Mac, you can change the physical address of the network adapter only through the command line. To do this, do the following:

  1. Open command prompt by pressing Ctrl spacebar.

2. Enter the command:

where en0 is the name of your adapter (recognized by the command ifconfig),

XX: XX: XX: XX: XX: XX. the new MAC address.

The MAC address will be changed until the next reboot. Unlike Linux, you cannot make it permanent.

How to change the MAC address on Android?

In order to change the MAC address on a smartphone with Android, root must be obtained on the device. There are no ways to do this on a device without root rights.

If you have root, do the following:

  1. Install and run the Root Explorer app.
  2. Turn on wifi.
  3. In the window that appears, click on the button Mount r / o.
  4. Root Explorer will request root privileges. Click on the button Provide.
  5. Find and open the directory data.
  6. Find the file in the directory .nvmac.info and open it with a text editor.
  7. Replace the MAC address in the file with a new one.
  8. Go to the file properties and check the boxes in all fields Read. Click OK.

The MAC address will be changed permanently.

How to change the MAC address on iOS?

  1. Download the MobileTerminal app in Cydia and launch it.
  2. Enter command su.
  3. When prompted for a password, enter alpine.
  4. Enter the command to change MAC: addresses:

where en0 is the name of your adapter,

XX: XX: XX: XX: XX: XX. the new MAC address.

In this way, you can change the MAC address on iOS before the first reboot of the phone.