tig360, on 14 August 2012 - 05:22 PM, said:
Use a root file manager.
Go to /data/misc/dhcp and delete all the files in it.
It will happen once in a while. When it happens, just repeat the procedure.
alefq, on 09 April 2013 - 04:02 AM, said:
Thank you for your workaround.
I'm using CM 9-20130329-UNNOFFICIAL-pepper (I have an Xperia Sola).
Is this a bug on Sony models or is a CM9 related?
Can I make this an automated procedure everytime I disable WIFI?
I made this a little simpler (for repetitive issues)
1) Have a rooted phone
2) Install this: https://play.google....s.scriptmanager
3) Open Script Manager, go to your SD Card (or any directory) and press Menu/New Script
4) This will create a new text/script file (I named mine: clean-dhcp-data.sh), with this content inside
The first line should be added to you automatically, I'm pasting here the full script, just in case
5) Tap on the new created file, at the property window mark the star (favorite) and the second Icon named "su" (the green one, with an Android Skull like icon). This image is only an example from playstore, here the star is not marked.
6) The next time you have the Wifi issue, go to your Script Manager's scripts option, and run the script to clean dhcp directory
TODO: Make this an automated clean everytime the wifi is turned off or disconnected.
Edited by alefq, 15 April 2013 - 07:45 PM.