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 ;]
Last edited by sicc; 11-30-2004 at 03:34 AM.
|