Friday, July 3, 2009

Changing MAC address in Ubuntu 9.04

To change your current or existing MAC address in ubuntu 9.04 just follow the follwing steps.... hope yours will be changed..

1. Open The terminal [Application-->Accessories-->Terminal]
2. Write the quoted code or copy and paste it in terminal [without the "" symbols]
"sudo gedit /etc/init.d/"
give sudo password when prompted.
3. A file will be opened. In that file after the last line write the following codes or paste it.

killall dhclient
killall dhclient3
ifconfig eth0 down
ifconfig eth0 hw ether 001CC019A888
ifconfig eth0 up

4. Now save the file and restart your machine.

You are done.