PDA

View Full Version : Change MAC address?


madbob
02-05-2007, 11:06 AM
Hi,
I've been trying to change my MAC address -

ifconfig hw wlan0 00:11:22:33:44:55:66
as root seems to complete OK, but doesn;t 'take' - when I do

ifconfig

afterwards, it's back to the original.

Is it possible? How?

brendan
02-05-2007, 11:17 AM
i have no idea how to do so, but there are means to accomplish that, packaged with a live cd distro that i muck around with. you can check them out at - http://remote-exploit.org/ and their forum, that you may be able to search - http://forums.remote-exploit.org/.

from what i do understand is that ifconfig lists the BIC (Burned In Card) mac address. to have it listed differently you have to have the OS step in when that command is run and answer back what you configure (by some outside means), instead of querying the card for the value.

madbob
02-06-2007, 09:05 AM
OK, RTFM time :rolleyes:

ifconfig wlan0 hw ether aa:bb:cc:dd:ee:ff

brendan
02-08-2007, 06:39 PM
check out this link - http://www.irongeek.com/i.php?page=security/changemac

miagi
11-14-2007, 06:33 PM
Sorry for bringing this old thread up again. I tried to use the command above

ifconfig wlan0 hw ether aa:bb:cc:dd:ee:ff

and I believe I successfully changed my MAC address but I cannot connect to wifis now anymore :(

Johnx
11-14-2007, 07:19 PM
I ended up at the same place when I tried this a while ago. I think support for changing the MAC address would need to be enabled in the (closed source) driver for this to work properly. If you're still having trouble connecting to wifi, reboot your device to get your old MAC address back.

-John

the-earth-beater
01-03-2008, 08:10 PM
I have tried OS2007, OS2008, and OS2008 r&d mode.
tried wirelesstools:
ifconfig wlan0 down
ifconfig wlan0 hw ether XX:XX:X....
ifconfig wlan0 up
tried macchanger.

All lead to the same place. They will not let me reconnect to the network with the bogus MAC address.

barry99705
01-03-2008, 08:54 PM
Is it a credible mac address?? If you're just pulling numbers and letters out of your butt, then it's not going to work. The mac has to have a valid oui. Something like this, 00:12:17:48:02:D2 changed to 00:12:17:48:B2:C2 will work. The first three pairs, 00:12:17, means it's a linksys card. The last three is the unique card id, 48:02:D2, these are the numbers you want to change. Using something like 12:34:DE:AD:BE:EF most likely won't work. Most wireless routers know the difference between real, and made up numbers.

nossifer
01-10-2008, 10:08 PM
i followed the directions to the letter at work... didnt work. :)
so, i tried it at home with a controlled environment. still didnt work. it looks like this may just be driven by the hardware?

instigator
01-11-2008, 12:29 AM
sudo gainroot
ifconfig wlan0 down hw ether 12:12:84:23:1f:62
ifconfig wlan0 up


with macchanger installed...works for me with that address I made up randomly.

guest_user
12-25-2008, 08:29 AM
where do I get macchanger from for the latest diablo firmware?

luca
12-25-2008, 11:35 AM
It's not needed:

/etc/init.d/wlancond stop
ifconfig wlan0 down
ifconfig wlan0 hw ether <mac address>
ifconfig wlan0 up
/etc/init.d/wlancond start

guest_user
12-25-2008, 05:46 PM
can i still join a wlan after i change the mac address?

luca
12-26-2008, 07:13 AM
If you do as I said (stopping/starting wlancond) yes, provided that there's no mac filtering in place or the new mac is admitted.

raingnomo
01-23-2009, 03:27 PM
hi, i followed luca's instructions and it worked!!! thanks a lot.
my bluetooth has ben not working for a while.
i noticed that when i entered /etc/init.d/wlancond stop wireless stoped working also. is there a way to turn on-of bluetooth besides from control panel. like the whole thing? sorry for my bad english.

i canot turn on bluetooth.
and how do i change my device's name. it says nokia n800 12-34. i used to be able to change my device's name on the bluetooth tab in control pannel/.

how do i turn on bluetooth? if unable from contrl panel.
how do i change my device's name?

need more details? please help

leke
04-06-2011, 03:53 AM
It's not needed:

/etc/init.d/wlancond stop
ifconfig wlan0 down
ifconfig wlan0 hw ether <mac address>
ifconfig wlan0 up
/etc/init.d/wlancond start


Hi, I was just wondering, why is this needed?

/etc/init.d/wlancond stop
/etc/init.d/wlancond start

I haven't seen it in other examples for changing the mac address in Linux?

Thanks.

luca
04-06-2011, 01:28 PM
Because wlancond is the daemon that manages wifi connections (that's not really standard) and if you don't restart it the tablet won't be able to connect to any ap.