Changed the file "interfaces" as you said, but no success. The mac address does not reflect that one in /etc/network/interfaces. ( after reboot ). Tried macchanger without success also.
Please show the content of your file.
The original file interfaces ( without modifications that didn't work )
----------------------------------------------------------
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
----------------------------------------------------------
And inside /etc/network/interfaces.d there isn't any file.
I also saw this :
https://stackoverflow.com/questions/2342189...time-in-androidThe contents of answer 1 is :
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"Not entirely true Raptor. Android WILL generate a MAC address every time WiFi is activated if it doesn't have one. Here's how to tell (and how I fixed it on my Chinese tablet)
Root the device.
Open file "/data/nvram/APCFG/APRDEB/WIFI" with a hex editor.
if bytes 4 thru 9 are 0 then Android will generate a MAC address on-the-fly.
To FIX (hard-code) a MAC address, edit the "WIFI" file above and type a (any) MAC address into those byte locations (in hex notation, as you see it). Save the file. Reboot / restart WIFI and see setting. You should see your new address. And Android will now recognise your new address and won't generate a new one every time.
I did then to persist MAC filtering in my router, else the kids keep abusing my bandwidth by adding new i-devices.
Hope this helps"
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I've tried this in both linux and android without success.
In linux, it regenerates a file "WIFI" identical to the original file when rebooting ( overwriting all the changes I've made. )
In android it regenerates a file different from my changes ( I've did a diff ), but with zeros in bytes 4 thru 9 as explained above.
Thank you.