-
Notifications
You must be signed in to change notification settings - Fork 0
Help
This help content is adapted from the original TMAC help and limited to features currently supported by dzmac.
- Select the target network connection in the main list.
- In Change MAC Address, enter a MAC address in hexadecimal format.
- Optional: click Random MAC Address to generate one.
- Optional: choose a vendor/manufacturer in the dropdown first, then generate a random MAC.
- Optional: enable automatic adapter reset/restart to apply changes.
- Click Change Now!.
Some wireless adapter drivers may reject MAC changes unless the address is marked as locally administered. Setting the first octet to 02 sets the local-administered bit (for example, 02:11:22:33:44:55), which often works as a practical workaround on adapters that ignore other values. Use the Use '02' as first octet of MAC address checkbox to do it on GUI or -r02 on CLI. If the change still does not appear, manually disable and re-enable the adapter (or use-re) and verify the active MAC again.
- Select the target network connection.
- In Change MAC Address, click Restore Original.
- Select the network connection in the list.
- Toggle the Enabled checkbox for that row.
- Use Options > Refresh, or
- Press F5.
- Select the network connection.
- Use Action > DHCPv4 > DHCPv4 Enabled to toggle DHCPv4.
Note: dzmac preserves the current IPv4 configuration when switching DHCPv4 modes (safe-by-default behavior).
- Select the network connection.
- Use Action > DHCPv4 > Release IP or Renew IP.
- Wait for the operation to complete.
Usage:
dzmac -n network_connection_name [options]-
-m [mac_address]set MAC address (empty value restores original) -
-nm [mac_address]alias behavior equivalent to-m -
-rrandom MAC from vendor list -
-nrrandom MAC from vendor list (alias behavior) -
-r02random locally-administered MAC (02first octet) -
-nr02random locally-administered MAC (alias behavior)
-
-i ip/mask[,ip/mask...]set IPv4 addresses -
-g gateway/metric[,gateway/metric...]set IPv4 gateways -
-d dns[,dns...]set IPv4 DNS servers -
-henable DHCPv4 -
-rlrelease DHCPv4 lease -
-rnrenew DHCPv4 lease
-
-ssilent mode flag -
-redisable/enable adapter (reset) -
-didisable adapter -
-enenable adapter -
-rorestore original MAC record used by dzmac -
-helpdisplay CLI help
Apply a specific MAC and reset adapter:
dzmac -n "Ethernet" -m 00:01:02:03:04:05 -reApply random MAC (locally administered) and reset adapter:
dzmac -n "Wi-Fi" -r02 -reEnable DHCPv4 on a connection:
dzmac -n "Ethernet" -hRelease then renew DHCPv4 lease:
dzmac -n "Ethernet" -rl
dzmac -n "Ethernet" -rnThe following TMAC help topics are intentionally out of scope for the current dzmac milestone:
- DHCPv6 management (
-h6,-rl6,-rn6, and other IPv6 write operations) - Internet Explorer / HTTP proxy management (
-pxyand GUI proxy settings) - Preset import/export or preset-file workflows (
.tpf,-f,-p) - TMAC installer command-line help topics
The content is derived from TMAC Help Page.