[Q] Network Errors, 404s and Other Wi-Fi Issues After 2.2 OTA Update - EVO 4G Q&A, Help & Troubleshooting

I accepted and installed the 2.2 OTA Update as soon as it was pushed out. Yeah I know, Big Mistake (re: rooting). Please forgive me, I'm new here.
Anyway, ever since the update I've been experiencing intermittent (but more often than not) network errors, 404s and an assortment of other data-related issues when connecting via Wi-Fi. It seems to occur whether the Mobile Network is enabled or not. I experienced none of these issues before the update.
A few examples:
Attempting to use Android Market throws "An error has occured..." or "A network error has occured. Retry, or cancel...".
Viewing pages using the stock browser results in "Web page not available". At the same time, Opera Mini is unaffected.
Weather shows "No weather data available" and throws "Connection error | Sorry but the connection dropped while your weather information was downloading...." when I try to refresh.
Entering text in a form field via voice recognition throws "There is a problem with the network connection.".
Pandora throws "Service unavailable" errors.
These issues don't occur all at once or with any regularity (that I can see). Market might work fine while the browser fails. Sometimes the browser issue only affects certain certain sites (and most often google.com (?)) while others work fine. Sometimes affected sites only partially load, or load everything but images.
My Wi-Fi sleep policy is set to 'Never'. I have a solid router and a very strong signal with (effectively) zero interference. Obtaining an IP address is never a problem; my connection is never dropped.
Performing a ##3282# Data Restore doesn't help, nor does a ##786# Full Reset. I just performed a Full Reset and am having problems even before installing any apps.
Anyone else experiencing this? Any ideas for fixing it?
-thanks
Edit: forgot to mention that I'm currently operating on 3G only. Might have a chance to test in a 4G zone later on this evening.

Alright, I think I've pinned this down to my ISP's crappy DNS servers, though I haven't had a chance to test on a different one to confirm. However, I manually configured my Wi-Fi connection to use OpenDNS servers and things have worked fine all morning. Then, just for kicks, I set DNS back to the ISP (gateway) and the issues returned immediately. Switch back to OpenDNS and no problems.
This leads me to another question: is it possible to manually configure DNS, yet still obtain a dynamic IP?

Related

[Q] defy+ wifi problem

(i hope it's all right to post defy+ threads...)
so. a spanking new defy+, stock rom (45.0.74.MB526.Retail.en.DE)
android 2.3.4, build 4.5.1-134_DFP-74
i cannot seem to connect to my older generation home router using wifi.
the router in question is a d-link DI-524, and this is the first
device that is having problems with it.
the association is succesful, i get an ip address. but a simple ping
to the gateway reveals a consistent 80%+ packet drop, reproducible
every time.
Code:
--- 10.10.10.1 ping statistics ---
256 packets transmitted, 48 received, +15 errors, 81% packet loss, time 256608ms
rtt min/avg/max/mdev = 1.709/419.705/1257.843/447.927 ms, pipe 3
i have tried all the possible authentication modes on the router involving wpa2-psk.
although i think authentication is not the problem, i get an ip address every time
and pings go through.
my suspicion is the N mode, the router is G and older only.
i also set the router's wireless mode to forced G (as opposed to "mixed")
with the same result.
i also tried to "forget" the network a couple of times, same results.
i realize that wifi connection problems are way too common, and it's
a fragile interoperation. on monday i will try the wireless network
at work, and i wouldnt be surprised if it worked flawlessly (remains
to be seen), but this router is nothing exotic and connected to everything
i have thrown at it so far, so naturally i blame the defy+ at the moment.
3G data connection works great.
is anyone else seeing problems like this?
solved, router to blame
another lesson in internet humility, replying to myself.
i have found references to this problem on some other forums,
but the actual solution came from this very site again :]
http://forum.xda-developers.com/showthread.php?p=4383410#post4383410
the link in that post is already dead, but i could find the firmware
in question on dlink.cz's ftp archive. after upgrading the good ol' trusted
router's firmware, defy+ is willing to have a chat with it :]
the moral of the story is even stuff that works normally is to blame
once in a while.
ps. i could have sweared there was no other official update to that
firmware, i am the kind of guy who checks back regularly. i have this
hunch that that very last firmware appeared silently, without much
fanfare, and thus flew under my radar. almost impossible to find
it even by directly googling for it...
Well, thanks for sharing this problem and solution. We learned something. You have awful pretty sense of humor.

