Step 1 : Identify the Mac address of Your LAN
1. Open Terminal window from Accessories .
2. Enter the command given bellow :
ifconfig3. Now you are already found your output. In out put you can see something like that eth0, if you use one card then you can see eth0 or if you use more then one card the you can see some thing like that eth1, eth2, eth3 . For example you can see the bellow picture.
In the terminal output look for something like that : HWaddr 00:01:02:03:04:05 . it is your mac address save it before close the window.
Step 2: Changing MAC address :
1. Go to the terminal - Applications > Accessories > Terminal .
2.Input the bellow command in the window :
ifconfig eth0 downIn the second line input your mac address .
ifconfig eth0 hw ether 00:01:02:03:04:05
ifconfig eth0 up
3. In Terminal input the bellow command :
sudo gedit /etc/network/interfacesA new text editor gadget will open. You see the bellow code in the text editor
auto eth0if your connection is not Static then you will see the bellow code :
iface eth0 inet static
address 111.222.333.444
gateway 555.666.777.888
netmask 255.255.255.0
auto eth0Now enter your mac address in the second line. After entering the mac address in text editor pad your code will be like that :
iface eth0 inet dhcp
address 111.222.333.444
gateway 555.666.777.888
netmask 255.255.255.0
auto eth0or
iface eth0 inet static hwaddress ether 01:02:03:04:05:06
address 111.222.333.444
gateway 555.666.777.888
netmask 255.255.255.0
auto eth0Now 00:01:02:03:04:05 will be replaced by your mac address. After changing this 00:01:02:03:04:05 to your mac address save and close the text pad.
iface eth0 inet dhcp hwaddress ether 00:01:02:03:04:05
4. Now in Terminal enter the command given bellow:
sudo /etc/init.d/networking restartNow your done. If any cause you want to go back to your old mac address then remove the few extra line you already added in text editor gadit.
0 comments:
Post a Comment