8/29/2023 0 Comments Get your mac address linux![]() ![]() You'll have to manually change the modified address to the original MAC.īefore you can change the MAC address of your device using ip, you'll have to shut down the network interface. 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 For instance, you might see wls1:, which probably indicates a Wi-Fi connection that you’re working with. You’ll be given a list of MAC address figures and you simply need to look for the name that GNU/Linux gives to your network adapter. where custom-address is the new MAC address you want to assign and interface is the name of the network interface. Method 1: Find MAC Address Numbers with ip link At the prompt, simply type ip link and push enter. Sudo macchanger -m custom-address interface
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |