![]() ![]() ![]() Once you've changed the MAC address using the below-mentioned commands, there's no option to revert to the original address automatically. You can effortlessly reset the changes back to default using the -p flag: sudo macchanger -p eth0 Using ip and ifconfig CommandsĪlthough macchanger is easy to use and well-suited for beginners, advanced Linux users who want more control over the operation might prefer using the ip command.īut first, make sure you note down the original MAC address of the interface before modifying it. Rainlendar: This desktop calendar can be skinned to look. #HOW TO GET MAC ON LINUX MAC OS#With macchanger, you don't have to memorize the original MAC address of your device for future reference. Mac4Lin: Using Mac4Lin, you can get Mac OS Xs user interface on GNU/Linux and Unix operating systems. To assign a custom MAC address to the eth0 interface: sudo macchanger -m 44:ee:bc:6c:76:ba eth0 Check if the aforementioned command worked by typing ip addr into the terminal. Restart the network interface using ip: sudo ip link set dev eth0 up. where custom-address is the new MAC address you want to assign and interface is the name of the network interface. Then change the original MAC to a custom address as follows: sudo ip link set dev eth0 address 44:ee:bc:6c:76:ba. Simply use the -m flag with the default command as follows: sudo macchanger -m custom-address interface In addition to assigning a random address, you can also set a custom MAC address for your device. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |