Make sure that wlan0 is not "up" when you try to change your MAC address.
Hi,
I´m using backtrack 3 and i have a realtek RTL8187B wireless card with the driver rtl8187b_linux_24.6.1024.0822.2007.
Every time i try to change my mac address i receve an error and some times backtrack crashe.
The error is the same if i right:
bt # macchanger --mac 00:11:22:33:44:55 wlan0
or
bt # ifconfig wlan0 hw ether 00:11:22:33:44:55
The error is:
bt # macchanger --mac 00:11:22:33:44:55 wlan0
Current MAC: YO:UR:MA:CAD:YY (unknown)
Faked MAC: 00:11:22:33:44:55 (Cimsys Inc)
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: Oops: 0000 [#1]
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: SMP
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: CPU: 1
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: EIP: 0060:[<f93434bd>] Not tainted VLI
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: EFLAGS: 00010286 (2.6.21.5 #4)
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: EIP is at rtl8180_commit+0xd/0x50 [r8187]
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: eax: 00000000 ebx: 00000000 ecx: 00000296 edx: 00000000
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: esi: 000014e4 edi: d45b96ac ebp: 00000296 esp: c312ff44
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: Process events/1 (pid: 7, ti=c312e000 task=c310d5b0 task.ti=c312e000)
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: Stack: 00000082 d45b96ac dfe08240 f9343544 d45b96b0 c012d222 00000000 c312ff8c
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: 0000dabe c301ab60 dfe0824c dfe08260 f9343520 dfe08240 dfe0824c dfe08254
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: c312ffa0 c012da07 00000001 00000000 00000000 00010000 00000000 00000000
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: Call Trace:
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: [<f9343544>] rtl8180_restart+0x24/0x40 [r8187]
bt rtl8187b-modified #
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: [<c012d222>] run_workqueue+0x92/0x140
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: [<f9343520>] rtl8180_restart+0x0/0x40 [r8187]
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: [<c012da07>] worker_thread+0x157/0x180
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: [<c0118d70>] default_wake_function+0x0/0x10
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: [<c012d8b0>] worker_thread+0x0/0x180
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: [<c0130614>] kthread+0xd4/0xf0
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: [<c0130540>] kthread+0x0/0xf0
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: [<c0103c57>] kernel_thread_helper+0x7/0x10
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: =======================
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: Code: ba 76 2c 00 19 c0 85 c0 74 e4 89 f0 e8 ad c2 31 c7 31 c0 5b 5e c3 90 8d b4 26 00 00 00 00 56 53 83 ec 04 89 c3 8d b0 e4 14 00 00 <66> 83 7e 62 00 75 0c 58 5b 5e c3 90 8d b4 26 00 00 00 00 c7 04
Message from syslogd@(none) at Sat Dec 27 01:52:07 2008 ...
(none) kernel: EIP: [<f93434bd>] rtl8180_commit+0xd/0x50 [r8187] SS:ESP 0068:c312ff44
bt #
if any one know something about this help me plz.
Make sure that wlan0 is not "up" when you try to change your MAC address.
Like cybrsnpr said, make sure that your interface is not "up"
Try this-
Code:airmon-ng stop wlan0Code:ifconfig wlan0 downCode:macchanger --mac 00:11:22:33:44:55 wlan0Xploitz has really good tutorials. In the beginning of cracking wep he shows how to change your media access control address.Code:airmon-ng start wlan0
http://forums.remote-exploit.org/sho...t=9063&page=63
Try that and get back to us.
The error persists...
always the same error...
I allways do:
airmon-ng stop wlan0
ifconfig wlan0 down
macchanger --mac 00:11:22:33:44:55 wlan0
and the error comes up. and i have to restart backtrack, because the enter key act like is continuous press down...
thanks the replay.
any suggestion?
-Monkeys are like nature's humans.
plz.. help resolving this problem...
This worked in BT2 for atheros chip wifi cards.Pay attention to the full cap instruction in the middle of the commands.Perhaps it will help:
The 8 steps below will allow you to connect to the internet using a spoofed MAC address on an ath0 (atheros chipset) device.
bt ~ # wlanconfig ath0 destroy
bt ~ # macchanger --mac 00:11:22:33:44:55 wifi0
Current MAC: YO:UR:MA:CAD:YY (unknown)
Faked MAC: 00:11:22:33:44:55 (Cimsys Inc)
bt ~ # wlanconfig ath0 create wlandev wifi0 wlanmode managed
(WHEN YOU TYPE THIS COMMAND,THE NEXT LINE ON YOUR SCREEN SAYS ath0 JUST LIKE THE LINE BELOW THIS ONE!...DO NOT TYPE ath0 IN A NEW COMMAND LINE!!!)
ath0
bt ~ # ifconfig ath0 up
bt ~ # iwconfig ath0 essid NetworkName key WepKeyHere
bt ~ # dhcpcd ath0
Retrieved from "xxxx://backtrack.offensive-security.com/index.php/Howto:_How_to_connect_to_the_internet_on_BT2_using _a_spoofed_MAC_address"
Good luck from another newbie
you need to replace "ath0" with the relevant wifi device, in this case "wlan0" so try:
wlanconfig wlan0 destroy ...etc...
if that doesn't work for you, try posting more details, a dmesg and ifconfig -a output. if it does work, "nano macchangerwlan0.sh" copy and paste, so that way in the future you can run it as a shell script slightly automating the process and saving you from typing the same thing over and over again
open source = open minds, human knowledge belongs to the world
Are you sure you're using the right interface? When I am using the iwl3945 driver my interfae is wlan0, but when I load the ipwraw drivers it switches to wifi0