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/bootmisc.sh"
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
/sbin/dhclient
/sbin/dhclient3

4. Now save the file and restart your machine.

You are done.

10 comments:

  1. Thank you man! Don't know where you get it, but works like a charm!!!

    ReplyDelete
  2. Can anyone recommend the robust IT automation tool for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central software monitoring
    ? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

    ReplyDelete
  3. How about changing the MAC on Wlan0? How do you get it to
    change Wmaster0?

    ReplyDelete
  4. you could specify that you could type the commands one at a time, or make a "change mac.sh" script file or something. It doesn't need to happen after a restart.

    ReplyDelete