Change Mac address in Ubuntu: How to Change Mac Address In Ubuntu linux

FREQUENTLY ASKED QUESTIONS (Ubuntu)
Q: How to change mac address in Ubuntu Linux? (Mac spoofing)                                     
Mac spoofing
Mac spoofing is changing a factory assigned Mac address (Media Access Control Address)  of an ethernet device. You can change the mac address of your NIC card by following the steps below

How to know mac address of a device
user@ubuntu:~$ ifconfig -a | grep HWaddr

eth0      Link encap:Ethernet  HWaddr 00:E0:4D:A0:6A:4A


Change Mac address of a device
user@ubuntu:~$ sudo vi /etc/network/interfaces 
iface eth0 inet static                    #(you may see this line if eth0 have a static ipaddress) 
hwaddress ether a1:b2:c3:d4:e5:f6    #(add this linenew mac address for eth0)
#(Save the "interfaces" file)

Restart networking to take effect new Mac address
user@ubuntu:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces...                                 [ OK ]

Verify new Mac address
user@ubuntu:~$ ifconfig -a | grep HWaddr

 eth0      Link encap:Ethernet  HWaddr a1:b2:c3:d4:e5:f6


2 comments:

Unknown said...

There are many methods and tools for changing mac address but this one is certainly one of the best way through which you easily perform this operation.

Thanks
Silvester Norman

Changing MAC Address

Charlie Electra said...

Never have found any change in MAC Address important.Don't know why people are crazy about it ?

Thanks
Charlie Electra

Buy Electronic Products

Related Posts Plugin for WordPress, Blogger...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons