DNS problems on wifi on rooted S5 - Verizon Galaxy S 5 Q&A, Help & Troubleshooting

DNS issues on a Verizon Galaxy S5, rooted, but intermittently.
What happens is life is good for a day or two, but then I notice that internet access is gone on wifi only. If I turn wifi off and use 4g data, internet access is restored. If I toggle wifi back on, no internet. This has happened on more than one wifi network, leading me to believe it's the phone. Only a "reboot" of the phone helps restore wifi access when it has this problem. Then life is good for another day or two, and then this paragraph repeats.
I've already purchased and installed Override DNS which is a nice app in that it avoids the VPN trick other "set dns" apps use. This didn't help anything, the problem still occurred, and an email to the program's author went unanswered.
I've also set the DNS by changing 20-dns.conf from /etc/dhcpcd/dhcpcd-hooks/ and again, this seems to have no effect on the problem as it still happens.
This page has other ways to set DNS, but rather than try all 8 methods, I figured I'd ask if there's something that's an obvious fix.
Thank you for any help you can suggest. I'm trying to avoid a factory reset.

Related

[Q] T-Mo G2 Rooted/Stock OTA 2.3.4 Wont stay connected to wifi

I tried searching and I've not found this issue addressed, but I may just be doing it wrong. But, here it goes anyways...
This house has 3 T-Mobile G2s, all with the same OTA. Only mine is rooted. However, none of them will stay connected to wifi. The wifi icon is showing up and it says that I am connected to the access point, but in status it says that mobile network status is disconnected. I can't do anything data related after it times out. If I disable and re-enable wifi it stays connected for a bit before it goes dead again. The handset doesn't go into sleep/screen doesn't turn off. Before I updated I did a Factory Data Reset, then re-entered all my information then let it update. Is there anything I can do, or try?
KittyFae said:
I tried searching and I've not found this issue addressed, but I may just be doing it wrong. But, here it goes anyways...
This house has 3 T-Mobile G2s, all with the same OTA. Only mine is rooted. However, none of them will stay connected to wifi. The wifi icon is showing up and it says that I am connected to the access point, but in status it says that mobile network status is disconnected. I can't do anything data related after it times out. If I disable and re-enable wifi it stays connected for a bit before it goes dead again. The handset doesn't go into sleep/screen doesn't turn off. Before I updated I did a Factory Data Reset, then re-entered all my information then let it update. Is there anything I can do, or try?
Click to expand...
Click to collapse
Being that all 3 phones cannot stay connected I'd be inclined to say look at your router... I'm assuming you've done all the obvious things like reboots, battery pulls, "forgetting" your network and then re adding it? Are other devices in the home able to maintain a wifi connection... your computer, for example? You've tried resetting your router?
If the screen isn't timing out, have you checked your Display settings? What makes you think the screen timeout is related to the wifi problem?
Well in the past on my myTouch 3g... wifi at times would get wonky after the screen timed out/it went to sleep. So was just adding that information here. Yeah, there are at least 8-9 other wifi devices here that can connect to the router just fine and send/receive data. I've tried "forgetting" the access point and then re-adding it, resetting the router, battery pull... and the same thing happens. And the router doesn't have MAC address filtering either. Can't ping google.com or 72.14.204.105 from the phone, but my pc can just fine. If I disable wifi it works as it should. Its just I only have realllly slow EDGE service in the house.
KittyFae said:
Well in the past on my myTouch 3g... wifi at times would get wonky after the screen timed out/it went to sleep. So was just adding that information here. Yeah, there are at least 8-9 other wifi devices here that can connect to the router just fine and send/receive data. I've tried "forgetting" the access point and then re-adding it, resetting the router, battery pull... and the same thing happens. And the router doesn't have MAC address filtering either. Can't ping google.com or 72.14.204.105 from the phone, but my pc can just fine. If I disable wifi it works as it should. Its just I only have realllly slow EDGE service in the house.
Click to expand...
Click to collapse
Hmm... by default wifi should turn off when the screen times out. Unless you've changed the wifi sleep policy. I had mysterious wifi trouble before on a different device (endless "obtaining ip address" loops) and the only thing that worked for me was restoring an older nandroid. Obviously, you're no longer rooted and that's not an option... but it's super unusual that 3 G2 phones are experiencing the same problem. And they're all running the Gingerbread update, so maybe that's the common denominator. I'm sorry I couldn't be more helpful. I'd definitely pay T-Mobile a visit.
I've not messed with the wifi policy, but my last phone would just drop wifi completely and I had to forget/re-enter everything to get it back. If it was the update then I would think the problem would be more widespread. Going to try fiddling with the router some more since that would most likely be where the issue lies. All else fails will just rollback to an earlier nandroid, like you had to do, and seeing if I can't get at least mine consistent. Thanks for your help and letting me bounce ideas off of.

