PDA

View Full Version : Trouble with macchanger



adityagnet
2013-04-13, 14:22
Hey, I am having trouble assigning a fake mac address to wlan0. This is what I do:-

ifconfig wlan0 down
macchanger -r wlan0
However I get the error : Can't change mac: interface up or not permisson: cannot assign requested address

charonsecurity
2013-04-13, 17:17
The commands are correct, but you might also try "/etc/init.d/networking stop", can you please post additional information: ifconfig, iwconfig, wireless card etc.
Also, take a look at this, it might be helpful, http://www.debianadmin.com/change-your-network-card-mac-media-access-control-address.html
Let us know:)

nix
2013-04-14, 00:58
i started getting the same error after the last apt-get upgrade

i'm still looking into it

nix
2013-04-14, 01:01
it seems that i have to disconnect from my connection in order to be able to do the change
if i'm still connected to my network it will not let me do mac change

try disconnecting then bring down wlan0 and do the change

HDD2
2013-04-14, 03:14
i have this problem with my laptop and it has a physical wlan switch. if you are using a laptop w/ a switch, just try turning the switch off then run 'macchanger -r wlan0'. As for desktop issues i couldnt help ya :/

milehighinterceptor
2013-04-18, 03:30
ifconfig wlan0 down
macchanger wlan0 -r for random new mac address
ifconfig wlan0 up

Miyavi
2013-04-20, 21:21
Did you try to change the MAC not randomly, as in ">macchanger --mac 00:11:22:33:44:55 [interface]"

coldfire
2013-05-15, 10:34
No need to Switch off ur Wlan
Just Stop Monitoring mode and than u can change ur Mac

airmon-ng stop wlan0,,, this is stop ur Mon0 interface

than simply random mac changer will work

macchanger -r wlan0 (whatever u hav) :cool: