Can’t run spoof-mac without errors #5551
Unanswered
DominikHoffmann
asked this question in
Casks
Replies: 1 comment
-
You'll have to ask the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I tried to run the command
sudo spoof-mac set xx:xx:xx:xx:xx:xx en0
where en0 is my Wi-Fi interface. xx:xx:xx:xx:xx:xx is the MAC address of the Wi-Fi interface of an Xbox which we are trying to get onto a Wi-Fi network requiring authentication through a captive portal. Somehow, the Xbox cannot handle that captive portal, which is why the idea was to try to get the Mac to spoof the MAC address of the Xbox, pose as it, get authenticated, and then go back to its real MAC address through a reboot. Hopefully, that would subsequently allow the Xbox to be accepted onto the network.
However, the output of the above command is
WARNING: The airport command line tool is deprecated and will be removed in a future release. For diagnosing Wi-Fi related issues, use the Wireless Diagnostics app or wdutil command line tool. ifconfig: ioctl (SIOCAIFADDR): Can't assign requested address Traceback (most recent call last): File "/opt/homebrew/bin/spoof-mac", line 138, in <module> sys.exit(main(arguments, root_or_admin)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/bin/spoof-mac", line 118, in main set_interface_mac(device, target_mac, port) File "/opt/homebrew/Cellar/spoof-mac/2.1.1_5/libexec/lib/python3.12/site-packages/spoofmac/interface.py", line 540, in set_interface_mac spoofer.set_interface_mac(device, mac, port) File "/opt/homebrew/Cellar/spoof-mac/2.1.1_5/libexec/lib/python3.12/site-packages/spoofmac/interface.py", line 450, in set_interface_mac subprocess.check_call([ File "/opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ifconfig', 'en0', 'ether', 'xx:xx:xx:xx:xx:xx']' returned non-zero exit status 1.
Is this something that can be fixed?
Relevant casks
spoof-mac
Beta Was this translation helpful? Give feedback.
All reactions