[Q] Wrong ARP WiFi annoucements with JB ROMs

I've got a significant problem with my DHD when running any of the latest JB releases I've tested -- the problem appears with the JellyTime, codefireX, pipelinerard's CM and also the AOKP ROM's I've tested, even on a clean install (complete wipe of everything but the radio, install only the ROM; gapps not needed to cause the issue). The problem is however not manifest in IceColdSandwich, so I suspect something is broken in the way JB uses the WiFi network compared to how ICS did it. Maybe that triggers a bug somehow in the radio or misses some important radio settings?
To some/many people, it may not be immediately visible, but if you have this problem and use your phone on a large network, you might get banned/kicked off the network if they use rules similar to what e.g. Princeton recently implemented. You may also experience this as intermittent network problems with some hosts being unavailable from time to time.
Here is what happens:
Whenever the phone sleeps (i.e. the screen is off), it sends out bogus ARP message every 15.1 seconds (give and take 10mS or so). The message typically announces "IP x.y.z.v is at MAC ii:ii:ii:ii:ii:ii:ii" where the MAC address is the one of the phone and the IP addresses seems to come from some predetermined list and/or the routers IP -- or it might be 0.0.0.0.
On my network, when using one of the AP's, it will send out seemingly "real" IP addresses that will clog up the main router, trigger additional traffic to poll the ARP addresses and eventually cause misfunction and loss of connectivity also for other clients on the network -- it will however heal itself after some minutes, when the ARP cache times out, just to reappear again later randomly.
On the other AP it will always announce an IP of 0.0.0.0, which is obviously incorrect -- but doesn't cause any direct malfunction.
From time to time, I've also seen incorrectly formatted ARP packages.
I've debugged this with wireshark and pcap's on my network (as I started to wonder about more frequent network problems after using this phone).
I've also tried running tcpdump on the phone itself, and have inspected the pcap from the locally captured file. That pcap does NOT contain the ARP messages, so somehow somewhere deep down the kernel or in the radio, ARP messages are triggered to be sent out (i.e. below the capture interface).
To see if you have this problem, you need to run wireshark on another device and check for traffic from your phone's MAC address. It is easy to see if you know what to look for. You cannot know if you have this problem unless you check for it -- but you might suffer weird connectivity issues from time to time also on other devices/PC's, depending on the rest of your network components, that are not immediately discernable as related to the phone.
Technically this looks similar to ARP spoofing/flooding, with similar symptoms.
Does anyone have any ideas how to fix this? I think this requires someone with kernel/network knowledge, and it is likely related to how parts of the legacy parts (binaries) are being used.
I'm initialy trying to figuring out what runs every 15 seconds on the phone, and would then like to start tracing/bisect ICS vs JB code here.
Would also be nice if someone else could confirm this -- even though the specific symptoms apparently depend on certain WiFi related parameters.
Any ideas?
For reference, I'm using the latest radio 12.69.60.29_26.17.14.11_M. But as ICS does not have this problem, it might not be related to the radio version directly.

Returned home from short trip, Wifi connects but does not function