my tab give WIFI error

my galaxy tab p1000jpjpc gives WIFI error--installed new rom,did factory reset but still WI FI give me error
if you want people to help, at least explain what is your WI FI error.
Did it turn on?
Can you see your access point. If not, can you see other's access point.
Or you can see it but cannot connect. Do you have security set in your router? MAC address access list in use? WPE/WPA/WPA2 ? Hidden SSID in use?
Or you seems connected but can't access internet. Did you get an IP address?
every thing is okey,my setting, my access point and my router. the problem is that when i press the WIFI icon to turn on,it give me error and never turn on, even after change the router and the WIFI network, never turn on even after installed new rom, and new route and factory reset
Go to Recovery and wipe cache.If rooted wipe Dalvic cache also.
If problem persists-
Reflash stock GB ROM and try.
first of all,sorry for annoying.
second,after every thing, the WIFI still give ERROR
Hi. I had this same issue. My solution was an app in the market called Fast Reboot. This closes and restarts all running programs. This seems to clear whatever was blocking the wigi from coming on.
If you have Tasker you may wish create a Task (and perhaps a widgit) to run the apply then switch wifi on. I have a profile that does this whenever I approach my home, and when my Tab is rebooted.
still ERROR
What if you switch off 3G, then fast reboot, then switch on wifi?
Thank u my friends for ur replies. I already solved the problem as it was hardware and changed the IC partition of WIFI

[Q] New S5 not automatically connecting to WiFi

