Change or Spoofing MAC Address

Pitsman

macrumors newbie
Original poster
Mar 18, 2019
3
0
Hi.
Lost Connection after Change or Spoofing MAC Address?

ifconfig en1 |grep ether
ether b2:n7:v8:x6:31:k2

openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'
69:b5:32:54:75:38

sudo ifconfig en1 ether 69:b5:32:54:75:38
Password:

ifconfig en1 |grep ether
ether 69:b5:32:54:75:38


What's Happening!
 
Last edited:

rutrack

macrumors regular
Jan 5, 2017
148
128
Hi.
Not Work Spoofing, In El Capitan?

openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'
69:b5:32:54:75:38

sudo ifconfig en1 ether 69:b5:32:54:75:38
Password:
ifconfig: ioctl (SIOCAIFADDR): Device power is off


What's Happening!
You are setting mac address on the wrong interface it seems, this particular one is reserved for something else on your system, bring all of them with ifconfig and set the one you need.
 

Pitsman

macrumors newbie
Original poster
Mar 18, 2019
3
0
You are setting mac address on the wrong interface it seems, this particular one is reserved for something else on your system, bring all of them with ifconfig and set the one you need.
This is Interface Wi-Fi MAC Address.
 

Pitsman

macrumors newbie
Original poster
Mar 18, 2019
3
0
If it was it would be up, what does "ifconfig en1" show ?
ifconfig en1 |grep ether
ether b2:n7:v8:x6:31:k2

openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'
69:b5:32:54:75:38

sudo ifconfig en1 ether 69:b5:32:54:75:38
Password:

ifconfig en1 |grep ether
ether 69:b5:32:54:75:38

I changed the mac address but lose the connection.