Closed ghost closed 2 years ago
Hi David can you provide more info on your Mac and you're using
Macbook Air (M1) macOS Monterey (12.0.1)
Monterey had just been released yesterday, maybe Apple removed the functionality to assign random MAC address to the wireless card
uname -a
output
Darwin [redacted] 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101 arm64 arm64 MacBookAir10,1 Darwin
I have the same issue and the output is the same.
Yeah, I've been researching why this is happening. Apple changed the way it worked in Monterey.
same for me. It also do not work for wire network via type-c
sudo ifconfig {name} ether {mac}
always return ifconfig: ioctl (SIOCAIFADDR): Can't assign requested address
Did you guys try disconnecting from the wifi network before changing the mac address?
@dodas that works, I'm updating the code to include a wifi disconnect
I'm seeing the same issue with macchanger 1.4.1.
I'm on a MacBook Pro (15-inch, 2019) on macOS 12.1
uname -a Darwin quicksilver.local 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64 x86_64
never mind, was able to figure out this problem.
update for anyone facing the same issue with macOS 12.1 through 12.2.1 (the highest version as of this writing):
networksetup -setairportpower en0 off
#don't use this/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport "en0" -z
# use thisenjoy
that's work perfect for the wifi device but what if you use a usb network device. Here you got the same error. How must the commad look like to resolve the problem? thank's for your reply
It only shows infinite output of
ifconfig: ioctl (SIOCAIFADDR): Can't assign requested address
even if I specified a specific MAC address