How to change the MAC address of our Mac using Terminal
A few days ago we saw how with iOS 14, iPadOS 14 and watchOS 7 Apple offers us the option to hide the MAC address of our network card to prevent Wi-Fi network providers from tracking us. Although this functionality has not reached the Mac, at least for now, a simple Terminal command is enough to achieve the same effect.
Hello, my name is a1: b1: c1: d1: e1: f1
When we connect to a Wi-Fi network, the access point with which we do it, which in our house is the router, you need to identify our device. Why? Because you need to know what traffic to direct to each device, so it is important that you distinguish between them.
For this distinction, the MAC (media access control) address is used, which we could understand as the license plate of the network card. This license plate is embedded in the manufacture of the same card and never changes, so there is the possibility that the network operator or other observers on the network may relate our device to certain data. A relationship that includes both the activity on the network, such as DNS requests, as well as our location in various access points, such as in a museum and its different rooms.
Changing the MAC address of our network card is quite simple, The steps are the following:
We open the Terminal app on our Mac.
Copy and paste: sudo ifconfig en0 ether $ (openssl rand -hex 6 | sed ‘s / (..) / 1: / g; s /.$//’)
We press Enter (↩︎).
We write the password of our computer.
We press Enter again.
If instead of a random MAC we want to use our own address, we can use the command “sudo ifconfig en0 ether ”where the address will need a format a1: b1: c1: d1: e1: f1. Once the change is made a simple click on the Wi-Fi icon in the menu bar while holding down the option key will indicate the new address at the top of the menu. For now it seems that this system still does not work in macOS Big Sur which, on the other hand, is still in beta.
Easy and efficient, either to get a little more time on the airport Wi-Fi or because we simply do not want the network operator to be able to meet us every time we go to Starbucks to work with our Mac, Terminal is at our disposal.
Related Posts:
- How to change the MAC address of our Mac using the terminal
- [REVIEW] : Desktop Mac buying guide: Mac mini, Mac Studio or Mac Pro?
- 15 Terminal instructions for accessing hidden Mac OS X options
- Modify Mac OS X Leopard from the terminal
- What is the MAC address of your computer, mobile or any device
- How to see the size of the folders using Finder on our Mac
- So we can remove the background of an image using Preview on our Mac
- How to add, view and delete bookmarks in PDF documents using Preview on our Mac
- reveal an attack using Microsoft Office that can affect the Mac
- Using Twitter the Mac style
- [HOT] : Apple @ Work Podcast: True or False - a review of Apple's top reasons for using a Mac at work
- Rumors of a new “Mac nano” with a radical design change, at the end of October
- MadMACs, randomly change your MAC and your hostname
- New to Mac? Let’s learn the basics of the Mac App Store
- Mac ARMs defy skeptics: Early Mac mini developer tests let Surface Pro X bite the dust
- How to put a Mac mini in a Mac SE / 30
- My First Mac, tips for getting started with a mac
- There are already more Mac Intel than Mac PowerPC
- Slow Mac: Seven Things We Can Do To Improve Our Computer Speed
- So we can install Netflix, Instagram or Plex apps on our Mac with M1
- How to create a headless server with our old Mac and enjoy the advantages of a semi-virtual machine
- What does the warning that our Mac’s battery won’t charge mean?
- How to customize folder and application icons on our Mac
- How to improve the security of our Mac through the system firewall
- Seven cool shortcuts to be more productive on our Mac
- How and why to activate battery management on our Mac
- AUKEY CB-C71, the ideal eight-port hub for our Mac or iPad Pro
- Five small functions of the Mac to improve our productivity
- So we can uninstall Flash from our Mac now that Adobe has declared it obsolete
- A Mac or an iPad that can charge our iPhone, Apple Watch or AirPods wirelessly
- New to the Mac? So we can decide with which apps our files are opened
- How to check the battery consumption history of our Mac with macOS Big Sur
- We can now play CyberPunk 2077 on our iPhone, iPad or Mac
- How to deactivate the fonts that we do not use on our Mac
- Xbox Wireless Controller, one of the best controllers to play on our iPhone, iPad, Mac or Apple TV
- How to add, see and delete Safari extensions on our Mac
- How to create and edit a playlist on the TV app on our Mac
- So we can check which apps on our Mac are optimized for the M1
- So we can create our own Memoji on a Mac with Big Sur
- This is how we can solve the errors in the favorite icons of Safari on our Mac
- How to rename Finder labels on our Mac
- How to print a document upside down or in reverse order with our Mac
- Elmedia Video Player, more than a video player for our Mac: App of the week
- One More Thing … How to correct texts on our Mac, privacy on the network and the anti-reflective screen of the iMac
- The iPhone of other close people will now tell us where our lost Mac is, regardless of whether it has no connection
- What does the notice that the battery of our Mac “is not charging” means
- How and why empty the DNS cache of our Mac in macOS Catalina and Big Sur
- Pocket information from our Mac
- Dominating the menu of our Mac
- Nocturne, reading on our Mac with a lot of light