LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 11-30-2004, 02:42 AM   #1
sicc
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 10
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bad mac address in eth1 (wireless) setup FC4 seraph-oo- Linux - Wireless Networking 3 11-24-2005 02:46 AM
MAC Address spoofing on alias/secondary interface tara Linux - Networking 3 08-31-2005 09:22 PM
detect mac address spoofing bensky Linux - Security 1 03-13-2005 12:23 AM
wireless MAC address: 00:00:00:00:00:00 mamud Linux - Laptop and Netbook 2 02-24-2005 07:06 PM
Problem spoofing mac address colombo187 Linux - Networking 1 02-05-2005 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration