How to change the MAC address on linux

change MAC address – Hello guy’s, Welcome to another article in this article we are going to discuss how to change MAC address and this is the first step to the wifi hacking process.

What is MAC address?

The full form of MAC address is Media access control address. Mac address is a unique identifier that is assigned to a network interface controller. it consists of 48 bit and 64-bit address. which is associated with the network adopter. MAC address can be in hexadecimal format.
1.Media access control
  • Permanent
  • Physical
  • Unique
2.Assigned by manufacturer

How to find?

In the Linux system, you just type this below command on your terminal this command will help you to find your MAC address.

sudo ifconfig

How to change the MAC address on linux

How to change the MAC address?

Step 1:

The first step is we need to install macchanger on our Linux so type this below command on our linux terminal.

sudo apt install macchanger

How to change the MAC address on linux

Step 2:

Now you down your network interface so type the below command on our terminal.

sudo ifconfig wlan0 down

How to change the MAC address on linux

Step 3:

Once you down your interface now you type this below command on your terminal this command will help you to change your MAC.

sudo ifconfig wlan0 hw ether 00:11:22:33:44:55

I type mac address for just educational purposes.  you can type any MAC address which you want.

Step 4:

Now you need to enable your network interface so type this below command on your Linux terminal.

sudo ifconfig wlan0 up

That’s it now your mac address was changed.

Why change the MAC?

Some time’s you think why we change our MAC address the main reason is the below 3 reasons.
  1. Increase Anonymity
  2. Impersonate other devices
  3. Bypass filters

3 thoughts on “How to change the MAC address on linux

Leave a Reply

Your email address will not be published. Required fields are marked *