(Reading time: 1 minute)
Every network interface have an unique identifier assigned called Media Access Control Address (MAC Address), , used for communication on the physical network segment.

Using Linux you can replace this "number" with another one in a few simple steps
  1.  first of all write the actual MAC address for emergency (the interface could not connect). For this you can write on a shell 
     $ ifconfig>>config.txt

    that save your network settings on config.txt
  2. the second thing is to disconnect the interface with 
    # ifconfig eth0 down
  3. now you can modify the MAC 
     # ifconfig eth0 hw ether 00:00:00:00:00:0)

    where instead of zeros you have to put the new address (in hexadecima form, e.g. 01:23:45:67:89:ab)
  4. reconnect the interface 
    # ifconfig eth0 up

Remember: after rebooting the address returns to being the same as before


Add comment

Security code