So, you're running ifconfig or iwconfig every 1-2 minutes? It looks like you are changing it properly. I use the same syntax, but have never had a problem with it changing itself on me.
Hey guys,
first of all, thank u for helping me. Im new in Backtrack 5 3r and i already cracked my own Wlan. But i asked me, if i crack the Wlan, maybe i could read my Macadress and see who's the attacker. So i wanted to change that Wlan0 Mac Adress. I succeed but when i change the mac to 00:11:22:33:44:55 after a while (1-2 mins) the mac adress is changing by it self to a different or the old REAL mac.
Why is this happening? Could some1 help me? i dont understand that.
my steps when i change the mac adress are:
ifconfig eth0 down
ifconfig wlan0 down
macchanger -m 00:11:22:33:44:55 wlan0
ifconfig eth0 up
ifconfig wlan0 up
i have to disable eth0 too, because if i doesnt, it wont change and i get the fault "Error: cant change mac: inferace up or no permission: device or resource busy"
i use Backtrack as a live CD on my USB Stick. (could that be the reason? because its just temp? but for the session it should work, doesnt it?)
again than u for help
greetings traderchange
So, you're running ifconfig or iwconfig every 1-2 minutes? It looks like you are changing it properly. I use the same syntax, but have never had a problem with it changing itself on me.
First, please post wifi chipset and module loaded. You might be looking at a bug or an erratic/buggy/ function, but first need to post info as to wifi device.
Some modules are very stables, most of them, but not all.
Second you need to do it the correct way, If you want to change the MAC in wlan0 you do not need to bring down eth0.
Now, eth0 is wired, it is always up and with valid IP when booting in BT5, but not the wifi device.
If I want to change mac in a device I do this:
ifconfig wlan0 down
macchanger --mac 00:11:22:33:44:55 wlan0
ifconfig wlan0 up
That's all..Same thing if you want it to do it with eth0:
ifconfig eth0 down
macchanger --mac 00:11:22:33:44:55 eth0
ifconfig eth0 up
To change a mac address, interface needs to be down. Then bring it up with new mac...
As to changing mac by itself, mmmm, never had happened it to me...It can be a bug or something you are doing, but need the wifi info and see if it works properly in BT5.
Even having 2 atheros or 2 alfas, or 2 same devices, they are addressed by a logical alias (eth0, eth1, wlan0, wlan1, etc) and kernel will load modules for each one of the interfaces...
Luck..
Last edited by maverik35; 12-11-2012 at 10:58 AM.