如何修改安卓手机的wifi mac地址?

yunqian09 2012-04-15 04:50:24
======================================================
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的
谢谢
...全文
20861 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
jerrypiaopiao 2012-04-16
  • 打赏
  • 举报
回复
这个应该是由硬件决定的吧,我估计最好的话也就是能做个MAC伪装
yunqian09 2012-04-16
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 的回复:]

ifconfig其实是个假的,如果网卡不支持改写MAC这个接口,ifconfig写不进去的。
我手里有2块无线网卡,一个可以修改,一个不可以(便宜点的)。
你最好先确定你那款手机是否有人修改成功过……或者网卡型号
[/Quote]

ifconfig为何是假的呢?
还有上面提到的“ip link set” 这个难道也是假的?
谢谢
念茜 2012-04-15
  • 打赏
  • 举报
回复
ifconfig其实是个假的,如果网卡不支持改写MAC这个接口,ifconfig写不进去的。
我手里有2块无线网卡,一个可以修改,一个不可以(便宜点的)。
你最好先确定你那款手机是否有人修改成功过……或者网卡型号

80,349

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