Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to spoof the MAC address of the wireless interface using wpa_supplicant.conf in Android when I connect as a client to an access point?

Edit Unfortunately, Android doesn't support

ifconfig eth0 hw ether 00:00:00:00:00:00

I've been using

ip link set eth0 address 00:00:00:00:00:00

but that only works temporarily. After I disconnect and reconnect to the access point, the mac resets itself.

share|improve this question

No, wpa_supplicant cannot change interface's MAC address. But if you have root shell on your Android you can try to change MAC address with ifconfig.

share|improve this answer
thanks, I've tried that but unfortunately it doesnt work. – siamii Aug 22 '11 at 12:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.