macchanger
Command-line utility for manipulating network interface MAC addresses. More information: https://manned.org/macchanger.
-
View the current and permanent MAC addresses of a interface:
macchanger --show {{interface}}
-
Set interface to a random MAC:
macchanger --random {{interface}}
-
Set interface to a specific MAC:
macchanger --mac {{XX:XX:XX:XX:XX:XX}} {{interface}}
-
Reset interface to its permanent hardware MAC:
macchanger --permanent {{interface}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.