Hi there,
I would like to change my MAC address. However whatever tutorial or manual I follow the ether net address will only change under ifconfig, but when I try to connect to any network with a changed MAC address I will get a connection timeout.
I use the following commands to change the MAC address of my WiFi connection on an old macbook pro with lion:
(See also https://github.com/feross/SpoofMAC)
Preparing the interface
Changing the MAC
Checking the change
I would like to change my MAC address. However whatever tutorial or manual I follow the ether net address will only change under ifconfig, but when I try to connect to any network with a changed MAC address I will get a connection timeout.
I use the following commands to change the MAC address of my WiFi connection on an old macbook pro with lion:
(See also https://github.com/feross/SpoofMAC)
Preparing the interface
Code:
sudo networksetup -setairportpower en1 on
sudo airport -z
Changing the MAC
Code:
sudo ifconfig en1 ether xx:xx:xx:xx:xx:xx
sudo networksetup -detectnewhardware
Checking the change
Code:
ifconfig en1 | grep ether
sudo networksetup -detectnewhardware