Change WiFi MAC Address [closed]

2019-02-19 12:51发布

I'm one of the developers working on the Serval Project and we're looking at using the Huawei Ideos U1850 as the default platform for our Android development activities.

We've purchased a few phones from one of our local resellers here in Australia.

We have noticed that a number of the devices that we've sourced from this supplier all have the same WiFi MAC address.

Specifically the MAC address that we're seeing is as follows:

00:90:4C:14:43:19

Multiple devices with the same MAC address is causing us some issues with our development work and so we have two questions:

  1. Is this a common issue with the Ideos U1850 phones?
  2. Is there any way to change the MAC address on the phone to something else?

3条回答
贪生不怕死
2楼-- · 2019-02-19 13:12

The idea of a MAC address is that they are intended to be globally unique identifications. I am not sure how you are seeing the same MAC address across multiple devices, this should never happen. I know it perhaps does not answer your question but it should never happen in the first place.

None the less, you can try MAC address spoofing, and a quick Google search reveals the following link: http://www.robmcghee.com/android/changing-the-mac-address-on-android/

查看更多
兄弟一词,经得起流年.
3楼-- · 2019-02-19 13:27

At first you need to be root on your mobile, and open a terminal

~: netcfg -->show yours net devices

Now you can see what device you want to change, then you can do the next steps where eth0 would be replace with your net device name (wlan0 is common).

~: ifconfig eth0 down
~: ifconfig eth0 hw ether 00:80:48:BA:d1:30 --> your new mac
~: ifconfig eth0 up

I think this solution is ok, but now I can't try it. If a solution is possible may be will seem to this.

查看更多
时光不老,我们不散
4楼-- · 2019-02-19 13:37

While I was searching for a more permanent way to change my wifi mac address, I discovered there is a util for Texas Instrument wifi chips. It is called "calibrator". The wifi mac address can set in the nvs file. Here is what I did.

root@android:/system/etc/firmware/ti-connectivity # calibrator set nvs_mac wl1271-nvs.bin xx:xx:xx:xx:xx:xx

more info: https://github.com/gxk/ti-utils

I have the HTC Amaze and rooted. You might also need to mount /system with RW. I can't speak for broadcom chips however.

查看更多
登录 后发表回答