Hello everyone,
Last week I upgraded my S4 to a brand new S5 on T-Mobile and currently it's stock and unrooted. It works great, except it won't automatically connect to WiFi. Every time I encounter a known WiFi it'll say Sign in Required. I'll press Connect and it'll then connect and function perfectly.
This smells like a software bug to me, but then I'd expect more posts on this topic (I didn't see any posts on XDA, and posts elsewhere were unhelpful).
What I'd ultimately like to know is if this is a hardware defect and I should get my phone replaced before it's too late, or if this is something that a software update (or rooting and flashing) will fix. Or of course it could be neither...
Thanks!
I have the same probblem and I am dying for a solution. I've spent hours googling and testing different things to no avail.
I am going to try to bring as much detail as I can, hopefully someone can pitch in.
Things I have read might work:
"forgetting" the connection and recreating it
Turning off and turning back on
Turning off, removing the battery
Turning off, removing the battery and the sim and waiting a minute (seems like voodoo to me)
Factory reset
I've tried everything, bar the factory reset which I am reluctant to do, specially when people's answers on forums said it wasn't a solution.
To try and shed more light, I would also add that:
It does this with any network (so it's not channel/router issue)
It does this consistently (and since I got my phone)
It finds networks, but just won't connect
It always connects fine if I pick the network (so it's not a distance/bad reception issue)
My phone is unrooted and stock and I have no weird apps (only popular/regular ones, social media, news, and so on)
My options are set correctly (notifications for open networks is checked and wifi is on)
I really hope someone can help as I rely on wifi a lot, and this is kind of a deal-breaker for me.
So I found a psuedo-fix here: http://forum.xda-developers.com/showthread.php?t=2723486
The key part being:
1. >Wifi >Advanced >Disable (uncheck) Smart network switch.
2. Forget connection, then establish connection again. Works no issues.
Click to expand...
Click to collapse
This has "fixed" it for me, but it also means I no longer have Smart Network Switch which is kinda annoying, albeit less annoying.
A true solution would be lovely.
ForestHunter said:
So I found a psuedo-fix here: http://forum.xda-developers.com/showthread.php?t=2723486...
Click to expand...
Click to collapse
Tried, didn't work for me.
I now have factory reset and let google reinstall all my apps.
Until now, auto-connect works.
The only thing I didn't do this time that I did last time is deactivate a bunch of samsung apps that come pre-installed.
wi-fi won't auto connect to S5
ForestHunter said:
Hello everyone,
Last week I upgraded my S4 to a brand new S5 on T-Mobile and currently it's stock and unrooted. It works great, except it won't automatically connect to WiFi. Every time I encounter a known WiFi it'll say Sign in Required. I'll press Connect and it'll then connect and function perfectly.
This smells like a software bug to me, but then I'd expect more posts on this topic (I didn't see any posts on XDA, and posts elsewhere were unhelpful).
What I'd ultimately like to know is if this is a hardware defect and I should get my phone replaced before it's too late, or if this is something that a software update (or rooting and flashing) will fix. Or of course it could be neither...
Thanks!
Click to expand...
Click to collapse
I have been having the same issue. I can't get any answers either. It really is frustrating. I am going to keep trying to find out. When I called the T-Mobile store they said that I could bring it back w/in the 14 days & replace it and I may do that if I can't get an answer for the problem! If you happen to find out what the answer is PLEASE post and let us know! Thanks
My wife has the same issue with not auto connecting. She has a AT&T S5 that is not rooted....thanks to AT&T putting her in prison lockdown. I think it could be something with the last update because her phone used to auto connect just fine and now it doesn't. The strange thing is that she just now noticed it not connecting and she had took an update that was a few weeks ago or whenever it actually was and now we don't really know for sure if it's really just now an issue or has been since the update....imo I think it could be something with the update.
I have an S5 as well with no issues, but then again, I have the TMO that's rooted and carrier unlocked running custom rom.....thanks TMO for not being D***'s like at&t
Solution!
Long story short, there's a problem with Android and DHCP. Specifically, an IP associated with a router doesn't die when it should and attempting another connection goes back to this IP instead of using the correct (new) IP.
The good news is to forget the problematic wifi connection, head into /data/misc/dhcp/ and remove the files, reboot then connect to wifi. That flushes the DHCP lease information and life should be good.
omarriachi said:
Long story short, there's a problem with Android and DHCP. Specifically, an IP associated with a router doesn't die when it should and attempting another connection goes back to this IP instead of using the correct (new) IP.
The good news is to forget the problematic wifi connection, head into /data/misc/dhcp/ and remove the files, reboot then connect to wifi. That flushes the DHCP lease information and life should be good.
Click to expand...
Click to collapse
I seem to be having this problem now, however I tried doing what you suggested and I don't have the path you mentioned, how do you get to it?
cgdart said:
I seem to be having this problem now, however I tried doing what you suggested and I don't have the path you mentioned, how do you get to it?
Click to expand...
Click to collapse
use a program like "root explorer" or "ES file explorer" and navigate to your root folder ( / )
then follow the path /data/misc/dhcp/ , you will find the files i mentioned there.
omarriachi said:
Long story short, there's a problem with Android and DHCP. Specifically, an IP associated with a router doesn't die when it should and attempting another connection goes back to this IP instead of using the correct (new) IP.
The good news is to forget the problematic wifi connection, head into /data/misc/dhcp/ and remove the files, reboot then connect to wifi. That flushes the DHCP lease information and life should be good.
Click to expand...
Click to collapse
Im reviving this thread, I have this issue also. And with my "unlimited" tmobile bandwidth of 2gb, this bug is completely screwing me over.
I quoted this post since you just claim its Android and DHCP, if thats the case, wouldnt all android phones just not work like the S5?
omarriachi said:
Long story short, there's a problem with Android and DHCP. Specifically, an IP associated with a router doesn't die when it should and attempting another connection goes back to this IP instead of using the correct (new) IP.
The good news is to forget the problematic wifi connection, head into /data/misc/dhcp/ and remove the files, reboot then connect to wifi. That flushes the DHCP lease information and life should be good.
Click to expand...
Click to collapse
Finally..it's work for me..tqvm
Hey I'm having the same issue, only with my work open wifi. The phone will be aware there is a wifi and it tells me to sign in. I go to the wifi settings and tell it to connect it does, but if it drops for any reason it won't automatically connect again, I have to go through the same thing every time.
I read this in a previous post:
"use a program like "root explorer" or "ES file explorer" and navigate to your root folder ( / )
then follow the path /data/misc/dhcp/ , you will find the files i mentioned there."
I have X-plore and went to the root/data folder, but there was nothing in the data folder - Do you have to be rooted for this to work?
Any help would be appreciated.
Samsung Galaxy S5 - Koodo - Unrooted
solved mine by follow this guide
http://forum.xda-developers.com/showthread.php?t=2547356
Sent from my SM-N9005 using Tapatalk
It works fine on my home network and others that I have a username and password for. The issue is WIFI hotspots at coffee shops and work and such, where I don't have access to the router settings.
I have an app that does an auto login when it recognizes that you need to sign in once it connects to wifi, and it works when I tell the phone to connect, but the phone will never connect automatically - I have to go into the WIFI settings and tell it to connect manually every time.
I have the 'Smart Network Switch" unchecked, and I have 'forgotten' and reconnected several times but it still happens.
Samsung Galaxy S5 (SM-G900W8)- Koodo - Unrooted
omarriachi said:
Long story short, there's a problem with Android and DHCP. Specifically, an IP associated with a router doesn't die when it should and attempting another connection goes back to this IP instead of using the correct (new) IP.
The good news is to forget the problematic wifi connection, head into /data/misc/dhcp/ and remove the files, reboot then connect to wifi. That flushes the DHCP lease information and life should be good.
Click to expand...
Click to collapse
Thanks. This solved my problem ?
I had a corrupt .keystore on my S5 and the fix I found by googling was to do a reset of the device.

Wifi fails after being disabled

I used to think it was my WiFi would fail after enabling the hotspot feature. I now realize it fails simply by turning WiFi on and off. This happens 9 out of 10 times. When I re-enable Wifi, it connects to the SSID, and gets an IP address. It will not pass any traffic. No Internet apps work at all. The only fix I have found is to reboot the phone. I have tried various 'Wifi fix" apps, but nothing helped. They seem to renew the IP and disable/re-enable Wifi. This is a very annoying problem. Anyone else experience it? My phone is rooted running stock ROM with the debloat script that removed a bunch of junk. It has happened through all updates and Android versions as far as I can remember. I'm currently running the latest 5.0 courtesy of muniz_ri (thanks!)
Here is a little more info. It happened tonight. I was able to verify that it was actually online by pinging the S5 IP from my laptop. To make it even more confusing, it has some level of internet connectivity. I went to the Play store on my laptop, and initiated an install for a DNS troubleshooting app. My S5 apparently is able to get the instruction to download it, but it failed to actually download it. I was surprised it was even able to get the instruction.
I tried this app:
https://play.google.com/store/apps/details?id=org.wahtod.wififixer&hl=en
I has verbose logging. It was trying everything you could possibly think of to 'repair' my wifif connection, but it failed as well. Rebooting always fixes it.
Any ideas?

A5 2015 SM-A500FU WiFi Issues with Speedport W 724V Typ B

Hey guys,
for some week or maybe month, I'm having some kind of issue with my device and the home-wifi-router.
The problem: There are some kinds of webistes that just aren't working in my home wifi. I tried dozens of different browers all with the same result. Some pages that don't work are amazon.de obi.de and kicker.de and twitter.com
Same thing with the Amazon App and Twitter app. They just don't load any content - with mobile data on, it works out.
All of those pages and apps work out with other android devices and also in other peoples WiFi.
I also tried the secure mode, with the same result.
I've heard, that there might be an issue with ipv6, but, unfortunately I can't switch anything on or off in the router settings.
It's gotta be something about the router, but I can't change anything. Maybe there's a way to work around that with some kinde off app or something to turn Ipv6 off, IF that is the problem?
The phone has got stock rom, no root, no nothing. Maybe there is an opportunity with rooting? Warranty is expired, so there's nothing that speaks against rooting, if this might help. But then, I need someone to help me with all that - so far I only rooted an old nexus phone wia root toolkit.
Thanks!
schluc said:
Hey guys,
for some week or maybe month, I'm having some kind of issue with my device and the home-wifi-router.
The problem: There are some kinds of webistes that just aren't working in my home wifi. I tried dozens of different browers all with the same result. Some pages that don't work are amazon.de obi.de and kicker.de and twitter.com
Same thing with the Amazon App and Twitter app. They just don't load any content - with mobile data on, it works out.
All of those pages and apps work out with other android devices and also in other peoples WiFi.
I also tried the secure mode, with the same result.
I've heard, that there might be an issue with ipv6, but, unfortunately I can't switch anything on or off in the router settings.
It's gotta be something about the router, but I can't change anything. Maybe there's a way to work around that with some kinde off app or something to turn Ipv6 off, IF that is the problem?
The phone has got stock rom, no root, no nothing. Maybe there is an opportunity with rooting? Warranty is expired, so there's nothing that speaks against rooting, if this might help. But then, I need someone to help me with all that - so far I only rooted an old nexus phone wia root toolkit.
Thanks!
Click to expand...
Click to collapse
I had exactly the same router. I hated it, my download stream was very slow that I was ready to throw it out of my window. Unfortunately it didn't happend.
Check your routers internet filter settings maybe something blocks your device . Also check your routers wifi settings if necessary turn it off and on again. Reboot your router or in worst case reset it BUT DON'T DO IT IF YOU DON'T HAVE THE ACCESS DATA.
Try to change the wifi settings on your device. Change from DHCP to static and see if it works.
Thanks for your reply.
I checked everything, but there is no filter setting. I restarted wifi and turned of the router several times.
Static IP also seems not to work, the issues remain.
schluc said:
Thanks for your reply.
I checked everything, but there is no filter setting. I restarted wifi and turned of the router several times.
Static IP also seems not to work, the issues remain.
Click to expand...
Click to collapse
There must be a filter setting. Check the internet tab of your router settings and you should find a filter option.
I looked it up, but there is just the daily reset rule but in the filter tab there is no active rule or something that can be unchecked.
You should ask your internet provider about this situation...

Categories

Resources