Maddening wifi problems with Captivate - Captivate General

Ever since I got my Captivate, it has had issues with wifi. It's not my routers, or any configuration in my routers, as it happens with 3 different routers (not to mention that I work in IT, so it's definitely not the routers).
Here's what it does. When you start with a fresh boot, it works perfectly fine. As the day goes on, it gets worse; it starts dropping the connection randomly, and eventually stops working altogether. This wouldn't be so bad of a problem, but the point that it "tries" to start accessing a wifi AP, it drags the phone down in speed, eventually freezing, causing me to ave to reboot the device.
I already tried all options with wifi sleep policy; I've tried 3 different ROMs; I've tried clearing all wifi settings and letting the ROM generate a new .conf file, I've tried different wifi firmwares. Nothing works as it should.
What should I do now? Does anyone have any tips for me? I know it's the OS and not the phone, because the last ROM that worked perfectly was Perception 4.
Thanks for the help.

Easy fix I found.
Open Allshare, it should have come pre-installed.
Connect.
Your Wi-Fi problem should be fixed.
You will have to repeat this step when switching between locations, or when you come back to the troublesome router. I don't know why this works, but it does. It seems to have helped alot of other users in other forums with this problem. Maybe someone should make a sticky of this...seems to be a big problem with 2.2 Foryo.

Similar experiece with both an EVO and Captivate with a Linksys router and DLink wireless AP. Whenever I walked into the house, the other PCs attached to the router would stop working, the phone would not get data although it showed as connected and I had to reboot the router - both wired and wireless clients. The Linksys was a very old firmware and I had bad experieces with flashing a few previous devices. I ditched my Linksys for a DLink 8 port and wireless and have not had the issue with either the EVO, Captivate nor any devices attached to my network.

yamabigdog said:
Easy fix I found.
Open Allshare, it should have come pre-installed.
Connect.
Your Wi-Fi problem should be fixed.
You will have to repeat this step when switching between locations, or when you come back to the troublesome router. I don't know why this works, but it does. It seems to have helped alot of other users in other forums with this problem. Maybe someone should make a sticky of this...seems to be a big problem with 2.2 Foryo.
Click to expand...
Click to collapse
This is news to me. You are correct, I do have Allshare. I'll try it the next time I have the issue.
What if I simply remove Allshare? Will that fix the problem?
bdfx69 said:
Similar experiece with both an EVO and Captivate with a Linksys router and DLink wireless AP. Whenever I walked into the house, the other PCs attached to the router would stop working, the phone would not get data although it showed as connected and I had to reboot the router - both wired and wireless clients. The Linksys was a very old firmware and I had bad experieces with flashing a few previous devices. I ditched my Linksys for a DLink 8 port and wireless and have not had the issue with either the EVO, Captivate nor any devices attached to my network.
Click to expand...
Click to collapse
I have 2 Linksys routers with the latest firmwares, and one D-Link. No matter, it does the same thing with them all.
I should also mentioned that I already tested with changing the router's wireless broadcast channels, signal strengths, firmware updates, the whole 9 yards. The problem is the phone, not the networking equipment.

I used this on 3 Captivates in our house and they are all working great now. Had F&*%%#ed wifi issues before that. They are all ok now. Hope it lasts!
https://market.android.com/details?id=com.brilliapps.wifiandmorefixer&feature=search_result

ajm786 said:
This is news to me. You are correct, I do have Allshare. I'll try it the next time I have the issue.
What if I simply remove Allshare? Will that fix the problem?
Click to expand...
Click to collapse
I'm not sure if that will work. I don't think this is by any means a permanent fix, but a temporary work-around. I think it just kicks the wi-fi into gear again somehow...=-(
Hope it helps someone out though.

I had a friend who was having issues with her phone not even attempting to scan for wireless, seems there is an issue on android phones that the networking cache file or whatever it is gets cluttered and needs to be renamed. (Android recreates it)
The process is rather simple, I walked my friend through the steps over the phone w/o issues.
I had her use oneclick root/unroot to root her phone.
http://forum.xda-developers.com/showthread.php?t=739304
Then Had her go through these steps to rename the file.
http://androidforums.com/samsung-moment/46179-unable-scan-networks.html
The steps are for a samsung moment but still work. Also noted that the steps w/o rooting do not work. After you finish renaming the file you can use the application in the first link to unroot the phone and go back to stock

SlappyMcgee seems to have the best fix

It wont hurt anything and I suggest just renaming the file to .old instead of deleting it. the entire process takes like 8 mins

SlappyMcGee said:
Then Had her go through these steps to rename the file.
http://androidforums.com/samsung-mom...-networks.html
Click to expand...
Click to collapse
Link doesn't work, at least for me.

Update:
The Allshare thing works. The problem is that it's not a feasible workaround, because you have to keep doing that every time you want to restart the wifi after the screen goes to sleep or what not.
I will next try that config file delete. I read up on that last night, but didn't think that was it, because I already did a few ROM installs which didn't seem to clear it up.

Nelimungous said:
I used this on 3 Captivates in our house and they are all working great now. Had F&*%%#ed wifi issues before that. They are all ok now. Hope it lasts!
https://market.android.com/details?id=com.brilliapps.wifiandmorefixer&feature=search_result
Click to expand...
Click to collapse
Little early for me to say this is working for sure. But ill be damned if it didn't, at the very least, temporarily fix it. Instant reconnect. Doesn't hang. Seems like it might be the real deal, for me at least. Ill come complain if it craps out again.
Edit: .... worked for 15 minutes. Aka doesn't work...

What's your kernel?

xdahgary said:
What's your kernel?
Click to expand...
Click to collapse
I tried all different ones. Firebird and Speedmod mainly. When I flash newer versions, I always wait till the battery is 100%, and I clear the Dalvik cache. Nothing ever works.

phlunkie said:
Link doesn't work, at least for me.
Click to expand...
Click to collapse
Sorry about that. I fixed the link in the original post.
http://androidforums.com/samsung-moment/46179-unable-scan-networks.html

i had wifi issues and still do. my girlfried does too with her Aria. The phone really seems to only work on routers who have a DNS set to google. The bar near my house it flys and at home i was getting no wifi so I changed my router DNS to google from comcast and its fine. I agree there is a problem but not one that is going to get fixed by Google

My wifi workaround
I had two captivates which both had problems with my home router. Reseting the router never fixed the issue, but resetting the phone did, at least for a few minutes.
I found that phone has problems using DHCP with routers that assign addresses in the 192.168.1.xxx range. It seems to be a conflict with some other internal IP in the Captivate or something. To get around this problem, I had to change the local address of my router to 192.168.2.1, and change the DHCP range to 192.168.2.xxx The new subnet cleared up the problem immediately for me and it hasn't returned, at least, not on my home router. Unfortunately, this won't work on hotspots or other networks that are stuck in the 192.168.1.xxx range.

timsline said:
I had two captivates which both had problems with my home router. Reseting the router never fixed the issue, but resetting the phone did, at least for a few minutes.
I found that phone has problems using DHCP with routers that assign addresses in the 192.168.1.xxx range. It seems to be a conflict with some other internal IP in the Captivate or something. To get around this problem, I had to change the local address of my router to 192.168.2.1, and change the DHCP range to 192.168.2.xxx The new subnet cleared up the problem immediately for me and it hasn't returned, at least, not on my home router. Unfortunately, this won't work on hotspots or other networks that are stuck in the 192.168.1.xxx range.
Click to expand...
Click to collapse
I ran into this problem on my Router. Netgear wndr3700. For some reason when I turned the wifi on my phone either the router was assigning it the same address as my Tivo or my phone wasnt accepting anything but that address. To resolve I forgot the connection my phone then reflashed the firmware on my router. Then reconfigured the wifi on my phone. After that no more issues.

Well i honestly dont know whats wrong with mine. I've done all the "fixes" in this and other threads but it doesnt work. What is weird is that it connects using All Share and only All Share. However it does connect at other places like my friend's, sister's, granparents and gf's houses. I think I'm gonna go to att and demand a new phone and an upgrade

Just wanted to post an update on this. For the most part, deleting the wifi configuration file in data\wifi seems to have cured the problem. The wifi signal did get stuck on one or two occasions, but I'm bound to believe that the issue was caused elsewhere.

Related

Captivate WiFi issue?

My captivate has a problem. It'll connect to WiFi no problem. Unfortunatly, after a while (could be anywhere from long 30 seconds to a few minutes) the WiFi stops sending data. I have to disable/reenable wifi to get it to work again. It still says connected to network, it just won't receive data.
Anyone know of this happening, have a fix, or maybe what I should look for that might be causing this issue?
I disabled recently installed running apps, no help.
I did try a speedfix last night, and it was unsuccessful, and I uninstalled it. Didn't test enough after that to know for sure if it was the issue, but I don't think so.
It was like, I was going through google reader, started a youtube vid, paused it, restarted it, and it wasn't loading. Just wouldn't load. That's when I think the problem started, and I haven't installed anything since then, that i haven't disabled/uninstalled.
Have you tried flashing the stock OS. Maybe this will help. My wifi has been solid so far but i will see if i get a problem like yours. Try reflashing. If it doesn't work post back.
Sent from my SAMSUNG-SGH-I897 using XDA App
I have the exact same issue on enterprise class cisco wifi APs. The only difference is the symptom is immediate, and not after an interval of time.
Sent from my SAMSUNG-SGH-I897 using XDA App
abezapata said:
Have you tried flashing the stock OS. Maybe this will help. My wifi has been solid so far but i will see if i get a problem like yours. Try reflashing. If it doesn't work post back.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
I'm thinking of this, but I don't know...
I have my music on my computer, I have my .apk's in a folder and my market synced with appbrain. Anything else I need to do? Will appbrain reset, and make me go find and reinstall everything?
What about the apps that I paid for, what happens to them?
Would be my first flash, and I'm thinking about flashing one of those I9000 roms, but that would be a last ditch effort. I really hope to avoid this.
jhannaman82 said:
I have the exact same issue on enterprise class cisco wifi APs. The only difference is the symptom is immediate, and not after an interval of time.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
It's an AT&T U-verse router, and only started a few hours ago, as near as I can tell.
I experience the same phenomenon of dropped wifi, and it occurs at any AP, but I have an interesting twist.
One time out of twenty when I start wifi, the 3g icon doesn't go away, but stays up on the status line with my wifi icon. On those rare occasions, my wifi stays solid for days. Unfortunately, it's random and rare.
same issue
My Wifi stops sending data and the 3G still shows. Sometimes restarting the router helps and sometimes nothing helps.
For anyone that might find this later, turns out (after two rom flashes) it was the router. I found this out when connecting my laptop to it. Surprised the captivate didn't admit it lost connection though.
I wish that were the case for me. My Captivate stays connected, but stops receiving at many different APs--Home, Starbucks, airport. I need a solution or a Scotch.
Peter
I had this exact problem, I tried a factory reset and it was still broken. I exchanged my phone and now it works perfectly holding a signal (except for enterprise 802.1x ap's which are known to be broken). (Also if you run dd-wrt check your logs for "deauthenticated due to local deauth", there is a problem with the wpa/wpa2 modules in either android or dd-wrt that they are not compatible with each other).
I actually found this searching for a solution to my own issue with WiFi. I actually fixed it while I was reading this. Unfortunately I have AT&T DSL with 2wire Modem. I went into the setting and setup MAC filtering and assigned it it's own IP. It has worked flawlessly for the past hour. I know this probably will not help when at other locations but at least at home I have a good connection.
VooDooVonz said:
I actually found this searching for a solution to my own issue with WiFi. I actually fixed it while I was reading this. Unfortunately I have AT&T DSL with 2wire Modem. I went into the setting and setup MAC filtering and assigned it it's own IP. It has worked flawlessly for the past hour. I know this probably will not help when at other locations but at least at home I have a good connection.
Click to expand...
Click to collapse
Same router type as mine that lost it originally. Interesting, wonder if there is a connection? Or random coincidence.
I'm having a wifi issue as well, but not to the extent others have.
I connect fine, but it appears as though my data download speed is capped at <2mbps for both wifi and 3g?
My wife's iPhone is getting download speeds of over 10mbps on the same wifi network and >3mbps over 3g.
Is it worth flashing back to stock? or is this a known issue?
I'm running stock JH3 with SRE 1.2.1a with lagfix
I have this same issue and it's really random. Running JH2, sometimes it works on wifi, sometimes it doesn't. Sometimes disabling\re-enabling wifi fixes it, but rebooting the phone always fixes it. Really frustrating...

Can't keep wifi connection and other issues

the G tab won't hold a connection for more than 30 minutes. It won't connect at all with my router unless it's within 8 feet. I'm running stock TNT, but had been running VEGAN 5.1.
I also can't seem to get Clockworkmod to work at all now. I cleaned everything I could when I first started having this issue when running Vegan. Tried to reinstall CWM, and now i'm just getting the cardboard box and arrow no matter what I do.
Halp.
Bueller? Anything?
baconrocket said:
Bueller? Anything?
Click to expand...
Click to collapse
Try installing Bekit's CWM v.08 from this page.
http://forum.xda-developers.com/showthread.php?t=865245
Then I suggest reflashing the ROM of your choice with Wipe Data & Cache.
It may be you have a corrupt installation.
VEGAn 5.1 gives me no issues with Wi-Fi connection whether im 5ft away all the way across the house.
actually I've done that. I can't seem to get CWMOD to run. I do everything like I had originally, but now when i do power and + volume, I get the Gtablet screen and not CW.
http://forum.xda-developers.com/showthread.php?t=892090
Follow that and make sure your command file is there and correct. It deletes after the first boot. If you are powering on with power/vol+ and not going into cwm then its not installed
Vegan 5.1 installed. WiFi is stil
scanning.. connectin.. disconnected.
if i'm within feet of the router it will obtain the IP and connect. Then just crap itself later.
have you tried rebooting the router and are you using wep?
I've really done everything. tried several networks, rebooted router(s) wep wpa, everything. wifi has just decided to stop working on my tablet. TNT, Vegan. Doesn't matter.
I'm exchanging it.
yep...I would...sounds like a bad wifi
Unfortunately it's been just over 14 days since I purchased it and Office Depot will not exchange items after 14 days.
Great.
baconrocket said:
I've really done everything. tried several networks, rebooted router(s) wep wpa, everything. wifi has just decided to stop working on my tablet. TNT, Vegan. Doesn't matter.
I'm exchanging it.
Click to expand...
Click to collapse
Have you tried connecting to a different router other than the one that's giving you issues with the gtab? Have you been able to tether the gtab to an android phone that supports it?
Perhaps tried to connect to an open connection other than your own?
I remember having that issue and it wasn't the gtab perse but I forgot I had set the security on my router to only allow devices with the mac addresses that I entered into the security settings of the router. So even though I was able to connect it would disconnect me shortly after obtaining an IP address.
If you're able to connect to another router you would know for a fact that it's not your gtab but the router you're trying to connect with.
I've tried connecting to a number of routers both open and secured. Same issue and it has progressively gotten worse. I simply cannot connect at all now. There were some issues with connectivity since day one but now it is all but unusable.
baconrocket said:
I've tried connecting to a number of routers both open and secured. Same issue and it has progressively gotten worse. I simply cannot connect at all now. There were some issues with connectivity since day one but now it is all but unusable.
Click to expand...
Click to collapse
Oy Vey, I'm not entirely sure wifi hardware that was once working even if only sporadically can go bad but you mention the grace period for return has passed but it may still have warranty available from viewsonic available to you.
Perhaps you should follow proceedures to return the device back to out of the box stock condition and put in for an RMA from viewsonic.
found out I was on my last day of being able to return, unlike I thought. Exchanged it and got a new tab. Everything about this one is better. Screen, camera angle, CONNECTIVITY.
Just a bad unit I guess. Newer build date by over a month.
I've seen a similar issue, but it only seems to relate to routers broadcasting WEP.
At work they still use WEP - shocking I know - but they do...anyways...it no worky there.
but at home I"m WPA/WPA2 and it fires up just fine...

WiFi *profile* keeps getting disabled?

I've noticed that the profile for my home wifi network keeps getting disabled. Usually, I'll leave for a bit, then come back and about half the time it never reconnects. When I go into the wifi list, it's marked as disabled. I enable it and it works fine from that point unless I leave again. It's my understanding a profile will get disabled when it cannot connect to a network for some reason, but clearly it can. My G2 and SGS never have this problem. Is this a setting somewhere? Thanks...
I am having this same issue. I dont know how to fix it
This is more serious than I realized! I just got disconnected randomly even while staying in perfect coverage. Not only does it disconnect, but it DISABLES the connection and won't reconnect again unless I manually tell it to. I rely 100% on WiFi calling while home and now I'm missing all kinds of calls and texts because WiFi is disconnected...
I'm hoping this is just is a software issue that can be resolved pretty quickly, officially or unofficially...
This phone has like 10 legit problems already. Tmobile needs to hurry up with the updates or the refunds will kill them.
It might help if you talk about the router you're using. I have a Netgear N600 and haven't had any Wi-Fi issues either connecting, staying connected, or automatically reconnecting. Bluetooth on the other hand...
BarryH_GEG said:
It might help if you talk about the router you're using. I have a Netgear N600 and haven't had any Wi-Fi issues either connecting, staying connected, or automatically reconnecting. Bluetooth on the other hand...
Click to expand...
Click to collapse
It's a Linksys WRT610N. Very modern and very stable router. There's no reason this phone should have any problem with it. I literally have a G2 and SGS sitting side-by-side with the G2x and only the G2x has this problem. The SGS is Froyo and the G2 is Gingerbread. I also have a slew of other wireless (on both 2.4ghz and 5.8ghz bands) and wired clients connected that all have zero issues. I don't know why it would work on one router and not the next...
Are you using WPA2-AES encryption or something else?
zaventh said:
Are you using WPA2-AES encryption
Click to expand...
Click to collapse
Yes. And you're right, the phone is very temperamental across a number of areas.
Did you set up your wifi to never go to sleep? Cause if you havent - it disconnects every time you turn off the screen.
In order to do that, go to Settings=>Wireless & Networks=>Wi-Fi Settings=> click on the "menu" button on your phone=> Advanced=> Wi-Fi sleep policy=> and choose Never.
I did that, and my wifi calling is flawless ... and I rely on it pretty much all the time that I am at home (thanks for that stupid t-mobile signal)
I have the same issue and the setting I have by default to Never go to sleep... Also, has nothing to do with router as any of my other phones have this issue including Nexus One.
Did by any chance any of you with this issue restore some Titanium Back-ups? Because when I restored mine from a back-up of my 1st G2x (exchanged) I also restored the previous wi-fi settings and after that the wi-fi wouldn't work correctly. I did a factory reset and it fixed the problem.
Edit: If all else fails, then try a factory reset. I know it sucks, but it could fix everything.
Sent from my LG-P999 using XDA App
I'm having issues with this as well. Wifi set to never sleep, I haven't restored any apps. I constantly lose connection. I've tried the factory reset thing etc. and it doesn't help.
I can connect to my wireless g Linksys access point but not my airport extreme ... my Linksys is open my ape is not(I realize I wrote ape LOL)
Sent from my LG-P999 using Tapatalk
WiFi seems to be losing dns services
I have the same WiFi problems and while a factory reset clears the problem
temporarily and changing the WiFi sleep setting to never is an immense help
once it's gone off-line I can't get it to come back.
I have noticed that if it has a cached dns lookup to an ip address that that
ip address is still accessible. So if you can get OTA data live, look up google.
Switch to wifi, google is still accessible and you can do queries but you can't
click through on the links because the dns lookup fails.
I've fiddled with killing myaccount, suggested elsewhere, without success.
Unless there is some robust configuration change that pops up soon I suppose
I'll have to return it...
boylan said:
I have the same WiFi problems and while a factory reset clears the problem
temporarily and changing the WiFi sleep setting to never is an immense help
once it's gone off-line I can't get it to come back.
I have noticed that if it has a cached dns lookup to an ip address that that
ip address is still accessible. So if you can get OTA data live, look up google.
Switch to wifi, google is still accessible and you can do queries but you can't
click through on the links because the dns lookup fails.
I've fiddled with killing myaccount, suggested elsewhere, without success.
Unless there is some robust configuration change that pops up soon I suppose
I'll have to return it...
Click to expand...
Click to collapse
Did you also uninstall market updates and freeze the market updater?
It got mine working again without any problems. Sucks that this has to be done to get wifi to work properly.
I've frozen MyAccount and WiFi calling and it's working at the moment.
Truely I was a little tired and forgot about the market updates until I got
back here.
Insane that one has to do something like this for such a basic feature.
I mean who is going to use the OTA networking when wifi is available?
Let alone the cost issues. I went from 880kbps to 10100kbps going from
OTA to wifi.
This device must have rushed out the door.
Useless at any speed
So I've uninstalled the updates to and FROZEN:
My Account
Market Updater
WiFi Calling
AppPack
and the phone is still trippy. I've discovered also (via the engineering menu)
that the networking ping test fails - "network unreachable". The wifi
data looks good but it doesn't show the current gateway or dns configuration
information.
I'm at a loss for what to try next. Anyone got any suggestions?
Is there something like a netstat android app?
I am having the SAME issue as well as the OP..... =/
wifi recovery
Too soon to say that this is a consistent work-around but I'm
having some short term luck with
rebooting the phone (remove battery) in Airplane mode
enabling wifi
turning airplane mode off
Not sure if the battery pop is necessary. I suspect it's not.
I also suspect that freezing/deinstalling the various updates
is pointless.
Probably the whole work-around is to change the
Wi-Fi sleep policy to never:
settings->wireless & network settings->Wi-Fi settings->advanced
and use the airplane/wifi enable reboot sequence.
If someone has a permanent work-around based on precise setup
sequence and freezing applications I'd like to hear it - I think I've
followed the several posts on this topic and that path is unreliable but
it never hurts to be wrong.
dj75728 said:
Did by any chance any of you with this issue restore some Titanium Back-ups? Because when I restored mine from a back-up of my 1st G2x (exchanged) I also restored the previous wi-fi settings and after that the wi-fi wouldn't work correctly. I did a factory reset and it fixed the problem.
Edit: If all else fails, then try a factory reset. I know it sucks, but it could fix everything.
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Mine does this and I never restored any system data. I only restored apps.
Strange.
I use WiFi calling at work with no problems. It is a Netgear router. I haven't had problems at home with my Linksys router either.

ViperS 5.1.0 causing arp poisoning on wlan

Hello everybody, this is my first post here but I have been reading the ViperS threads in the development forum since version 2. Awesome rom, I really like it.
However, I have encountered an issue with ViperS 5.1.0 . I would like someone else confirm if this is happening on his sensation too (with ViperS 5.1.0), because its a very annoying bug, and a potential security flaw.
A few days ago I installed ViperS 5.1.0 (from full wipe and no restoring of backups, clean install), and shortly afterwards I noticed that my home computers in my LAN (ethernet and wifi), where having some kind of little micro-cuts in communication with the internet, especially noticeable with google and youtube autocomplete feature and things like that. The communication completely stops for a few seconds, then resumes and works perfectly until a couple of minutes (sometimes less), and it happens again.
I checked my network with a packet sniffer, and found the culprit to be the Sensation. This is what happens:
I have wifi set to always active on the phone and, when the phone is left suspended with screen off, after a little while it begins to send bogus ARP protocol broadcast packets announcing that it has a random (and incorrect) IP associated to his wlan mac. It repeats it again with several other random IPs over time, and sometimes it also says via ARP that it has the same IP as my home router. In that case, it causes all computers and devices on the network, to try to access the internet via the Sensation's wlan card mac, which obviously fails, causing the micro-cuts. After a few seconds, the router sends the correct ARP information and the computers can access the internet again. This is very similar to an ARP spoof attack, but I can't see why the phone is doing it.
It's only happening with ViperS 5.1.0. I have tried disabling ad away and also tried to connect with a fixed IP instead of DHCP, but it keeps happening.
I have attached a screenshot to show the problem.
PD: On other subject, the wifi is buggy when changing access points in the same WLAN (I have 2 APs at home), it turns off, activates mobile data, and then turns wifi on again, taking a long while to do it. In ViperS 3, it just went from one access point to the other without disconnecting. This is a secondary thing, I can live with it, but I thought I should say it just in case it's a easy thing to solve for the devs.
Thanks for your time! I really appreciate your work. :good:
I have been trying to do a packet capture in the phone, and tried to find something in the logs, but I can't see anything. Could this be related to the wifi drivers? Since ARP protocol is in link layer, I can't think of anything else.
Also the other day I connected to a wifi network in other place, and it completely crashed the router, no one else could connect.
@ivicask , I would really appreciate it if you can have a look at this. Because of it, at the moment I'm using mobile data only even at home, and I'm going to use it up pretty quickly
Thanks in advance :good:
raulov said:
I have been trying to do a packet capture in the phone, and tried to find something in the logs, but I can't see anything. Could this be related to the wifi drivers? Since ARP protocol is in link layer, I can't think of anything else.
Also the other day I connected to a wifi network in other place, and it completely crashed the router, no one else could connect.
@ivicask , I would really appreciate it if you can have a look at this. Because of it, at the moment I'm using mobile data only even at home, and I'm going to use it up pretty quickly
Thanks in advance :good:
Click to expand...
Click to collapse
I have been using ViperS for a while, and I it certainly isn't ARP poisoning the network.
Try setting a static IP (set it to that alloted by your DHCP) and see if the issue persists.
Happy to help.
Far_SighT said:
I have been using ViperS for a while, and I it certainly isn't ARP poisoning the network.
Try setting a static IP (set it to that alloted by your DHCP) and see if the issue persists.
Happy to help.
Click to expand...
Click to collapse
That's the first thing I tried, it didn't help.
I have googled it and seems there are some problems with the ARP offload feature in the wifi chip drivers, and several phones have suffered it, the nexus 4 and some HTC devices. A lot of people have reported it in the google code forums.
The thing is that it didn't happen to me in previous ViperS 5.0.0, so something must have been changed in the rom that it's causing it. Do you know where I could look? Maybe it's just something wrong in a config file and can be easily solved.
raulov said:
That's the first thing I tried, it didn't help.
I have googled it and seems there are some problems with the ARP offload feature in the wifi chip drivers, and several phones have suffered it, the nexus 4 and some HTC devices. A lot of people have reported it in the google code forums.
The thing is that it didn't happen to me in previous ViperS 5.0.0, so something must have been changed in the rom that it's causing it. Do you know where I could look? Maybe it's just something wrong in a config file and can be easily solved.
Click to expand...
Click to collapse
While I may not know I shall still try to help once I am home I will quote your post into the correct ROM thread to see if the devs/power users of this ROM can help out
Sent from my HTC Sensation using Tapatalk
ok im posting it now, can you get a logcat to supply to the devs please?
Yes i saw this, but as only person with this problem, i didint investigate. There can be many reasons this is happening to you, but most likely its problem in your own network/routers. My suggestion is first try updating your routers firmware, if there isnt new firmware, just try resting them to factory default and re configure them. I have actual experience with this, my DIR-655 couldn't connect in wifi N mode until i reseted it.
Also HTC ONE users had problems with Dir -655 where it would reboot if HTC one would connect to it (Firmware issue).
Also from your pics i see "duplicate use of 192.168.1.1", are you running 2 routers on same network with same ip address??Than this is the reason of your problems, you cant have 2 devices with same IP in same network, even worse will happen if those 2 devices are actual routers, or even worse if both of them are running DHCP.So re-check your network, make sure only 1 DHCP is running, and there are no devices with same fixed IP address.
Also here are to 2 tests for phone with different wifi supplicant versions, try them ONLY after you make sure your network is fine.
View attachment Test1.zip
View attachment Test2.zip
EDIT:About wifi switching, same thing happens on my ONEX+ ...
ivicask said:
Also from your pics i see "duplicate use of 192.168.1.1", are you running 2 routers on same network with same ip address??Than this is the reason of your problems, you cant have 2 devices with same IP in same network, even worse will happen if those 2 devices are actual routers, or even worse if both of them are running DHCP.So re-check your network, make sure only 1 DHCP is running, and there are no devices with same fixed IP address.
Click to expand...
Click to collapse
Thanks for your answer. The "duplicate use of 192.168.1.1" is exactly the problem, I know that (I am a telecomms tech, I know how this works )
The matter is that the device that is claiming to have the same IP as the router... is the Sensation! See the "source" column in the pic.
I have only one router. Everything is properly configured in the network, the issue only appears when the sensation is connected to wifi AND with screen off. Then it starts sending the false random ARP packets.
Apart from the "router impostor" packets, there is also the problem that over time the other random packets will fill up the ARP tables in the router memory, causing it to hang, although this hasn´t yet happened to me.
In the threads I saw in the google code forums, people reported the same thing for the nexus 4 and several newer HTC devices with the same broadcom chip, (which also caused notification delays) and said that it disappears when disabling "wifi optimization" (with the rise in battery drain that it implies) , which looks like a bug somewhere in the wifi drivers. Unfortunately, disabling that option does not change anything for me.
This has started happening in 5.1.0. Never had such a problem before.
Thanks for the files, I will try them and report results.
Except for this and a weird bug with h/w accelerated videos screen corruption when free memory less than ~90 mb, the ROM is absolutely awesome :good: . It feels much faster and lighter than previous versions. You devs are doing a very good job :good:. HTC should hire you!
OK, problem solved. The test2 file solved it.
With test 1, it stopped sending random IPs in the ARP packets, but instead claimed to have 0.0.0.0 always, and not the correct IP. Also, it couldn't see channel 13 which I'm using on one of my access points (probably region was set to USA in this file).
With test 2, the ARP packets report the correct assigned IP (via DHCP and fixed), it can see all the wifi channels, and everything works perfect. It also appears to be changing from one AP to the other without disconnecting the wifi. This is the correct way it should work.
Still don't know the need to send the ARP info each 15 seconds , but at least now it's correct and there are no problems.
Thank you very much for your help @ivicask , I have seen that the wpa supplicant in the files you posted has an older date, is it just an older version or have you changed something in them also?
Will you include this fix in the next version of ViperS?
Thanks again :good:
Same for me. Killed my router. Especially if downloading at high speed. My router went upp and down. Now I have on other phone and my senny runs stock. No problems att all.
Flashed Viper to check 3min then router died. (it reboots)
Thanks
I couldnt neither write in the original post. By the way, i have the same problem with my wifi conection.
Now i solved it with Test2.zip. I have european wifi too and my router see fine now.
Thanks a lot for this rom and the help.
I didn't notice any particular issues with my WiFi, but I was having the disconnecting behaviour when switching between APs.
The Test2.zip solved this.
More, I tested the received power with Netgear Wifi Analyzer in an already tested place in my home. After applying the Test2.zip it looks like I gained ~10dBm. Maybe it's just something casual, but I wanted to report.
Last. The wpasupplicant file in the Test2.zip has the same modification time as the one in ViperSC2_3.1.4, so I think it has been taken from there
Good job anyway :good:

WiFi problem

I've noticed WiFi problem in my moto g 2015.
My home WiFi is not connecting, it reacts like gone through infinite loop. My home WiFi is having WPA2 protected access.
Every else's WiFi is connecting to my phone.
Please help.
It would help if we had much more details. A link to a video would be perfect. Does this happen with any other Wi-Fi networks?
keyur1131 said:
I've noticed WiFi problem in my moto g 2015.
My home WiFi is not connecting, it reacts like gone through infinite loop. My home WiFi is having WPA2 protected access.
Every else's WiFi is connecting to my phone.
Please help.
Click to expand...
Click to collapse
Thanks for respond.
And yes it happens with some other WiFi networks.
vicks1008 said:
It would help if we had much more details. A link to a video would be perfect. Does this happen with any other Wi-Fi networks?
Click to expand...
Click to collapse
Try factory resetting the device.
keyur1131 said:
Thanks for respond.
And yes it happens with some other WiFi networks.
Click to expand...
Click to collapse
Did you manage to resolve your wifi problem?
I bought the Moto G (2015) 2GB RAM / 16GB ROM for my wife and she's having problems with the home wifi. It often says there is a "connection error" and loops to try to connect again and then fails. Her work wifi seems to function ok.
Having read about similar problems with older moto gs, people recommended (1) turning on and off airplane mode. (2) changing channel number of router.
Both sometimes work and sometimes don't. But it's not really a permanent solution. I'm a bit reluctant to do a factory reset and reinstall everything if it won't resolve the problem. The device came with the latest firmware already installed (5.1.1) and I haven't rooted or unlocked bootloader so should be a pretty clean install.
Anyway, would like to hear that factory reseting could resolve this issue or not before trying.
Thanks for any advice!
Mine does it every now and then. I just unplug my router, wait a minute, plug it back in, and then it connects.
bobbyphoenix said:
Mine does it every now and then. I just unplug my router, wait a minute, plug it back in, and then it connects.
Click to expand...
Click to collapse
Yes. It works for me too. But what happens if you're on a public or work wifi where you can't reset the router? It doesn't really seem like a long term solution.
Is this a standard problem with this phone? Anyone else have a similar problem or preferably a solution?
Cheers
tomaquet said:
Yes. It works for me too. But what happens if you're on a public or work wifi where you can't reset the router? It doesn't really seem like a long term solution.
Is this a standard problem with this phone? Anyone else have a similar problem or preferably a solution?
Cheers
Click to expand...
Click to collapse
Yeah resetting other than home router is not the answer. It's an Android issue as all my phones do it from time to time. I haven't been able to figure it out. The other "fix" if you can't reset the router is try going into the Wi-Fi settings, and forget the network/name, and then add it back as new. It takes longer, but it could work for you. That's how I get around it when connecting to work when it won't auto connect.
Hi, I had also faced the same problem with a open wifi network which is free for 15 mins ..
Other than that one ..i had every router connected to my phone..
I was thinking the problem is not in your phone.. It's in router which might be old ��
Because old routers will have 802 a or something which are in compatible to some phones..
Or the router is not allowing your phone to get connected.. As your phone is latest and it has advanced protocols inscribed in it..
Do one thing.. Shed some light on this now :
1) router model (if known to you)
2) phone models which got connected to that router and it's operating system version (like 5.1.1)
And there is also one more point.. I found our phone might find problems connecting to 5ghz band router ..while it works fine for smaller routers like 2.4ghz
We can decide when you dig some info about the questions I mentioned...
We will get answers
Just turn off wifi and then turn it on it will fix the problem
banerjeeayan1996 said:
Just turn off wifi and then turn it on it will fix the problem
Click to expand...
Click to collapse
You would think it would be that simple, but it's not. It just sits there "Connecting", then nothing, then "Connecting". Keeps cycling like that.
nandakis4 said:
Hi, I had also faced the same problem with a open wifi network which is free for 15 mins ..
Do one thing.. Shed some light on this now :
1) router model (if known to you)
2) phone models which got connected to that router and it's operating system version (like 5.1.1)
And there is also one more point.. I found our phone might find problems connecting to 5ghz band router ..while it works fine for smaller routers like 2.4ghz
We can decide when you dig some info about the questions I mentioned...
We will get answers
Click to expand...
Click to collapse
My router is a netgear CG3100Dv3 (using WPA2-PSK [AES] encryption) and uses 2.4 GHz. I don't think it's the router's fault though because I've had many friends connect with a variety of phones and none of them have had the problem before. I currently have a Oneplus One (android 5.0.2) and have used a Nexus 4 and Samsung Galaxy S (1) on this router without problems. Maybe it's a problem with android 5.1.1 as I guess not many of my friends have it yet. I've written to motorola support but they still havent got back to me.
bobbyphoenix said:
It's an Android issue as all my phones do it from time to time. I haven't been able to figure it out. The other "fix" if you can't reset the router is try going into the Wi-Fi settings, and forget the network/name, and then add it back as new. It takes longer, but it could work for you. That's how I get around it when connecting to work when it won't auto connect.
Click to expand...
Click to collapse
Strange. I've never had a problem before with wifi. Maybe I've been lucky until now. Yep - have tried forgetting and reconnecting to wifi signal. Again, a temporary solution that will quickly become irritating when there shouldn't really be a problem for such a simple operation.
banerjeeayan1996 said:
Just turn off wifi and then turn it on it will fix the problem
Click to expand...
Click to collapse
It's a temporary solution but a pain in the arse if you have to reset the router every few hours. And as I said before, what happens when you can't connect to a router which you can't reset? (i.e. public, work)
Change the router's channel, then refresh the wifi in the phone.
Sent from my SM-T530NU using Tapatalk
Firstly i agree that our Moto G has some kind of issue with some routers.. but there will be solutions for them from the ROUTERS POINT OF SIDE to make it work
i have read about your router .. Things i suggest (if you have already done them then let me know )
1) your router has option to change MODE to get speeds more than 150mbps.. try changing that 802.11 MODE , restart your Phone and Router and also keep CHANNEL to AUTO , try changing the security WPA to others also..
2) your Wifi of your phone will have a MAC address , copy that and paste in your Router to allow this device..
i am still finding info on your problem..
the reason why i think your Router can solve the problem is : i had once read about 802.11 b/g/n/ac types.. i am getting a doubt that they are the ones causing the problem.. if you are aware of it
have a look at this bro once : http://www.smartmobilephonesolutions.com/content/cant-connect-to-wifi-on-android-smartphone
in this he said that Wifi fix apps can solve the easy problems..:highfive: , hope you find solution
nandakis4 said:
Firstly i agree that our Moto G has some kind of issue with some routers.
Click to expand...
Click to collapse
Hmm. That doesn't sound promising. Will they sort it out with the next firmware update? Are motorola even aware there is this problem?
nandakis4 said:
1) your router has option to change MODE to get speeds more than 150mbps.. try changing that 802.11 MODE , restart your Phone and Router and also keep CHANNEL to AUTO , try changing the security WPA to others also..
2) your Wifi of your phone will have a MAC address , copy that and paste in your Router to allow this device.
Click to expand...
Click to collapse
Ok. Will change channel to auto mode. It was already on "up to 300 Mbps". Will also put MAC addresss in the router.
However this still relies on having access to the router. What happens when you don't have access. If this is going to happen on many routers then I prefer to return the phone and buy one which never has this problem.
nandakis4 said:
have a look at this bro once : http://www.smartmobilephonesolutions.com/content/cant-connect-to-wifi-on-android-smartphone
in this he said that Wifi fix apps can solve the easy problems..:highfive: , hope you find solution
Click to expand...
Click to collapse
I'll give a wifi fix app a go to. But they just seem to automatically delete known wifi SSIDs and passwords.
Another option would be to root and install new ROM and radio, but would prefer not to.
It seems like a lot of Nexus 5 users on 5.1.1 are having wifi problems too:
https://productforums.google.com/forum/#!topic/nexus/4zdMLo2Pn9Y;context-place=forum/nexus
https://productforums.google.com/forum/#!topic/nexus/yx5kGasv2lE;context-place=topicsearchin/nexus/category$3Aconnecting-to-networks-and-devices
Anyway, thanks for you advice!
Just a quick update if there is anyone else reading this thread with a similar problem.
I changed the channel mode to auto and that has seemed to fix the problem. The moto g seems to connect without problems now. I didn't enter the MAC address nor used a "wifi fix" app so far.
Fingers crossed...
I have the same problem. Wifi just stops working and had a ! Symbol beside the wifi icon. I have probably had a 100 phones and devices connected to this router without a problem. I have changed a bunch of settings the router and it didn't help.
Disabling wifi off then on works, but that is no solution. I will try anther Rom or kernel. I am on resurrection 5.1.1
tomaquet said:
Just a quick update if there is anyone else reading this thread with a similar problem.
I changed the channel mode to auto and that has seemed to fix the problem. The moto g seems to connect without problems now. I didn't enter the MAC address nor used a "wifi fix" app so far.
Fingers crossed...
Click to expand...
Click to collapse
Finally you made it :highfive: thanks for this reply, i have been waiting for this answer ..
choder said:
I have the same problem. Wifi just stops working and had a ! Symbol beside the wifi icon. I have probably had a 100 phones and devices connected to this router without a problem. I have changed a bunch of settings the router and it didn't help.
Disabling wifi off then on works, but that is no solution. I will try anther Rom or kernel. I am on resurrection 5.1.1
Click to expand...
Click to collapse
My problem was slightly different in that the phone wouldn't even connect to the wifi signal. It would cycle continuously between "connecting" and "authentication error".
Does it work with other routers?
nandakis4 said:
Finally you made it thanks for this reply, i have been waiting for this answer ..
Click to expand...
Click to collapse
Thanks for your help! I'm still a little wary that the phone will have problems in the future on other routers, but it's a good enough fix for now. Hopefully a later firmware update will sort it out.
Unfortunately, my wife took the moto g on a business trip last week and could not connect to any wifi signals (her colleagues did not have a problem).
Not sure what to do now. I'm in contact with motorola support but they don't have any suggestions yet (apart from blaming the router - which has never had a problem with any other devices!)
---------- Post added at 02:01 PM ---------- Previous post was at 01:05 PM ----------
tomaquet said:
Unfortunately, my wife took the moto g on a business trip last week and could not connect to any wifi signals (her colleagues did not have a problem).
Not sure what to do now. I'm in contact with motorola support but they don't have any suggestions yet (apart from blaming the router - which has never had a problem with any other devices!)
Click to expand...
Click to collapse
Well I just emailed Amazon and they're sending a replacement. Hopefully this will solve the problem

Categories

Resources