Sample Header Ad - 728x90

Run a terminal command when device connects to a WiFi network

0 votes
1 answer
551 views
I spoof my MAC address on a public WiFi network that I use often, but I do not want to have my MAC spoofed on my home network. I was thinking that a way to automate this is to have the computer automatically reset its MAC address with sudo spoof-mac reset wi-fi using SpoofMAC . How could I automate this, so that every time my computer connects to *x* network, that command gets run, and my MAC address gets set back to normal? I am on MacOS Monterey.
Asked by SteepAtticStairs (1 rep)
Nov 11, 2021, 03:31 PM
Last activity: Nov 11, 2021, 07:17 PM