当前位置: 代码迷 >> Android >> 怎么修改安卓手机的wifi mac地址
  详细解决方案

怎么修改安卓手机的wifi mac地址

热度:22   发布时间:2016-05-01 20:58:31.0
如何修改安卓手机的wifi mac地址?
======================================================
1. Download terminal emulator from the market.
2. open it and type 'su'
3. type 'ifconfig'
4. Identify the wireless card. (eth0, ra0, wlan0) No access to phone right now.
5. Type 'ifconfig 'cardname here' down'
6. Type 'ifconfig 'cardname' hw ether 00:11:22:33:44:55'
7. Type 'ifconfig 'cardname here' up'
======================================================
o change the MAC Address, type this without the quotes (''):
'ip link set eth0 address XX:XX:XX:XX:XX:XX'
'ip link set eth0 broadcast XX:XX:XX:XX:XX:XX'

XX:XX:XX:XX:XX:XX is the new MAC Address you want where each X is a letter A-F or number.

Finally, to check if the MAC Address has changed, type this without the quotes (''):
'ip link show eth0'
======================================================
网上找到上面2种方式,但是进超级终端 按照如上指令修改之后,用ifconfig能看到修改mac成功,但是不能连接无线网络了。而且这样改,手机重启之后,mac又还原。
不知这里有没有大侠能修改,谢谢了
我手机是 htc的
谢谢

------解决方案--------------------
ifconfig其实是个假的,如果网卡不支持改写MAC这个接口,ifconfig写不进去的。
我手里有2块无线网卡,一个可以修改,一个不可以(便宜点的)。
你最好先确定你那款手机是否有人修改成功过……或者网卡型号
------解决方案--------------------
这个应该是由硬件决定的吧,我估计最好的话也就是能做个MAC伪装
  相关解决方案