Re: macchanger - is it still working?

2022-05-13 Thread David Wright
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

Re: macchanger - is it still working?

2022-05-13 Thread Stefan Krusche
Am Freitag, 13. Mai 2022 schrieb Hans: > In the meantime I filed a buugreport to it,  because as we see, > macchanger does not do its job by default as intended. Yes, it is a bug. It has already been reported in 2015. I referenced that in my other message:

Re: macchanger - is it still working?

2022-05-13 Thread Hans
Am Freitag, 13. Mai 2022, 13:21:17 CEST schrieb Stefan Krusche: Hi Stefan, 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

Re: macchanger - is it still working?

2022-05-13 Thread Stefan Krusche
Am Freitag, 13. Mai 2022 schrieb Stefan Krusche: > When $IFACE == "--all" which is a valid option for ifup as David > pointed out then macchanger fails and reports the above error message > to its logfile because macchanger understands "--all" as on option > which it doesn't know. See also:

Re: macchanger - is it still working?

2022-05-13 Thread Stefan Krusche
Good Day Everyone, Am Montag, 9. Mai 2022 schrieb Hans: > IFACE = --all > /usr/bin/macchanger: unrecognized option '--all' > GNU MAC Changer Yes. The problem is that the script /etc/macchanger/ifupdown.sh which is shipped with the macchanger package processes $IFACE without checking its value.

Re: macchanger - is it still working?

2022-05-13 Thread Stefan Krusche
Good Day Everyone, Am Montag, 9. Mai 2022 schrieb Hans: > IFACE = --all > /usr/bin/macchanger: unrecognized option '--all' > GNU MAC Changer Yes. The problem is that the script /etc/macchanger/ifupdown.sh which is shipped with the macchanger package processes $IFACE without checking its value.

Re: macchanger - is it still working?

2022-05-09 Thread David Wright
On Mon 09 May 2022 at 19:49:11 (+0200), Hans wrote: > > I don't know what you searched for. > > > I searched for all files below /etc of a string "IFACE", then looked at > something like "IFACE=all" > or "IFACE=--all" or similar. It's always worth searching for the parts separately, even

Re: macchanger - is it still working?

2022-05-09 Thread Hans
Hi David, > I don't know what you searched for. > I searched for all files below /etc of a string "IFACE", then looked at something like "IFACE=all" or "IFACE=--all" or similar. > v > What does your /etc/network/interfaces (and subdirectories) contain? > Only this:

Re: macchanger - is it still working?

2022-05-09 Thread David Wright
On Mon 09 May 2022 at 08:52:39 (+0200), Hans wrote: > So, tried again. > > The param in /etc/default/macchanger is set to "=true" > > > > > # before bringing up any network interface, run macchanger. Careful, this is > # not guaranteed to prevent leaking your real MAC

Re: macchanger - is it still working?

2022-05-09 Thread Hans
So, tried again. The param in /etc/default/macchanger is set to "=true" # before bringing up any network interface, run macchanger. Careful, this is # not guaranteed to prevent leaking your real MAC address before the new one # gets assigned! #

Re: macchanger - is it still working?

2022-04-24 Thread David Wright
On Sun 24 Apr 2022 at 19:50:14 (+0300), Reco wrote: > On Sun, Apr 24, 2022 at 03:23:55PM +0200, Hans wrote: > > I rechecked, and everything is set as YES. > > And that's the source of your problem, believe it or not. > > Because what /etc/macchanger/ifupdown.sh does is it explicitly checks > for

Re: macchanger - is it still working?

2022-04-24 Thread Hans
Am Sonntag, 24. April 2022, 18:50:14 CEST schrieb Reco: Originally I did not want to post any more to this issue, but I rechecked and as I was unprecise I at least should correct it: The param is set to "=true" not YES (as I postulated), sorry for that. But thanks for all the help, I will not

Re: macchanger - is it still working?

2022-04-24 Thread Reco
Hi. On Sun, Apr 24, 2022 at 03:23:55PM +0200, Hans wrote: > I rechecked, and everything is set as YES. And that's the source of your problem, believe it or not. Because what /etc/macchanger/ifupdown.sh does is it explicitly checks for "true" value: if [ "$ENABLE_ON_POST_UP_DOWN" !=

