Previously, I had discussed How to Easily Change Mac Address on Linux using a Macchanger. Well, actually we can use the "IP" command to change the mac address, and for some people, this is considered to be simpler because the macchanger is not yet available in the system so that before using it must be installed first, while "IP" is available by default so just use it.
First, we first check which interface is active. Can use commands
ip a
Here is an example I want to replace the MAC of my wifi interface on wlan0.
First, we first check the information about the MAC address on this interface
ip link show wlan0
Then we first turn off the interface
ip link set dev wlan0 down
The next step is to change with the MAC address that we have specified
ip link set dev wlan0 address aa:bb:cc:dd:ee:ff
ip link set dev wlan0 up
Finished. Easy isn't it?
All right, this tutorial will be useful. If something is unclear, please leave a comment.
Post a Comment
Post a Comment
Mohon berkomentar sesuai topik artikel. Komentar dengan bahasa kasar, spam akan dihapus