alobbs / macchanger

GNU MAC Changer

Home Page:http://www.gnu.org/software/macchanger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cant change mac...

geekboy481 opened this issue · comments

every time i try to change mac its not working...and automatically resetting to permanent mac...am using kali 2017.1

EDIT - IGNORE MY POST, NOOB MISTAKE -

On reflection, it looks like I was looking at the 'permanent mac address' bit not the 'current mac address' bit. This gave me the impression that the mac address was resetting but I now realise it was not? (Assuming that is, that I am now reading things right, not that I was right before and am now wrong. It's hard being me.)

Anyway, I left my original post incase anyone else is making the same mistake as me. Seems like the right thing to do. Scroll down for the noobyness..

(Original post)
Same problem - Logged in as root, tried using Sudo just incase, obviously didn't work. Copy paste below - as you can see it works until I re-enable the wifi adapter, then it defaults back to the hardware MAC.

Same problem on inbuilt card btw.

GNU MAC Changer
Usage: macchanger [options] device

Try `macchanger --help' for more options.
root@kali:# macchanger -s wlan1
Current MAC: ae:4c:ba:0a:51:11 (unknown)
Permanent MAC: 00:c0:ca:90:7c:35 (ALFA, INC.)
root@kali:
# ifconfig wlan1 down
root@kali:# macchanger wlan1 -A
Current MAC: 62:fa:a8:54:31:f7 (unknown)
Permanent MAC: 00:c0:ca:90:7c:35 (ALFA, INC.)
New MAC: 00:0d:38:60:6c:53 (NISSIN INC.)
root@kali:
# ifconfig wlan1 up
root@kali:# macchanger -s wlan1
Current MAC: 62:fa:a8:54:31:f7 (unknown)
Permanent MAC: 00:c0:ca:90:7c:35 (ALFA, INC.)
root@kali:
# sudo ifconfig wlan1 down
root@kali:# sudo macchanger -A wlan1
Current MAC: 62:fa:a8:54:31:f7 (unknown)
Permanent MAC: 00:c0:ca:90:7c:35 (ALFA, INC.)
New MAC: 00:0a:aa:77:4e:7d (AltiGen Communications Inc.)
root@kali:
# sudo ifconfig wlan1 up
root@kali:# sudo macchanger -s wlan1
Current MAC: 62:fa:a8:54:31:f7 (unknown)
Permanent MAC: 00:c0:ca:90:7c:35 (ALFA, INC.)
root@kali:
#

MAC address change randomly
#macchanger -s eth0
#ifconfig eth0 down
#macchanger -r eth0
#ifconfig etho up