Here, too, you can replace the interface name in this command with the name of your desired interface.
UBUNTU HOW TO CHECK MAC ADDRESS MAC
Now let’s try to assign a random MAC address to the specified network interface by executing the command shown below: $ sudo macchanger -r enp0s3 Step 4: Randomly changing the MAC address of a specific network interface with Macchanger: The current MAC address of this interface is highlighted in the following figure:
![ubuntu how to check mac address ubuntu how to check mac address](https://computingforgeeks.com/wp-content/uploads/2018/01/ifconfig-vs-ip-linux-commands.png)
You can replace this interface name with the name of your desired interface. Step 3: Check the current MAC address of a specific network interface with Macchanger:īefore we change the MAC address of the specified network interface, let’s first try to check its current MAC address using the command shown below: $ macchanger –s enp0s3 In the following steps of this procedure we will try to change the MAC address of the highlighted network interface i.e. To list all network interfaces on your system, you need to run the following command: $ ip addrĪll network interfaces of our system with their relevant information are shown in the following figure. You can choose any option based on your needs, however we chose the “Yes” option as shown in the following figure:Īfter you have successfully installed the Macchanger utility on your system, you need to list all network interfaces so that you can select the one whose MAC address you want to change.
UBUNTU HOW TO CHECK MAC ADDRESS INSTALL
To use the Macchanger utility to change the MAC address on a Linux Mint 20 computer, you need to do the following: Step 1: Install Macchanger on Ubuntuįirst, let’s install the Macchanger utility on our system by running the command shown below: $ sudo apt install macchangerĭuring the installation of this utility, you will be presented with a dialog box asking if you want to change the MAC address automatically or not.
![ubuntu how to check mac address ubuntu how to check mac address](https://ostechnix.com/wp-content/uploads/2016/08/Change-mac-address-2-2.png)
Changing the MAC address on an Ubuntu system with Macchanger In this article, we will start by installing this utility on an Ubuntu 20.04 or Linux Mint 20 system, and then we will show you how to change the MAC address with the help of this utility. This utility can be conveniently installed on any Linux distribution and then used at will. Macchanger is an amazing Linux utility that allows you to view and change the MAC address of any network device.