How to change hardware identification in Ubuntu?

balenshah

Member
Joined
Aug 23, 2022
Messages
74
Reaction score
4
Credits
636
When I was in Windows:

To change hard disk ID for each volume (C,D,E,F), I used VolumeID by microsoft.
I did changes in registries as well.
If I wanted to change MAC address, I could just click "Random hardware address"
. Else I could do it manually as well by going to adapter options.
So, how do I do it in Ubuntu?

Does ubuntu leaks these identification of hardware to browser like Chrome and Firefox?
 


In order to change the MAC address of a device, you first need to install a command line utility called the macchanger.
Open the Terminal either through the Dash or the Ctrl+Alt+T shortcut and then run the following command:
Code:
sudo apt-get install macchanger
The following command will assign a random, but viable, MAC id to your network adapter:
Code:
sudo macchanger -r <interface-name>
Example:
Code:
sudo macchanger -r enp37s0
The following command will assign a specific MAC id to your network adapter:
Code:
sudo macchanger --mac=XX:XX:XX:XX:XX:XX <interface-name>
Restoring the MAC address to original
If you need to restore the MAC address of a device to its original state, you can use the following command:
Code:
sudo macchanger -p <interface-name>

Example:
Code:
sudo macchanger -p enp0s3
 
In order to change the MAC address of a device, you first need to install a command line utility called the macchanger.
Open the Terminal either through the Dash or the Ctrl+Alt+T shortcut and then run the following command:
Code:
sudo apt-get install macchanger
The following command will assign a random, but viable, MAC id to your network adapter:
Code:
sudo macchanger -r <interface-name>
Example:
Code:
sudo macchanger -r enp37s0
The following command will assign a specific MAC id to your network adapter:
Code:
sudo macchanger --mac=XX:XX:XX:XX:XX:XX <interface-name>
Restoring the MAC address to original
If you need to restore the MAC address of a device to its original state, you can use the following command:
Code:
sudo macchanger -p <interface-name>

Example:
Code:
sudo macchanger -p enp0s3
Thank you for the information. Is this only for mac id? Others not possible?
 

Members online


Top