- Joined
- Apr 11, 2013
- Messages
- 194
- Reaction score
- 2
- Points
- 18
- Your Mac's Specs
- 13" rMBP 2014, 8GB RAM, 128GB SSD, 2.6GHz i5
I am trying to change my MAC address but im having problems. I have tried checking my MAC address with
and that results in my correct MAC address.
I then try to change it by
, with me wanting the MAC address to be
, although when I check my mac address it stil stays as the original.
How can I change it?
I know it resets every time I reset my computer, so I was planning on ultimately writing a script that, if the WIFI is on, turn it off, then change my MAC address to a random address and then turn WIFI back on.
Any help is greatly appreciated
Code:
ifconfig en1 | grep ether
I then try to change it by
Code:
sudo ifconfig en1 ether af:f8:35:2a:26:c6
Code:
af:f8:35:2a:26:c6
How can I change it?
I know it resets every time I reset my computer, so I was planning on ultimately writing a script that, if the WIFI is on, turn it off, then change my MAC address to a random address and then turn WIFI back on.
Any help is greatly appreciated