Re: macchanger - is it still working?

2022-04-24 Thread Hans
Hi David, ok, let us close this issue. Well, I was unprecise, it was set to =true , not YES. However, I purged and reinstralled macchanger and when the installer asked me, if want the macaddress changed everytime the interface gets active, I chose "yes". Ok, my fault, I should have checked

Re: macchanger - is it still working?

2022-04-24 Thread David Wright
On Sun 24 Apr 2022 at 17:06:48 (+0200), Hans wrote: > Am Sonntag, 24. April 2022, 16:53:49 CEST schrieb David Wright: > Hi David, > > So what are the contents of /etc/default/macchanger (after all, > > putting ENABLE_ON_POST_UP_DOWN=YES would be interpreted as the > > default,

Re: macchanger - is it still working?

2022-04-24 Thread Hans
Am Sonntag, 24. April 2022, 16:53:49 CEST schrieb David Wright: Hi David, > So what are the contents of /etc/default/macchanger (after all, > putting ENABLE_ON_POST_UP_DOWN=YES would be interpreted as the > default, ENABLE_ON_POST_UP_DOWN=false), and what's getting logged > in

Re: macchanger - is it still working?

2022-04-24 Thread David Wright
On Sun 24 Apr 2022 at 15:23:55 (+0200), Hans wrote: > Am Sonntag, 24. April 2022, 15:00:21 CEST schrieb Reco: > > On Sun, Apr 24, 2022 at 02:34:44PM +0200, Hans wrote: > > > I discovered, that macchanger does not change my mac-adresses at every > > > boot, like the installation promised. > > > >

Re: macchanger - is it still working?

2022-04-24 Thread Hans
Hi Andrew, I did as you suggested. Filed a wish-report to the package. Let's hope for the best. Best regards Hans > Hello Hans, > > I would suggest filing a bug at normal/wishlist priority against macchanger > and pointing out that you need this to work with systemd. > > There are example

Re: macchanger - is it still working?

2022-04-24 Thread tv.debian
Le 24/04/2022 à 16:15, Andrew M.A. Cater a écrit : On Sun, Apr 24, 2022 at 03:23:55PM +0200, Hans wrote: Am Sonntag, 24. April 2022, 15:00:21 CEST schrieb Reco: Hi Reco, Hi. On Sun, Apr 24, 2022 at 02:34:44PM +0200, Hans wrote: I discovered, that macchanger does not change my

Re: macchanger - is it still working?

2022-04-24 Thread Andrew M.A. Cater
On Sun, Apr 24, 2022 at 03:23:55PM +0200, Hans wrote: > Am Sonntag, 24. April 2022, 15:00:21 CEST schrieb Reco: > Hi Reco, > > > Hi. > > > > On Sun, Apr 24, 2022 at 02:34:44PM +0200, Hans wrote: > > > I discovered, that macchanger does not change my mac-adresses at every > > > boot, like the

Re: macchanger - is it still working?

2022-04-24 Thread Hans
Am Sonntag, 24. April 2022, 15:00:21 CEST schrieb Reco: Hi Reco, > Hi. > > On Sun, Apr 24, 2022 at 02:34:44PM +0200, Hans wrote: > > I discovered, that macchanger does not change my mac-adresses at every > > boot, like the installation promised. > > Because that's disabled by default.

Re: macchanger - is it still working?

2022-04-24 Thread Reco
Hi. On Sun, Apr 24, 2022 at 02:34:44PM +0200, Hans wrote: > I discovered, that macchanger does not change my mac-adresses at every > boot, like the installation promised. Because that's disabled by default. > So I looked around and I found some explanations in an Ubuntu forum. > This

macchanger - is it still working?

2022-04-24 Thread Hans
Hi folks, I discovered, that macchanger does not change my mac-adresses at every boot, like the installation promised. So I looked around and I found some explanations in an Ubuntu forum. This is tellingm, I need to add a systemd.service, so that this is executed at every boot: