Wifi Mac Address Changes On Every On/off Of Wifi


Mikado4all

Members
Nov 10, 2016
10
11
Hallo,
how ca i fix it?

WiFi MAC Address Changes every time I enable/ disable WiFi - is is on every ROM which I tested. (dev ROM, multi, MIUI 7 and 8, locker or unlocked - Mi Pad 2 16GB RAM)

We habe MAC based authentication with RADIUS Server.

Can everyone help me?

Thanks.
 
Last edited:
None of those works.
They do not work permanently. I mean no reboot, but simple WiFi on / off and I have a new address.
 
Last edited:
Where can I find the file where the MAC-address is?

If I know where it is, then I can take the permissions away.
 
Last edited:
The same problem with AOSP Image.
00:90:4c:xx:xx:xx
https://play.google.com/store/apps/details?id=com.wireless.macchanger

Try those steps in page:
https://android.stackexchange.com/q...the-permanent-mac-address-on-my-android-phone


Looks like more people have same issue.

1- It could be a special mac-adress-code when the hardware failed and couldn't read the burned-in mac-adress from wifi-component.

2- Or, wrong software configuration within the OS. The misc-partition, does it exist?

The mac-adress begins same as yours. There is also a poll with the same question.

http://forums.androidcentral.com/ve...57-wifi-mac-address-changes-every-reboot.html


This guy has a fix-file for download and explanation, if it worked fine with you, then report back!

Hope it helped
 
Last edited:
Hallo,
how ca i fix it?

WiFi MAC Address Changes every time I enable/ disable WiFi - is is on every ROM which I tested. (dev ROM, multi, MIUI 7 and 8, locker or unlocked - Mi Pad 2 16GB RAM)

We habe MAC based authentication with RADIUS Server.

Can everyone help me?

Thanks.
Yes, Finally I found a partition (ext4) that only stores the mac.txt file inside a folder named wifi.
The partition is 8192KB in my MiPad2 DualBootOS.
The name of the partition is /android_config


The tools I used was Ext2 Volume Manager version 3.00 Jul 9 2016 OpenSource

Try to edit inside the mac.txt but first you need to mount it if you are dualbooting to windows.

Otherwise, with root you could also possible mount (of course) partition /android_config and mount it to your sdcard0, change the file and then unmount before you reboot.
 
From android google-play-store, download diskusage.apk it has a green square icon https://play.google.com/store/apps/details?id=com.google.android.diskusage

launch app, give root permission, When if you have root, choose "root" and then "android_config"

From there , it will scan the partition and you could mark with your finger and then touch the menu-button "Show".


it will splash "choose apps" to open with, and you should really choose "es file editor" that already has root permission or any other app that has root-permission example Root file explorer.

Because editors need root-permissions... if that file doesn't exist on your miui or the partition doesn't exist then maybe that is the cause.
 
Last edited:
...okay ?
I can't find any Partition with name "android_config"
DiskUsage shows only FileUase of Fils, or?

You meen /dev/block/mmcblk0p2 ?


c:\ADB(P)>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
shell@latte:/ $ cat /proc/partitions
major minor #blocks name

254 0 524288 zram0
179 0 15267840 mmcblk0
179 1 7168 mmcblk0p1
179 2 8192 mmcblk0p2
179 3 10240 mmcblk0p3
179 4 6144 mmcblk0p4
179 5 16384 mmcblk0p5
179 6 16384 mmcblk0p6
179 7 32768 mmcblk0p7
179 8 32768 mmcblk0p8
179 9 32768 mmcblk0p9
179 10 32768 mmcblk0p10
179 11 1966080 mmcblk0p11
179 12 262144 mmcblk0p12
179 13 12841984 mmcblk0p13
179 48 4096 mmcblk0rpmb
179 32 4096 mmcblk0boot1
179 16 4096 mmcblk0boot0
shell@latte:/ $ ls -l /dev/block/by-name/*
/dev/block/by-name/*: Permission denied
1|shell@latte:/ $ su
root@latte:/ # ls -l /dev/block/by-name/*
lrwxrwxrwx root root 2016-11-25 19:44 android_bk1 -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2016-11-25 19:44 android_boot -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2016-11-25 19:44 android_bootloader -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2016-11-25 19:44 android_bootloader2 -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2016-11-25 19:44 android_cache -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2016-11-25 19:44 android_config -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2016-11-25 19:44 android_data -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2016-11-25 19:44 android_factory -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2016-11-25 19:44 android_metadata -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2016-11-25 19:44 android_misc -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2016-11-25 19:44 android_persistent -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2016-11-25 19:44 android_recovery -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2016-11-25 19:44 android_system -> /dev/block/mmcblk0p11
 
Last edited:
I have the secound tablet witd defect MAC Address.
Therte not have any /config/wifi folder with mac.txt inside.

I must now mout writabe the android_config partition and create an /config/wifi folder, but how?
Or, can I backup android_config patition from the good tablet?

Greating, Andreas
 
...okay, it is strange but it works !

>>> Solution >>>
I have create via ES-FileExplorer a file /config/wifi/mac.txt with the wish MAC-Adress with chmod 444 permissions and it works !!!!
<<<Solution <<<

10A2ABxxxxxx - without double point

Thanks, XhtcKing
 
...okay, it is strange but it works !

>>> Solution >>>
I have create via ES-FileExplorer a file /config/wifi/mac.txt with the wish MAC-Adress with chmod 444 permissions and it works !!!!
<<<Solution <<<

10A2ABxxxxxx - without double point

Thanks, XhtcKing
Glad to hear! Yes, you did right. /config map is also the mount-point of the very same partition.

Happy Christmas and Happy new year!