Sometime we need to change MAC Address on Ubuntu. First step is make configuration file, and the file will be restarted when system/machine up. Here is step by step the changing.
Open terminal and type as follow:
$ ifconfig <Check existing MAC Address>
$ cd /etc/init.d
$ sudo nano ChangeMAC
Then, fill configuration file with new MAC Address.
Sudo ifconfig eth1 down
Sudo ifconfig eth1 hw ether xx:xx:xx:xx:xx:xx <new MAC address>
Sudo ifconfig eth1 up
Sudo /etc/init.d/networking stop
Sudo /etc/ini.d/networking restart
Save and close the file
Apply configuration file.
$ sudo chmod +x ChangeMAC
$ sudo update-rc.d ChangeMAC defaults
Restart machine, and check new MAC Address with ifconfig command.
October 22, 2009 at 11:56 am |
What are you advising people to do? ,