How to change mac address in linux

Tuesday, October 11, 2011

First of all you have to open Terminal...


type the following command to check the mac:
1. ifconfig -a | grep HWaddr
(Note it down somewhere )




2. ifconfig eth0 down


ifconfig eth0 hw ether 00:70:5D:34:54:02
(Any mac address you want to give)


ifconfig eth0 up


ifconfig -a | grep HWaddr
(To check your new mac address)




Note: 1. mac address should be in hex dec.


2. you can change mac add. of any interface
but you have to specify name
Share this article :

0 comments:

Speak up your mind

Tell us what you're thinking... !

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. test - All Rights Reserved
Template Created by Creating Website Inspired by Sportapolis Shape5.com
Proudly powered by Blogger