Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 11-10-2010, 10:15 PM   #1
Mitch Gaylord
LQ Newbie
Registered: Nov 2009
Distribution: Ubuntu; FreeBSD
Posts: 3

Rep: Reputation: 0
"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.
Old 11-11-2010, 04:04 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
What about just adding up to the end of the configuration statement?
ifconfig wlan0 down
ifconfig wlan0 <configuration> up
Old 11-11-2010, 07:35 PM   #3
Mitch Gaylord
LQ Newbie
Registered: Nov 2009
Distribution: Ubuntu; FreeBSD
Posts: 3

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


backtrack4, driver, ethernet, ubuntu, wireless

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Why "-bash: ifconfig : command not found" when typing "$ifconfig" dangdtvn Linux - Server 9 09-20-2013 06:01 AM
how to permanent spoof "fake" mac address for eth0 & eth1? in NEW linux distro"s... vastvet Linux - Newbie 22 02-02-2013 12:40 AM
"random" xorg resets ... quickly typing in the GUI a "2" resets X Tinkster Slackware 3 04-09-2010 04:25 AM
spoofed mac address and conflicts zzyborg Linux - Networking 8 12-09-2006 09:44 AM
Removing spoofed MAC cooljimwhy Linux - Networking 1 08-22-2006 10:04 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:56 AM.

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