FORUMS
Remove All Ads from XDA

Changing MAC address in Android (G1)

10 posts
Thanks Meter: 1
 
By Scrotius, Junior Member on 10th August 2010, 05:21 PM
Post Reply Email Thread
Is there a way to change the MAC address functionally, so that other devices think it has that address?

I have tried these methods (tiwlan0 corresponds to the wifi mac, no, it's not eth0)

In ADB: # ip link set tiwlan0 address 00:12:f0:dd:cc:dc
error: ip: SIOCSIFHWADDR: Operation not supported on transport endpoint

In terminal emulator on the phone: ip link set tiwlan0 address 00:12:f0:dd:cc:dc
error: ip: socket: operation not permitted

I have heard that some do change it but it reverts when communicating with a device.
 
 
11th August 2010, 11:49 PM |#2  
Retired Recognized Developer
Thanks Meter: 21
 
More
Quote:
Originally Posted by Scrotius

Is there a way to change the MAC address functionally, so that other devices think it has that address?

I have tried these methods (tiwlan0 corresponds to the wifi mac, no, it's not eth0)

In ADB: # ip link set tiwlan0 address 00:12:f0:dd:cc:dc
error: ip: SIOCSIFHWADDR: Operation not supported on transport endpoint

In terminal emulator on the phone: ip link set tiwlan0 address 00:12:f0:dd:cc:dc
error: ip: socket: operation not permitted

I have heard that some do change it but it reverts when communicating with a device.

That's always worked fine for me (different interface name) -- are you sure you have root? Try turning off and on your wireless interface
21st February 2011, 06:18 AM |#3  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by Scrotius

Is there a way to change the MAC address functionally, so that other devices think it has that address?

I have tried these methods (tiwlan0 corresponds to the wifi mac, no, it's not eth0)

In ADB: # ip link set tiwlan0 address 00:12:f0:dd:cc:dc
error: ip: SIOCSIFHWADDR: Operation not supported on transport endpoint

In terminal emulator on the phone: ip link set tiwlan0 address 00:12:f0:dd:cc:dc
error: ip: socket: operation not permitted

I have heard that some do change it but it reverts when communicating with a device.

hi your answer in this link for change you mac address Wifi in android
Bissmi ALLAH
The Following 2 Users Say Thank You to joumdane For This Useful Post: [ View ] Gift joumdane Ad-Free
3rd December 2011, 04:54 AM |#4  
Member
Thanks Meter: 4
 
More
The right answer
Permission is not given because you do not simply have granted SU (Super user rights) to your terminal application.

Just type: SU in your terminal window (if your android device is root of course).
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes