How to Change MAC Address of you Network or Ethernet card in Ubuntu Debian
by: Revengsky Joseph D. Reyes (a.k.a rjdreyes – jcyberinux.com)
For some reason or for security reason, in your network setup, you need to change the current MAC Address of your network card or Ethernet card. In order to do that, you need the following steps on changing MAC Address of your Network or Ethernet card.
Steps / Instructions on How to Change your MAC Address of your Network or Ethernet card in Ubuntu Debian:
1. To see first the information about your network address, go to Applications, then Accessories, then click Terminal.
From there the Terminal Prompt Launch, at the prompt, type the following: ifconfig
Then Press Enter, the information will be revealed of the network you have.
Note: Hwaddr 00:13:d4:2d:6a:30, for an example this is you MAC Address on Ubuntu
2. To change it, go to Places, click to Computer, then click to File System, find folder etc and double click it then go to network folder and inside that folder you will find interfaces file.
3. Grab the interfaces file by Hold the left-click button mouse, then drag it to the terminal, it will show the path of your interfaces file. At terminal, add a command sudo gedit at the beginning of the path of your interfaces file. As the example picture below, (sudo gedit ‘/etc/network/interfaces’) – Note: you can just type this command. I just want to show you were the interfaces file is located. 😀
(Note: It will ask for a administration password, or your own account password, type it and press Enter.) Then the gedit with interfaces file appears.
4. From there, you can add the line hwaddress ether 01:02:03:04:05:06 (Note: This is only an example you might actually change it to better mac address, take note also, there 6 segments 01:02:03:04:05:06. See the picture below.)
If your using DHCP(take a look at the example, your DHCP will look like this), just add the line hwaddress ether 01:02:03:04:05:06,
or if you are using static,
Then save it and close the gedit file (interfaces).
5. At the terminal, type sudo /etc/init.d/networking restart then press Enter, or Reboot your computer for more effective results.
You will see that the network or Ethernet card MAC address is changed. To view it again, type ifconfig on the terminal. (It match right? :D)
I hope this helps you out! 😀
Related Entries / Links / References:
How to Find your MAC Address in Ubuntu Debian by Jcyberinux
TCP/IP Network Configuration on Ubuntu by Jcyberinux
How to Install Ubuntu 10.04 LTS or Ubuntu 11.04 on Desktop or Laptop by Jcyberinux
Ubuntu Official Site
Download Ubuntu Official Site
