![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered Member
Join Date: Aug 2003
Posts: 43
|
Need help spoofing MAC address, ifconfig down seems to remove wireless card
As the title states, I am looking for a way to spoof my wireless card's MAC address. I have tried all of the obvious methods, but they have all failed.
I am running Slackware 10, kernel 2.4.xx, and using an Orinoco gold classic wireless card. It is also using the patched pcmcia drivers, version 3.2.7, and firmware 8.10 [I've tried downgrading to a lower firmware in the past with no success, so that isn't really an option] Here is what I've attempted so far, along with the error messages. ----------------- # ifconfig eth0 hw ether 10:10:10:10:10:10 SIOCSIFHWADDR: Device or resource busy # ifconfig eth0 down # ifconfig eth0 hw ether 10:10:10:10:10:10 SIOCSIFHWADDR: No such device # ifconfig eth0 up SIOCSIFFLAGS: No such device # ifconfig eth1 Link encap:Ethernet HWaddr 00:E0:18:74:B3:EC inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:20 errors:0 dropped:0 overruns:0 frame:0 TX packets:62 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3246 (3.1 Kb) TX bytes:10929 (10.6 Kb) Interrupt:11 Base address:0xe800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 b) TX bytes:100 (100.0 b) # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:02:2D:C3:CB:4B BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:3 Base address:0x100 ------------------ Now I know I used to be able to do ifconfig down, then ifconfig up, and it would work fine. I don't know what made this suddenly stop working, but I'm thinking this may be the problem. I have to restart the pcmcia service to get the card back. I have even downloaded macchanger, and it gives the same type of error. I just tried doing this to my eth1 [wired connection] and it works perfectly as long as I bring it down first. I am going to start searching for errors with 'ifconfig down; ifconfig up' and see what I can find. If anybody has gone through this please let me know what can be done to fix it. Thanks ;]
__________________
-sicc Last edited by sicc : 11-30-2004 at 02:35 AM. |
|
|
|
|
|
#2 (permalink) |
|
Did you do the math?
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,098
|
Some cards/firmware/software seem to fight a spoofed MAC. Other people here have reported that it doesn't seem to work unless certain criteria are met, such as the first six digits matching the OUI # of the manufacturer.
The easiest thing to do is avoid all the drama of doing it yourself, and just use a MAC changing program which will plug in an appropriate number. Chris wrote SirMACsAlot; apparently coding while under the influence of rap music. You can read about it here: http://forums.netstumbler.com/showthread.php?t=10144 And download it here: http://www.michiganwireless.org/tools/sirmacsalot/
__________________
Thorn "I'm The Doctor. I'm a Time Lord. I am from the planet Gallifrey in the constellation Kasterborous. I'm 903 years old and I am the man who is going to save your lives and all 6 billion people on the planet below... You got a problem with that?" |
|
|
|
|
|
#3 (permalink) | |
|
Asshole Emeritus
Join Date: May 2003
Location: S.E. VA.
Posts: 5,939
|
Quote:
<cue music> I.like.big.butts....
__________________
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." Sons of Confederate Veterans |
|
|
|
|
|
|
#4 (permalink) | |
|
Not feeling funny...
Join Date: Jan 2003
Location: Rebrandsoftware's mom's house...
Posts: 1,699
|
Quote:
You other Stumblahs can't deny! When a Orinocah card wit' a itty-bitty MAC Is jus' beggin' fa you ta crack That muh'fuggin' WEP, yo! Word 'em up! ![]()
__________________
WTOTD Industries - Where quality is Job #3. G8tK33per doesn't care about the tarded people! -Kanye West |
|
|
|
|
|
|
#6 (permalink) |
|
Country Boy.
Join Date: Aug 2002
Location: Deep in the Woods.
Posts: 1,911
|
I think my ears are bleeding now bitch!
__________________
audit Blackberry Outage Mail List. Be the one of first people to know about RIM outages. Blackberry Chat Mail List. My day to day life. |
|
|
|
|
|
#8 (permalink) |
|
Registered Member
Join Date: Aug 2003
Posts: 43
|
Haha... you guys crack me up. Unfortunately, the problem is deeper than that. I get the same error using that program. The problem isn't that I can't change my MAC, it's that I can't bring my card down, then back up again.
Anybody else have any ideas? I read something about recompiling my kernel with CONFIG_IP_ALIASING=y. I have bad luck recompiling, so I've tried to stay away from this, but does this sound like it would fix this problem? Also, if somebody could give me some links to some other GOOD linux forums so I can ask there too, that would be cool. I posted this at linuxquestions.org also, but no responses yet.
__________________
-sicc Last edited by sicc : 11-30-2004 at 04:56 PM. |
|
|
|
|
|
#9 (permalink) | |
|
root\.workspace\.garbage.
Join Date: Aug 2003
Posts: 4,805
|
What about running Alchemy in Wine? I used it the other day on my XP machine and noticed that one of the options of Alchemy is to change the MAC address. It's a bit inconvienent having to run Windows but if this is just onesy/twosy type thing you might want to look into it.
Monitr7, it needs more Cowbell! Quote:
__________________
Daughter with arms inside shirt: "Daddy I'm not Armish" ┌──────────────────────────────┐ ╞ NS Icons Explained|et hoc genus omne ╡ └──────────────────────────────┘ |
|
|
|
|
|
|
#10 (permalink) |
|
Not feeling funny...
Join Date: Jan 2003
Location: Rebrandsoftware's mom's house...
Posts: 1,699
|
THAT... was... friggin'... awesome! I give ya mad props, beakmyn, yo!
![]()
__________________
WTOTD Industries - Where quality is Job #3. G8tK33per doesn't care about the tarded people! -Kanye West |
|
|
|
|
|
#11 (permalink) |
|
Registered Member
Join Date: Aug 2003
Posts: 43
|
I guess a little backround would have helped [and I'm not talking about for your song haha]. I have been using windows, and just recently started using linux for about a month or so. I am trying to do all of my wardriving in linux, as this is what I prefer now [didn't take long to get me hooked].
I know how to do it in windows by changing the registry value, or any of the other methods.
__________________
-sicc |
|
|
|
|
|
#12 (permalink) | |
|
PeaceDriver
Join Date: Apr 2002
Location: Dos Palabras, Mandoras
Posts: 2,920
|
Quote:
If you have a windows computer available, alchemy will be a very easy method of changing your MAC address.
__________________
all good ends all ?u=273
|
|
|
|
|
|
|
#13 (permalink) | |
|
Registered Member
Join Date: Aug 2003
Posts: 43
|
Quote:
I did NOT know that! I will try that after I fix my XP partition. Thanks a lot! ;]
__________________
-sicc |
|
|
|
|
|
|
#14 (permalink) | |
|
Did you do the math?
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,098
|
Quote:
I can only ask: Slow day at work? ![]() sicc, what does DMESG say about eth0? Are your IRQ and interrupts correct and not conflicting?
__________________
Thorn "I'm The Doctor. I'm a Time Lord. I am from the planet Gallifrey in the constellation Kasterborous. I'm 903 years old and I am the man who is going to save your lives and all 6 billion people on the planet below... You got a problem with that?" |
|
|
|
|
|
|
#15 (permalink) | |
|
Registered Member
Join Date: Aug 2003
Posts: 43
|
Quote:
As far as IRQ conflicts, the card works flawlessly otherwise, so I doubt it.
__________________
-sicc |
|
|
|
|