9/8/2023 0 Comments Linux get original mac address![]() This script will be called on system startup.ĩ. Now we will add one line of script to change our MAC address permanently pre-up ifconfig eth0 hw ether 00:00:00:00:00:02 We will configure the /etc/network/interfaces. In Debian all the network interface was located on /etc/network/interfaces.ħ. If we follow until this step, MAC address will back to default after we restart our machine.Ħ. And the last we can check again our MAC whether it’s change or not. Now we can turn on the network interface again. ![]() You can change the MAC address using this hexadecimal format XX:XX:XX:XX:XX:XXĤ. After that we can configure the new MAC address ifconfig eth0 hw ether 00:00:00:00:00:02 To temporary change our MAC address, we need to turn off the network interface first by running this command ifconfig eth0 downģ. You will see your original MAC address, mine was 08:00:27:b2:4d:4bĢ. ![]() ![]() Open your terminal, and type, ifconfig | grep HWaddr ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |