I would like to get a random mac address everytime I turn on my linux machine (debian). Is this possible? If so, how?
closed as off-topic by jasonwryan, Anthon, Zelda, Herman Torjussen, slm♦ Jan 11 '14 at 13:01
This question appears to be off-topic. The users who voted to close gave this specific reason:
It is possible, look at How to change MAC address, posted at September 14, 2005 by Ravi.
Changing MAC address of a machine is called spoofing a MAC address or faking a MAC address. In linux, you can change MAC address of your machine.This is how it is done.
How to change MAC address in Linux
First find the physical MAC address of your machine by running the following command:
The hexadecimal numbers in blue denote my machine's MAC address. Yours will be different. Learn how to use the ifconfig Linux command.
You can also use ethtool to find the hardware address of your machine.
Next, login as root in Linux and enter the following commands:
I have changed the MAC address to a different number highlighted in blue. 00:80:48:BA:d1:30 is the new MAC address I have provided for my Linux machine. You can choose any 48 bits hexadecimal address as your MAC address.
Why you should change MAC address of your Linux machine
These are the reasons you should change the MAC address of your machine.
Caveats to Changing MAC address
In Linux, Windows, Mac OS X, or a different operating system, changing MAC address is only temporary. Once you reboot your machine, the operating system reflects the physical MAC address burnt in your network card and not the MAC address you set.
Still if you are looking for privacy as @msw pointed out I would go the TOR way.