LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   "ifconfig up" resets spoofed mac to hardware mac (https://www.linuxquestions.org/questions/linux-kernel-70/ifconfig-up-resets-spoofed-mac-to-hardware-mac-843571/)

Mitch Gaylord 11-10-2010 10:15 PM

"ifconfig up" resets spoofed mac to hardware mac
 
if i spoof the MAC on wlan0, when i bring the device up it resets to the hardware mac automagically. I am running Ubuntu 10.04 on a eee netbook. If i bring wlan0 down, change the MAC (any number of ways, ifconfig, macchanger, etc.), when i issue 'ifconfig up' the MAC is reset to the hardware MAC. I know it's possible to do; it works when i do it in Backtrack (which is ubuntu based) with the same hardware, also, spoofing eth0 works fine in ubuntu 10.04.

stress_junkie 11-11-2010 04:04 PM

What about just adding up to the end of the configuration statement?
Code:

ifconfig wlan0 down
ifconfig wlan0 <configuration> up


Mitch Gaylord 11-11-2010 07:35 PM

Nope, doesn't work. That indicates to me that it's not something inherent in the command but rather something that ifconfig "calls" maybe it is something with the driver. i am going to see what driver Backtrack uses on my machine to eliminate that as a possibility.


All times are GMT -5. The time now is 03:26 PM.