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:

First, we need to install the “macchanger” tool on our Linux so type the following command into your terminal.

sudo apt install macchanger

How to change the MAC address on linux

Step 2:

Now we need to block our wifi network adapter because the mac address cannot be changed while the wifi network adapter is active. so execute the following command

sudo ifconfig wlan0 down

How to change the MAC address on linux

Step 3:

After blocking your wifi network adapter you can change your mac address by typing the following command into your terminal.

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

In the command given above, type your preferred mac address where the mac address may be.

Step 4:

After changing your mac address you need to enable your wifi network adapter. so type the following command in your terminal.

sudo ifconfig wlan0 up

That’s it, you are done. this is the way to changed mac address.

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

Post a Comment

أحدث أقدم