(easy) REAL wifi FIX for "obtaining ip address" loop--found by me
here is a REAL FIX, NOT WORK-AROUND for the "obtaining ip address" loop without setting static ip address.
i found this myself, by examining error log dump, logbox, which for me was showing "E/dhcpcd ( 7097): / system/etc/dhcpcd/dhcpcd-run-hooks: Permission denied"
system/etc/dhcpcd/dhcpcd-run-hooks needs to have permissions fixed to "execute" by "user" "group" and "others" by using your favorite file explorer
this will fix your "obtaining ip address loop" without having to ever use static ip address
here is a REAL FIX, NOT WORK-AROUND for the "obtaining ip address" loop without setting static ip address.
i found this myself, by examining error log dump, logbox, which for me was showing "E/dhcpcd ( 7097): / system/etc/dhcpcd/dhcpcd-run-hooks: Permission denied"
system/etc/dhcpcd/dhcpcd-run-hooks needs to have permissions fixed to "execute" by "user" "group" and "others" by using your favorite file explorer
this will fix your "obtaining ip address loop" without having to ever use static ip address
or at least it did mine.
how can i get to that. Im kind of a noob. But my wifi doesnt even scan it just sits there for like 10sec then turns off.
how can i get to that. Im kind of a noob. But my wifi doesnt even scan it just sits there for like 10sec then turns off.
this is not for fixing a non-working wifi
this is for fixing the "obtaining ip address" loop that happens when you put the correct wep key for a network and it refuses to connect without manually setting up a static ip address.
for this you have to navigate to the above location using any root explorer, i use x-plore, and then long click on the file and make sure the check boxes are checked on the permissions to "execute" for each user group.
exactly. change the permissions to "execute" for all users, groups, and others.
this should fix your problem.
if not, use catlog to find out what your error is. turn on your wifi, input the correct password, and then try to connect and immediately go to catlog and find what is giving you your error and go from there.
The Following User Says Thank You to stayboogy For This Useful Post:
exactly. change the permissions to "execute" for all users, groups, and others.
this should fix your problem.
if not, use catlog to find out what your error is. turn on your wifi, input the correct password, and then try to connect and immediately go to catlog and find what is giving you your error and go from there.
This i understood. The thing is that when i am in x-plorer and i am looking at the file. There is really nothing i can do except renmae, delete or show the details. Sorry if im beeing stupid here.
This i understood. The thing is that when i am in x-plorer and i am looking at the file. There is really nothing i can do except renmae, delete or show the details. Sorry if im beeing stupid here.
long press the file, then scroll down to the very last option "permissions"
then make sure every box is checked
if you don't have all these options when you long press the file: rename, copy, move, create zip, delete, show details, share, open by, hex viewer, edit text, permissions;
then you need to press the menu button (while in x-plorer), go to configuration, then where the root access is, press it and select "Superuser + mount writable" which is the last option in the program, then you will be able to change permissions.
if you are still having trouble i don't know how to help you because this is pretty straight forward
Last edited by stayboogy; September 22nd, 2012 at 06:06 PM.
Just discovered this cool fix, but when I change my rights in X-plore as above, I can no longer open the root folder. Any suggestions?
if you've changed your rights in the settings of X-plore to "superuser + mount writable" and can no longer view the phone's root, well then there is something wrong with your su binary, or you aren't really rooted. this what you need to be able to do any editing whatsoever to your phone...
you could try another explorer and see if that fixes it, but i don't think it has anything to do with X-plore...
OK, just discovered what "rooted" is all about. Too scary for me - "bricking" the thing and all that! Strangely, running Allshare seems to work most the time. Thanks for your super informative posts.
I was having similar issue, couple of days back everything was fine, I was enjoying watching YouTube on my Xperia Mini Pro SK17i but after updating couple of Apps when I reconnect WiFi it keeps on obtaining IP address for two days than I realized that if obtaining IP is the issue why don't it put static. I put static IP because router was mine and it worked like charm.
I was having similar issue, couple of days back everything was fine, I was enjoying watching YouTube on my Xperia Mini Pro SK17i but after updating couple of Apps when I reconnect WiFi it keeps on obtaining IP address for two days than I realized that if obtaining IP is the issue why don't it put static. I put static IP because router was mine and it worked like charm.
my method FIXES the issue
what you have done is a work-around, and is practically useless for those who are trying to connect to wifi that is not their own.
and this work-around is the common, improper way of correcting the problem.
if you actually want to fix the issue i suggest you try what i posted
hi.. I already tried your method
but it say "changing permissions was not succesful. please note that some file systems do not allow permission changes"
I am using galaxy note
what do I do?
I use ES File Explore. I just had to go back in this morning to reset my permissions but before I could I had to reinstall the file explore for root permissions to work. I have no idea what is going on. I had made these changes some time ago & everything was working last night but this morning WiFi was in obtaining IP address.
hi.. I already tried your method
but it say "changing permissions was not succesful. please note that some file systems do not allow permission changes"
I am using galaxy note
what do I do?
you need to have full access to do this. if you're not rooted you can't do it.
i suggest using x-plore, and in the configuration you need to make sure you have "superuser+mount writable" under the root access setting.
Stayboogy, I've corrected the permissions and it still won't hook up to anything except open signals- Tim Horton's, McDonald's, Starbucks and the like. I did put in static IP and the other fields, it says its connected but, it won't get online. I've googled this issue and no dice. If you know another fix, lets give it a shot. Thanks, bud.
Stayboogy, I've corrected the permissions and it still won't hook up to anything except open signals- Tim Horton's, McDonald's, Starbucks and the like. I did put in static IP and the other fields, it says its connected but, it won't get online. I've googled this issue and no dice. If you know another fix, lets give it a shot. Thanks, bud.
setting up static ip is not a fix. it's a workaround and a poor one at that.
but i'm not aware of any other fixes. if you've got the correct permissions on the dhcp hooks file, then there's something else causing your problem
do the same thing i've mentioned multiple times now
get CatLog from the app store
turn on wifi and try to connect and immediately start viewing the logs
this will show your error and give you ideas of where to look next.
The Following User Says Thank You to stayboogy For This Useful Post:
for this you have to navigate to the above location using any root explorer, i use x-plore, and then long click on the file and make sure the check boxes are checked on the permissions to "execute" for each user group.
Do you have to be rooted to use this? Because when I'm on my Galaxy Note 2 the "permissions" option isn't there in x-plore.
EDIT: I just saw post #19..
Last edited by xxorianna; December 22nd, 2012 at 04:43 PM.
I'm sorry, for the simple minded (like me) you might have to re-explain.
I have x-plore and found the folder and file.
When I am in Superuser+mount writable I cannot open /root. I can only open it in Normal configuration. When I do open dhcpd-run-hooks it says Error Loading File.
I'm sorry, for the simple minded (like me) you might have to re-explain.
I have x-plore and found the folder and file.
When I am in Superuser+mount writable I cannot open /root. I can only open it in Normal configuration. When I do open dhcpd-run-hooks it says Error Loading File.
Any help would be appreciated.
sorry, but it's explained as simply as it can be.
it's not rocket science lol
but i guess i'll make a video since no one can seem to figure anything out without one...
give me just a few minutes and i'll post a vid in first post
Thank you for the video. As I originally said, my problem is that when I change the configuration to Superuser+mount writable I can't access /root anymore. Why is this?? I am ready to throw the phone into a wall.
Thank you for the video. As I originally said, my problem is that when I change the configuration to Superuser+mount writable I can't access /root anymore. Why is this?? I am ready to throw the phone into a wall.
you're not properly rooted.
sounds like you used the inferior update to root as it has the incorrect su binary i believe...
use my root update to root your device and then try again
Ok latest thing. I finally gained root access (you were right Stayboogy) however your fix didn't seem to fix the problem. Downloaded Catlog but don't understand what they are saying. Basically I'm gonna take it back to vodafone tomorrow if I can't find a solution.
Ok latest thing. I finally gained root access (you were right Stayboogy) however your fix didn't seem to fix the problem. Downloaded Catlog but don't understand what they are saying. Basically I'm gonna take it back to vodafone tomorrow if I can't find a solution.
there have been other threads that have posted other fixes as well, i just don't have the time to link to them.
otherwise, you can always use the static ip work-around, but that is not a fix and it will not help you connect to wifi connections that are not your own
Hey thanks a lot, i installed a custom rom on my phone and couldn't understand why i couldn't get an ip address - even when i set it to static. This fix worked like a charm