changing mac address using macchanger
Hello
guys pytools here, back again with another article. Today we are going
to learn how you can change your Linux Mac address with the help of mac address changer.
So let's get started.
Before diving into the usage instructions for macchanger, you'll need to have it installed on your system. Most likely, it won't be installed by default since it's a rather niche application. You can use your Linux distro's built-in package manager to install macchanger. Use the appropriate command below to install it.
To install macchanger on Ubuntu, Debian, and Linux Mint:
apt get install macchanger
once you get install macchanger on your system you are ready to go:
Before we start using the macchanger
command, you'll need to know the name of the network interface that you want to work with. You can execute the ifconfig
command to see a list of all the available network interfaces on your
system. In most cases this will include a wired, wireless, and loopback
interface. as you can see in my case interface name is enp0s3
once you get interface name you are ready to go:
Now we can begin to change the MAC address. Follow along with the step
by step instructions below to see how. Note that you will need root
permissions in order to execute the macchanger
command.
If you need to use a specific MAC address, you can do that with the -m
option and the following command syntax.
$ sudo macchanger -m b2:aa:0e:56:ed:f7 enp0s3
Use the -r
option to get a random MAC address. In addition, just specify the name of your network interface.
$ sudo macchanger -r enp0s3
That's all for today guys hope you are enjoying our content and also guys Pls don't forget to follow us on Instagram and GitHub and do like our content on Instagram.
https://instagram.com/__pytools__
Comments
Post a Comment