在Android中更改MAC地址 [英] Changing MAC Address in Android

查看:498
本文介绍了在Android中更改MAC地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更改根目录为Note 2的Android设备的Mac地址.

I am trying to change the Mac address of my rooted Note 2 android device.

我做了以下事情:

  • busybox ifconfig wlan0 down
  • busybox ifconfig wlan0 hw ether 00:11:22:33:44:55
  • busybox ifconfig wlan0向上

Mac地址确实更改了,但是随后由于显示身份验证失败,我无法连接到路由器.

The Mac address does get changed but subsequently I can't connect to my router as it is showing authentication failure.

有什么想法吗?还有其他方法可以更改Android中的Mac地址吗?

Any idea what's wrong? Is there any other way to change the Mac address in Android?

推荐答案

使用此方法:

您需要在终端中使用adb shell和su.

you need to use adb shell and su in terminal.

(我更改wlan0),您可以通过此命令"ip link show"查看所有内容

(i change wlan0) you can see all by this command "ip link show"

adb shell
su
ip link show wlan0
ifconfig wlan0 down;
ifconfig wlan0 hw ether 12:13:15:16:18:19  
ifconfig wlan0 up;

这篇关于在Android中更改MAC地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