feross / SpoofMAC

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

Add `spoof-mac startup` option to automate and toggle running on startup. #13

Closed TkTech closed 9 years ago

TkTech commented 11 years ago

Actually, thinking about it, this might be better as a flag on the existing options, ex:

spoof-mac randomize wi-fi --on-startup
spoof-mac set 00:00:00:00:00:00 wi-fi --on-startup

Thoughts @feross ?

feross commented 11 years ago

I like it. This is really elegant. One issue, though, is that it doesn't make sense to do more than one of these commands at startup, so --on-startup should probably overwrite the previous SpoofMAC startup setting, if one exists.

martinjuhasz commented 11 years ago

totally. it should overwrite the previous startup setting so that only one setting (the last on) at a time is set. not sure about the reset. should spoof-mac reset wi-fi stop the startup setting?

feross commented 11 years ago

@martinjuhasz It would be useful to be able to reset your MAC to the original hardware MAC without killing the startup setting. Maybe we can do something like this?

spoof-mac set 00:00:00:00:00:00 wi-fi --startup spoof-mac reset wi-fi --startup

feross commented 11 years ago

@martinjuhasz @TkTech Are either of you interested in implementing this? I won't have time for this for a week or two, so you're free to do it first, if you like.

TkTech commented 11 years ago

It's unlikely I could get to it until next weekend.

A --global option might be nice as well, by default --startup should be implicitly --user.

feross commented 9 years ago

Closing this issue because it's super old. If someone really wants this feature, PR still welcome!