Closed ghost closed 3 years ago
So MAC adress reverts back to perment address after sleep/suspend.
Macchanger runs at @reboot via crontab no problem but reverts back once the computer goes to sleep/suspend.
I tryed makiong a script
sudo nano /etc/network/if-up.d/macchange
#!/bin/sh if [ "$IFACE" = lo ]; then exit 0 fi /usr/bin/macchanger -r wlp2s0
and made it executable but didn't fix the issue.
Hi @CyberPunkInterface, look this issue #83.
Thanks, @streamdp
Editing the /etc/default/macchanger and adding ENABLE_ON_POST_UP_DOWN=true and adding my interface name wlp2s0 seemed to help.
/etc/default/macchanger
ENABLE_ON_POST_UP_DOWN=true
wlp2s0
So MAC adress reverts back to perment address after sleep/suspend.
Macchanger runs at @reboot via crontab no problem but reverts back once the computer goes to sleep/suspend.
How do I make machanger stay or run after sleep/suspend?
I tryed makiong a script
sudo nano /etc/network/if-up.d/macchange
and made it executable but didn't fix the issue.
>I am using xfce desktop
>Is this issues pertaining to /etc/NetworkManager/ ?
>Can anyone help me out with a script I need to make?