Search Mailing List Archives
[liberationtech] [guardian-dev] Randomize MAC of Android phone?
julian at julianoliver.com
Sun Oct 27 13:46:10 PDT 2013
..on Sun, Oct 27, 2013 at 03:15:12PM +0100, Timur Mehrvarz wrote:
> On 24.10.2013 20:48, coderman wrote:
> > On Thu, Oct 24, 2013 at 5:23 AM, Timur Mehrvarz
> > <timur.mehrvarz at riseup.net> wrote:
> >> ...
> >> The Android Wifi kernel drivers seem to not implement the functionality
> >> behind 'ifconfig wlan0 hw ether' (what is behind the ioctl call being
> >> used by ifconfig).
> > i've had success with HTC, LG, and Samsung devices. less so with
> > Motorola or newer hardware.
> Can you name the device models you had success with? Maybe explain how
> you changed the MAC address on those? Is it always the same procedure?
> > this is not really the kernel itself, but rather the wifi chipset - a
> > new kernel on the devices you're having trouble with won't fix this
> > ioctl.
> > unfortunately this problem is getting worse, not better.
> Hmm, I see. In this case it would be really good to have a
> positive/negative list in regard to Wifi chipsets.
Would be good to see a build of 'macchanger' for Android. I use it on init on my
laptop with the vendor option. Gives a unique MAC addr but with the first fields
corresponding to known vendors, like so:
ifconfig wlan0 down
macchanger -A wlan0
ifconfig wlan0 up
Here's the manpage:
macchanger - MAC Changer
macchanger [options] device
macchanger is a Linux utility for viewing/manipulating the MAC address
for network interfaces.
macchanger accepts the following options:
Show summary of options.
Show version of program.
Don't change the vendor bytes.
Set random vendor MAC of the same kind.
-A Set random vendor MAC of any kind.
Set fully random MAC.
Reset MAC address to its original, permanent hardware value.
Print known vendors (with keyword in the vendor's description
-m, --mac XX:XX:XX:XX:XX:XX, --mac=XX:XX:XX:XX:XX:XX
Set the MAC XX:XX:XX:XX:XX:XX
Prints the current MAC
macchanger -A eth1
More information about the liberationtech