User Tools

Site Tools

diy:change-mac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
diy:change-mac [2024/06/06 07:43] Humphrey Boa-Gartdiy:change-mac [2024/08/06 05:48] (current) – external edit 127.0.0.1
Line 17: Line 17:
 **ifconfig** (short for "interface config") is a command-line network management utility that has been in use on Unix-like systems since 1983. Many alternatives have come and gone, but ifconfig remains the de facto standard on most BSD, MacOS and Linux machines. **ifconfig** (short for "interface config") is a command-line network management utility that has been in use on Unix-like systems since 1983. Many alternatives have come and gone, but ifconfig remains the de facto standard on most BSD, MacOS and Linux machines.
  
-Run ''ifconfig'' to find your network adapter name:+Run ''ifconfig'' in your [[tools:bash|shell]] to find your network adapter name:
  
   $ ifconfig   $ ifconfig
Line 89: Line 89:
 ===== Windows Instructions ===== ===== Windows Instructions =====
  
-{{wst>expand}}+==== Manually, with PowerShell ==== 
 + 
 +  - Open the **Command Prompt** or [[tools:powershell|PowerShell]] with administrator privileges. 
 +  - Use the ''netsh interface show interface'' command to get a list of network adapters on your system. 
 +  - Identify the network adapter for which you want to change the MAC address. 
 +  - To change the MAC address, use this command: ''netsh interface set interface <adapter namenewmac=<new MAC address>'' 
 +  - Replace ''<adapter name>'' with the name of the network adapter, and ''<new MAC address>'' with the desired MAC address (in the format xx-xx-xx-xx-xx-xx). 
 +  - Press **Enter** to execute the command. 
 +  - Restart your computer for the changes to take effect.
  
 ===== Android Instructions ===== ===== Android Instructions =====
  
-{{ :diy:non-persistent-option.png|}}+[{{ :diy:non-persistent-option.png|Non-persistent MAC randomization can be enabled in Developer Options, without rooting your Android device.}}
 + 
 +Changing your MAC address on Android is an ordeal which traditionally has involved rooting your phone. This isn't so much a problem anymore, as starting with Android 10, MAC address randomization is enabled by default. (You can double-check this if you hit the gear icon for your current wifi network, and look at the **Privacy** setting.)
  
-Starting with Android 10MAC address randomization is enabled by default. (You can double-check this if you hit the gear icon for your current wifi network, and look at the **Privacy** setting.)+However, these randomized MAC addresses are //persistent//, meaning they are generated once for each wireless connection, and saved. Starting with Android 11you can override this behavior, and force it to use //non-persistent// random addresses which constantly regenerate on a regular basis.
  
-However, these randomized MAC addresses are //persistent//, meaning they are generated once for each wireless connection. In Android 11/12, you can override this behavior, and force it to use //non-persistent// addresses that regenerate on a regular basis:+To set-and-forget this option:
  
   - In **Settings**, go to **System** and then **Developer options**.   - In **Settings**, go to **System** and then **Developer options**.
diy/change-mac.1717659808.txt.gz · Last modified: (external edit)

Find this page online at: https://bestpoint.institute/diy/change-mac