Open Syeeric opened 8 years ago
I am experiencing the exact the same issue.
Chipset: Ralink Technology, Corp. RT2770 Driver: rt2800usb
macchanger: v 1.7.0 airmon-ng: v 1.2-rc3
Update: I was able to work around this issue by using ifconfig to bring wlan0mon down after using airmon-ng to set it to monitor mode, setting the mac, and using ifconfig to bring wlan0mon back up. This seems to have done the trick.
# airmon-ng start wlan0
# ifconfig wlan0mon down
# macchanger -r wlan0mon
# ifconfig wlan0mon up
# macchanger -s wlan0mon
I have taken several approaches in trying to solve this but have been unsuccessful. rather a lot of tools out there require airmon-ng to be active, so i hope someone is able to assist me.
At the end of the log you can see that the mac address has reset back to permanent without me requesting it.
in this case the permanent mac address = d2:14:d4:7b:71:d5
and the new mac address is = 00:03:60:6b:61:2e
Here is log proof of what happens in the latest kali distribution.
root@kali:~# airmon-ng check kill
root@kali:~# ifconfig wlan0 down
root@kali:~# macchanger -a wlan0
Current MAC: d2:14:d4:7b:71:d5 (Intel Corporate)
Permanent MAC: d2:14:d4:7b:71:d5 (Intel Corporate)
New MAC: 00:03:60:6b:61:2e (PAC Interactive Technology, Inc.)
root@kali:~# ip link show wlan0
11: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 00:03:60:6b:61:2e brd ff:ff:ff:ff:ff:ff
root@kali:~# ifconfig wlan0 up
root@kali:~# ip link show wlan0
11: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 00:03:60:6b:61:2e brd ff:ff:ff:ff:ff:ff
root@kali:~# airmon-ng start wlan0
PHY Interface Driver Chipset
phy0 wlan0 iwlwifi Intel Corporation Ultimate N WiFi Link 5300
root@kali:~# ip link show wlan0mon
12: wlan0mon: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN mode DEFAULT group default qlen 1000 link/ieee802.11/radiotap d2:14:d4:7b:71:d5 brd ff:ff:ff:ff:ff:ff
root@kali:~# airmon-ng stop wlan0mon
PHY Interface Driver Chipset
phy0 wlan0mon iwlwifi Intel Corporation Ultimate N WiFi Link 5300
root@kali:~# ip link show wlan0
13: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether d2:14:d4:7b:71:d5 brd ff:ff:ff:ff:ff:ff
root@kali:~# macchanger wlan0
Current MAC: d2:14:d4:7b:71:d5 (Intel Corporate) Permanent MAC: d2:14:d4:7b:71:d5 (Intel Corporate)
root@kali:~#