12/20/2023 0 Comments Show mac on linux![]() ![]() 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. With macchanger, you don't have to memorize the original MAC address of your device for future reference. To assign a custom MAC address to the eth0 interface: sudo macchanger -m 44:ee:bc:6c:76:ba eth0 where custom-address is the new MAC address you want to assign and interface is the name of the network interface. 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 |