As the title says, I didn't change anything about the phone's configuration when I was out, didn't download any new apps or change any settings that would interfere like this. No one else has changed my home network in my absence.
Nevertheless, most of my apps, such as Instagram, the Play Store, Twitter, Wikipedia, Chrome; almost all their requests time out. There seem to be short windows where data will load, and Instagram appears to load comments and post metadata, but no images. It's basically unusable. Occasionally an exclamation mark will pop up over my Wifi symbol in the notification center. Strangely, I can still reach my Steam and Battle.net authenticators, but the moment I try loading the Steam app, nothing comes up. It's like the device can only handle plaintext over Wifi.
All of the apps work fine over cellular data.
Also, there is a toast that appears whenever I restart my phone that says "Power On" that I've never noticed before. I was rooted using Xposed, the only modules I used were Snapprefs, Xinsta, Physical Button Music Control, and Greenify Experimental Features, all of which I uninstalled. The toast still appears with the latter two disabled. Only other rooted apps I had besides Xposed were Nova Launcher, Greenify, Busybox, and Root Checker Basic, all of which have been removed but Nova.
I am running 6.0.1 with the latest update.
Any ideas? I am still within 15 day warranty so I could theoretically return the phone (which I was contemplating doing anyhow since 10gb of functional storage is a bit too small for me), but would rather not have my hand forced, and eat into my cell data plan.
So far I have tried forgetting the network, wiping cache/dalvik with TWRP, removing the Google VPN, resetting all network settings, and a couple things I can't remember offhand now. Any suggestions will be appreciated.
AbanadonedFace said:
Any ideas? I am still within 15 day warranty so I could theoretically return the phone (which I was contemplating doing anyhow since 10gb of functional storage is a bit too small for me), but would rather not have my hand forced, and eat into my cell data plan.
So far I have tried forgetting the network, wiping cache/dalvik with TWRP, removing the Google VPN, resetting all network settings, and a couple things I can't remember offhand now. Any suggestions will be appreciated.
Click to expand...
Click to collapse
First, if you want to return your device because the 16gb model doesn't have enough space, go ahead.
If it is mostly because of this WiFi issue, I wouldn't return the device, it is almost certainly the case this is some configuration issue (possibly in concert with some Android bug) which can be resolved.
Is it possible when you came home the device connected to a neighbor's AP and thus you couldn't use data, but it wasn't immediately obvious, so you ended up forgetting your own network and reentering the config, but the key was off by a little, and from that point on, it was just assumed the wifi config was correct?
When you say Google VPN, are you using WiFi Assistant and Project Fi? Have you tried disabling auto-connect fir the WiFi Assistant?
Have you tried using the old Lollipop DHCP client (perhaps your IP address got used by another device and the new Android client doesn't handle that well?) Just grasping at straws.
Have you tried turning on Bluetooth while WiFi is on? Perhaps there is a bug with them working independently of each other in certain situations.
sfhub said:
Is it possible when you came home the device connected to a neighbor's AP and thus you couldn't use data, but it wasn't immediately obvious, so you ended up forgetting your own network and reentering the config, but the key was off by a little, and from that point on, it was just assumed the wifi config was correct?
Click to expand...
Click to collapse
I am 100% positive I am on my own home network and that I used the correct key. I'm not sure what you mean with regards to the rest of the 'config', I have always used the standard wifi configuration, just typed in my key and had it work.
sfhub said:
When you say Google VPN, are you using WiFi Assistant and Project Fi? Have you tried disabling auto-connect fir the WiFi Assistant?
Click to expand...
Click to collapse
I actually forget what it was called, it was under Settings>Wireless&Networks>More>VPN. There was one entry there with an icon. I forget the name of it, but the icon looked like a stock Google icon and I think it had google in the name. I am on Project Fi, not using any wifi assistant (at least not in Advanced Wi-Fi Settings), but when I tried to toggle that option on just now, something called "VpnDialogs" crashed, so I assume that VPN entry was that. But again, the assistant wasn't on.
sfhub said:
Have you tried using the old Lollipop DHCP client (perhaps your IP address got used by another device and the new Android client doesn't handle that well?) Just grasping at straws.
Click to expand...
Click to collapse
I did, when I first googled this was one of the things I found, sadly it did not help.
sfhub said:
Have you tried turning on Bluetooth while WiFi is on? Perhaps there is a bug with them working independently of each other in certain situations.
Click to expand...
Click to collapse
I don't use Bluetooth, and trying to toggle it off/on from the control center just gives me a repeated "unfortunately, Bluetooth Share has stopped" error message.
I have decided to get the 32GB 5X since I do want more storage, but since I would like to be able to root my phone again and use Xposed, I would still like to hear any other ideas you have for troubleshooting this problem in case it reoccurs.
I reflashed the latest update to see if that would fix it, no dice. When I send the 16GB model back I have to factory reset it anyway, so I suppose I'll know if that does it.
What puzzles me is why I can load text from instagram posts that have been posted while I've been having this problem, but not images. Makes me think that maybe my connection is being super throttled somehow rather than non-functional, but my PC's speeds are normal. Perhaps some internal part is damaged? I do have a case and it hasn't taken any serious tumbles, but it has had one or two small falls from maybe 2 feet high.
AbanadonedFace said:
What puzzles me is why I can load text from instagram posts that have been posted while I've been having this problem, but not images. Makes me think that maybe my connection is being super throttled somehow rather than non-functional, but my PC's speeds are normal. Perhaps some internal part is damaged? I do have a case and it hasn't taken any serious tumbles, but it has had one or two small falls from maybe 2 feet high.
Click to expand...
Click to collapse
It is easy to test if you have some network connection vs none.
In terminal or adb shell
ifconfig wlan0
ping www.google.com
1st command will tell you (among other things) if your wlan picked up an IP address.
2nd command will test whether you can send ping packets over your connection.
I'm sure there are millions of ways of doing the above, I just gave you one example.
Strangely, the solution seems to have come from factory resetting my router. I ruled this out initially because my other old phones were working fine on wifi, my phone is now getting WiFi again.
Now to figure out what the hell this "Power On" toast is about...
AbanadonedFace said:
Strangely, the solution seems to have come from factory resetting my router. I ruled this out initially because my other old phones were working fine on wifi, my phone is now getting WiFi again.
Now to figure out what the hell this "Power On" toast is about...
Click to expand...
Click to collapse
I've encountered something similar where the router runs out of NVRAM space because it has recorded too many DHCP clients, it won't hand out new IP addresses, but if you are existing or already have one, it is fine.

WiFi connected without internet

Dear All,
My note 10+ loosing internet randomly. While checking WiFi showing the message "WiFi connected without internet". after switching on and off it reconnects but lose connection after sometime. My other android phones are connected to the same WiFi but have no issue.
Please help me solve the issue.
Thank you
Arun
i have noticed its happening during whatsapp call duo calls
arunjyothisp said:
Dear All,
My note 10+ loosing internet randomly. While checking WiFi showing the message "WiFi connected without internet". after switching on and off it reconnects but lose connection after sometime. My other android phones are connected to the same WiFi but have no issue.
Please help me solve the issue.
Thank you
Arun
Click to expand...
Click to collapse
A similar thread was made on the subject - link here https://forum.xda-developers.com/galaxy-note-10+/help/android-10-5g-wifi-dropping-t4037661
For practical intents and purposes it's almost like when the issue happens the phone is not able to resolve a DNS query. I base this on 2 hypothesis - first being that the phone is still connected to the wifi access point and can still access LAN resources. The second being that the phone must either poll the internet (i.e ping a specific address) on a regular basis. If the poll was unsuccessful it flags the connection as "WiFi connected but no internet".
The things you can try are:
update the firmware on your phone (if not already)
factory data reset (read note 1 below)
reset network settings
try a different wireless router (read note 2 and 3 below)
disable private dns (read note 4 below)
If you use tasker create a routine to automate a temporary solution (read note 5)
Notes
The issue maybe a corrupted setting within the phone. I have had similar issues before (not with just this phone) and a factory data reset helped. One thing to take note of is that after the phone had completed it's factory data reset I did not attempt to restore a backup. This is important to keep in mind because any issues that were present (due to corrupted settings) would exist also in the pre-factory data reset backup you made.
With my previous router I had this issue but had since replaced it with a Wifi 6 capable router. After getting the new router I have not had any further issues what so ever. Also make sure your wireless router is up to date on it's firmware. It maybe possible that the wireless router you have is old enough (from when it was released, not from when you bought it) that a replacement might be the only way to resolve the issue.
To help rule out a wireless router issue try using a different one. You can borrow a friend's internet connection for a while, or a public cafe or what ever. Point is you are trying to see if the issue happens again when you are using a totally different wireless access point (by totally different I mean hardware/model and not just renaming the SSID).
I had the issue happen when using private DNS. For what ever reason the issue was with the DNS provider I had choosen. Turning the Private DNS setting off helped resolve the issue. After turning the setting off it may take a bit before the phone recognizes it was turned off, but you can hasten this process by toggling WiFi off and back on.
The Tasker option is one I did and it worked quite well. You may need to adjust the routine to suit your particular needs but it's basically what is at this link here. Best part of this option is that you can have it only activate when your connected to the problematic wifi access point and every X number of minutes (helps ensure that you use it only when needed). The routine (when setup correctly) should run every 10 minutes in where it attempts to access a website and assigns the results to a variable. The variable is then checked to see if it matches a specific result (in this case an error code), and if it does match it will toggle WiFi off and back on (after a brief pause/wait period between toggle off and toggle on) automatically. Granted it sounds like a lot of work, but it's really not that complex. Also I consider this is a temporary solution because you may find that on later firmware updates applied to the phone (or you may end up getting a new wireless router) the issue will have been resolved.
"WiFi connected without internet"
I was having the same issue until I uninstalled the app "WiFi Analyzer"
mike.aguailar said:
I was having the same issue until I uninstalled the app "WiFi Analyzer"
Click to expand...
Click to collapse
Interesting! Which one? The Play Store lists several apps by that name.
WiFi Analyzer
Gary02468 said:
Interesting! Which one? The Play Store lists several apps by that name.[/QUOTE
WiFi Analyzer by Zoltan Pallagi
Click to expand...
Click to collapse

Wifi and mobile data issue after degoogling

I recently considered completely degoogling lineageos and i succeeded partly.
1. Changed the system webview to bromite webview.
2. Changed the captive portals to
https://e.foundation/net_204/
http://204.ecloud.global
3. And finally changed the timeserver to pool.ntp.org
One of these steps happened to screw up things with the wifi and mobile data.
Wifi works just fine but has a "Limited connection" label on it.
And mobile data doesnt seem to work at all.
Has anyone experienced something similar or knows the solution?
Thanks in advance for your help.
When you are on wifi, are you connecting to a router that has a custom DNS server? I get the same thing, works just fine. Scroll through your router logs and device logs to see what is times out and adjust accordingly.
I lost mobile data on a previous device (LG v20) when I moved over to LOS and was messing around with APN. Given that mobile data runs through provider's server, it might be that the server it being blocked by a content filter or similar. Also, it might be that LOS's list of default APN are not updated with current information required by your provider.
My device uses nextdns through private dns.
I was using vanilla lineageos with microg and mobile data worked fine, after these steps something seemed to have messed up. I have tried resetting APNs too, didnt work.
DNS of wifi doesnt typically affect that of LTE, but might be different in your flavor of LOS.
Look at your logs on router and device.
Private dns is DNS over TLS implementation of android, it works on both wifi and mobile data. I havent changed anything related to dns for a long time. DNS doesnt seem to be the problem.
systool sntpc -sntpRequest
I can see simple ntp client requests like this, should i be looking for something else?
I'm curious as to how many requests you are seeing. I seem to recall android should only check every few days. Hmm.
Checked logs on a rooted v20 stock N7.1 that I keep around for tv and Roku and Plex control. I wasn't able to find a ntp or sntp entry in last 7 days, the length of my log. Firewall did not report any port 123 traffic either.
Incidentally, I am using 3.android.pool.ntp.org to sync with. Not sure where that came from, I don't remember it as being such as I prefer time.nist.gov.
I don't know what could be going sideways with data other than perhaps dns not working ( does ip# work on mobile?) on mobile and degraded showing on wifi.
This may be pointless, but if wifi is turned off, are you able to send/receive a mms? I ask because mms traffic to your phone is based on IP#, but mms traffic from phone has to (typically) resolve name of mms server.
I am just about out of ideas / suggestions.
Thank you for our help mate, i fixed the issue.
Everything is back to normal after changing the captive portal to
http://captiveportal.kuketz.de
https://captiveportal.kuketz.de
The one from e foundation seemed to be the problem. This one is from a security researcher Mike Kuketz.
The captive portal wrecked mobile data too? That is surprising and interesting.
Glad to see you are up and running.
Side note, do you still see same amount of sntp activity now?
deleted

Categories

Resources