feross / SpoofMAC

:briefcase: Change your MAC address for debugging
https://feross.org/spoofmac/
3.01k stars 271 forks source link

Possible launchd plist file fix. #95

Closed dumol closed 4 years ago

dumol commented 5 years ago

Mac Mini late 2012 edition with up to date macOS 10.14 Mojave.

Had to add this section to get the job done:

    <key>KeepAlive</key>
        <dict>
            <key>SuccessfulExit</key>
                <false/>
        </dict>
    <key>ThrottleInterval</key>
        <integer>10</integer>

Could be because the network card is not available at the time it is executed for the first time? I'm not that knowledgeable when it comes to launchd.

Thanks!

feross commented 4 years ago

Thanks for sharing. I think this runs the command every 10 seconds? That seems like a brute force way to solve the problem. Let us know if you (or anyone else) finds a better way and we'll update the docs.