Download Article
Download Article
This article will help you to change MAC address on Ubuntu using Terminal. It is very easy and simple!
Steps
-
Open Terminal.
-
Log in as root so type: sudo -i and then write your password.Advertisement
-
View your current address by typing: ip link show
-
Set the device down to avoid problems. Type: "ip link set dev xxxx down" where xxxx is the name of device you want to set down, so for example: ip link set dev wlan0 down
-
Change your MAC address. Write into terminal this: ip link set dev xxxx address xx:xx:xx:xx:xx:xx where xxxx is the device and xx:xx:xx:xx:xx:xx is your new MAC address. MAC addresses need hexadecimal digits (0-9 and a-f) which you can pick randomly. The command will look like: ip link set dev wlan0 address 74:d0:3b:9f:d8:48
-
Set up your device so type: ip link set dev xxxx up, where xxxx is the name of your device
-
7Step by step:
Advertisement
Community Q&A
Search
-
QuestionIs this a permanent change or just spoofing?SomoneCommunity AnswerThis will remain unchanged until you change it again.
-
QuestionIf I dual boot, will the MAC address remain unchanged after I switch to Windows through restart?Community AnswerNot necessarily. Every hardware network device (e.g., WiFi card) has its own MAC address. However, sometimes the OS (Windows or Linux) changes the MAC address. It differs from system to system and from configuration to configuration.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
- Changing MAC address will help you for example when admin of your network block your MAC so you can bypass it.Thanks
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement
About This Article
Thanks to all authors for creating a page that has been read 126,724 times.
Advertisement