HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

macchanger — Manipulate network interface MAC addresses. More information: <https://manned.org/macchanger>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandnetworkinterfacemanipulateclimacaddressesmacchanger
linux

Problem

How to use the macchanger command: Manipulate network interface MAC addresses. More information: <https://manned.org/macchanger>.

Solution

macchanger — Manipulate network interface MAC addresses. More information: <https://manned.org/macchanger>.

View the current and permanent MAC addresses of an interface:
macchanger {{[-s|--show]}} {{interface}}


Set interface to a random MAC:
macchanger {{[-r|--random]}} {{interface}}


Set an interface to a random MAC address, and pretend to be a [b]urned-[i]n-[a]ddress:
macchanger {{[-r|--random]}} {{[-b|--bia]}} {{interface}}


Set an interface to a specific MAC address:
macchanger {{[-m|--mac]}} {{XX:XX:XX:XX:XX:XX}} {{interface}}


Print the identifications (the first three bytes of a MAC address) of all known vendors:
macchanger {{[-l|--list]}}


Reset an interface to its permanent hardware MAC address:
macchanger {{[-p|--permanent]}} {{interface}}

Code Snippets

View the current and permanent MAC addresses of an interface

macchanger {{[-s|--show]}} {{interface}}

Set interface to a random MAC

macchanger {{[-r|--random]}} {{interface}}

Set an interface to a random MAC address, and pretend to be a [b]urned-[i]n-[a]ddress

macchanger {{[-r|--random]}} {{[-b|--bia]}} {{interface}}

Set an interface to a specific MAC address

macchanger {{[-m|--mac]}} {{XX:XX:XX:XX:XX:XX}} {{interface}}

Print the identifications (the first three bytes of a MAC address) of all known vendors

macchanger {{[-l|--list]}}

Context

tldr-pages: linux/macchanger

Revisions (0)

No revisions yet.