alobbs / macchanger

GNU MAC Changer
http://www.gnu.org/software/macchanger
GNU General Public License v3.0
588 stars 112 forks source link

macchanger -rworks,butmacchanger-m does not #38

Open alice152 opened 7 years ago

alice152 commented 7 years ago

CLI:

First the one that failed:

:~$ sudo ifconfig wlp2s0 down && sudo macchanger -m 03:19:6c:04:26:53 wlp2s0 && sudo ifconfig wlp2s0 up Current MAC: 11:22:33:44:55:66 (unknown) Permanent MAC: 11:22:33:44:55:66 (unknown) [ERROR] Could not change MAC: interface up or insufficient permissions: Cannot assign requested address

there was no interface up. Absolutely not. Insufficient permissions with sudo?

But with -r it worked:

:~$ sudo ifconfig wlp2s0 down && sudo macchanger -r wlp2s0 && sudo ifconfig wlp2s0 up Current MAC: 11:22:33:44:55:66 (unknown) Permanent MAC: 11:22:33:44:55:66 (unknown) New MAC: 8s:13:93:4d:2s:90 (unknown)

this is xubuntu 16.10 64 bits and macchanger 1.7.0

alifa2try commented 4 years ago

To assign a MAC address first octet has to be even like 22: