LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-15-2010, 01:20 PM   #1
shaiss
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Rep: Reputation: 0
Question Changing MAC address on the Fly


I'm doing some research on old kernels and running the following on 2.6.7 or 2.6.8 gives a resource busy error. But on 2.6.28 the command works as expected. How would I determine which kernel allowed this command to change the mac address on the fly? ip link set dev <dev> addr <MAC>

You can see some screenshots in the attachments. Thank you!
Attached Thumbnails
Click image for larger version

Name:	Fedora @ 2010-04-15 10:41:29.jpg
Views:	90
Size:	194.6 KB
ID:	3340   Click image for larger version

Name:	VortexBox @ 2010-04-15 11:03:50.png
Views:	78
Size:	8.9 KB
ID:	3341   Click image for larger version

Name:	Ubuntu Warty @ 2010-04-15 10:53:33.png
Views:	70
Size:	171.6 KB
ID:	3342  
 
Old 04-15-2010, 02:35 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,855

Rep: Reputation: 161Reputation: 161
Normally you should bring interface down when you change some interface parameter.
 
  


Reply

Tags
kernel, mac address



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
Changing MAC address help darkstar01 Debian 5 08-11-2009 11:41 AM
Changing MAC address. vigneshke Linux - Networking 5 06-20-2009 05:08 PM
changing mac address on every bootup Unregistered Slackware 23 11-05-2007 04:42 AM
Changing your MAC address kamransoomro84 Linux - General 3 04-22-2006 06:42 AM
Changing my Mac address griggt Linux - Networking 3 07-26-2005 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:38 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