

Use this information responsibly and only for legal purposes. Note that changing the MAC address of your network interface may be a violation of your network provider's terms of service or local laws. The MAC address should be the one you set in the configuration file. Test the new MAC address: Run ifconfig and look for the interface you modified. Restart the network interface: Run ifdown wlan0 followed by ifup wlan0 to restart the interface and apply the new MAC address. Replace wlan0 and ab:ea:5a:a3:bc:01 with the appropriate values for your system. By the way, in the virtual environment, you can freely setup MAC address. As you mentioned in the comment that re-appearing the same MAC address after rebooting, the OS reads out MAC address from wifi device simply. etc/network/interfaces), and add a line to set the MAC address: auto wlan0 So if you change MAC address, then you have to use another wifi device inevitably. Open the configuration file for the interface you want to modify (e.g. In most cases, you can find the network configuration files in the /etc/network directory. Modify network configuration files: The location and name of the network configuration files can vary depending on your operating system and distribution. Identify the name of the interface you want to modify (e.g. The specific method varies depending on the operating system you are using, but here are some general steps:ĭetermine the interface name: Run ifconfig to see a list of all network interfaces on your system.

To permanently change the MAC address of your WiFi card, you need to modify the system's network configuration files.
