On Fri 13 May 2022 at 16:19:52 (+0200), Hans wrote: > Am Freitag, 13. Mai 2022, 13:21:17 CEST schrieb Stefan Krusche: > > I believe, changing the ifup-script might be a good idea. Additionally I will > try to set the environment variable in /etc/default/macchanger to my needs. > > At the moment I am using a random MAC set by network-manager, but this one is > always the same, what I also do not want. > > As I would like to forget about changing my MAC whenever I am online, > macchanger looks like the best solution.
Did you consider systemd's approach, using a .link file? Pros, Cons? > In the meantime I filed a buugreport to it, because as we see, macchanger > does not do its job by default as intended. > > So it is indeed buggy! Or let's say: Its configuration and scripts are buggy. Did you track down who or what was setting --all, and where? I think the bug report says somebody, but presumably, only someone who hits this bug will be able to search for it. > I will also take a look at your script, maybe this will work, too. Cheers, David.