Related
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.
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.
I feel so relieved today .. My A2 connection is rock solid for the last 3 hours.
I had tried everything before --- static ip , apps on phone etc to get rid of the intermittent disconnection issue. Nothing worked.
Solution - this worked in my case.
I flashed my Dlink Dir-615 router with DD-Wrt firmware.
I found a ready-to-eat guide for my particular model :
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=550652
So check if there is a dd-wrt firmware for your router too. If not , there are other open-source firmwares too like tomato etc
Finally I set my security to WPA2- EAS .. and reserved a IP for my A2
and have set this static ip in my phone to be on a safer side.
I realized the issue could be with my router , when i had no disconnection at my friends place.
However i will still continue to face connection issues at college after the spring break. Probably android requires very strict wifi protocol adherence, and dd-wrt follows everything.
Hope this helps fellow noobs
Thx. I also have another possible solution. Most of the time it is indeed a router problem. What worked for me was turning of all my other devices using Wi-Fi such as laptop and other things and connect my phone first and then turning on the other devices. Never had a problem since.
Sent from my ME865 using XDA
Wi-Fi issued resolved for Ubquiti Wifi router model Power ApN
I have a Asian MB865 unrooted 2.3.6. From day one I had difficulty connecting to my home wifi router a US brand called Ubiquiti for their model Power ApN. Tried many points to resolve. The issue was phone used to show connecting then dropping the connection immediately in a non stop loop. First thing I updated to the latest firmware for the router and changed network mode to "Bridge" and issue was resolved until then a new issue was randomly again the phone would not connect to the router & then would be ok again after 2 days. Frustrated I took screen shots comparing my earlier saved config file v/s the changed setting config file and narrowed it down to the point that the wireless setting Frequency Mhz was at Auto which I changed to 2452 mhz as fixed value and from thereon wifi is connected nonstop any time I want..
Hope this helps anyone who can make use of this info. Cheers!
PS - Moto help personnel would first tell users to reset to factory settings by default which is not required.
I am pretty sure a lot of these wifi problems are router related. My Atrix 2 on Lithium rom would lose wifi connection on a Netgear N300 router but when I changed it to a Asus WL 520GU using dd-wrt firmware, the wifi problem was gone. However I have noticed after flashing the deodexed international Indian rom, wifi is good with both routers, so I would give the Indian rom a try if you have wifi problems.
strider28304 said:
I am pretty sure a lot of these wifi problems are router related. My Atrix 2 on Lithium rom would lose wifi connection on a Netgear N300 router but when I changed it to a Asus WL 520GU using dd-wrt firmware, the wifi problem was gone. However I have noticed after flashing the deodexed international Indian rom, wifi is good with both routers, so I would give the Indian rom a try if you have wifi problems.
Click to expand...
Click to collapse
I am using an Asian MB865 unrooted and I posted only for info for anybody using the Ubiquiti POwer ApN router to illustrate how I sorted the issue. Appreciate your input though.
make sure ur router is using Channel 1-11.. as A2 can only detect channel 1-11... Happened to me twice when my router auto use channel 12 which my A2 could not detect my network at all...
Just a heads up....
but if you are running Wireless N on your router/AP.....
make sure your Channel Frequency is set to 20MHz only... not 20/40MHz .. this causes channel banding and many routers and devices do not properly support this due to lack of strong standards for its use.
Change said setting and reboot router (especially if it doesn't ask to be rebooted)
Also, always make sure to update to the newest firmware for your router... companies like Engenius and Cisco/Linksys patch many issues as they crop up and many times it will patch a problem you have.
Refer to the following article for questions on 20/40MHz banding....
http://www.smallnetbuilder.com/wireless/wireless-features/31743-bye-bye-40-mhz-mode-in-24-ghz-part-1
I installed Jelly Bean update with Sense 4+ on Christmas eve. Since then my WiFi connects but when I got to use data, say email internet or even some apps it says no data connection. The WiFi symbol is active in status bar showing full bars.
I'm hoping someone has some ideas as I'm having no luck. Thanks
I've still been working at this. I've logged into my modem/ router and it recognise my phone on a wireless connection.
I've deleted and reconnected my connection on the phone. Re booted phone and modem several times.
I've yet to try my phone on another network. But my laptop connects to WiFi ok and phone was working fine untill the update.
DylanRB said:
I've still been working at this. I've logged into my modem/ router and it recognise my phone on a wireless connection.
I've deleted and reconnected my connection on the phone. Re booted phone and modem several times.
I've yet to try my phone on another network. But my laptop connects to WiFi ok and phone was working fine untill the update.
Click to expand...
Click to collapse
Sounds identical to this guy:
http://forum.xda-developers.com/showthread.php?t=2070160
Maybe you guys can continue within 1 thread?
Once again sounds like a DNS problem.
Try to prove that your handset has correct DNS settings. Also try to find something you 2 have in common with your setup. Is it the same ISP, same modem, same whatever?
Maybe ring Telstra and ask them?
DylanRB said:
I installed Jelly Bean update with Sense 4+ on Christmas eve. Since then my WiFi connects but when I got to use data, say email internet or even some apps it says no data connection. The WiFi symbol is active in status bar showing full bars.
I'm hoping someone has some ideas as I'm having no luck. Thanks
Click to expand...
Click to collapse
I found that I had the same issue and downloaded WiFi Manager and changed my DNS/Gateway settings. This fixed the problem. I'm not too sure what may have caused the problem initially but I do know my router uses 192.168.1.254 as its address. This could have something to do with it however this is just a theory.
GingerNinja88 said:
I found that I had the same issue and downloaded WiFi Manager and changed my DNS/Gateway settings. This fixed the problem. I'm not too sure what may have caused the problem initially but I do know my router uses 192.168.1.254 as its address. This could have something to do with it however this is just a theory.
Click to expand...
Click to collapse
I changed my gateway settings, which had defaulted to something completely wrong, and can confirm it fixed accessing the net for me to, thanks!
I just downloaded WiFi manager (I'm having the same problem). Any idea what I do from here? I'm using a Netgear router, and I can still connect to the modem settings on 192.168.0.1 but that's all.
vlad11 said:
I just downloaded WiFi manager (I'm having the same problem). Any idea what I do from here? I'm using a Netgear router, and I can still connect to the modem settings on 192.168.0.1 but that's all.
Click to expand...
Click to collapse
I didn't find wifi manager to be any help with the problem specifically. But changing the gateway worked for me.
Settings > Wifi > Long Press on network > Modify > Show advanced options > IP Settings > Static >
Then I scrolled to Gateway, where I removed the existing numbers and entered the IP address of my modem (not router, unless its an modem/router combo).
Leaving all other settings as they were, this worked fine for me. I don't know if you may also need to change DNS 1, or if you will have to configure a static IP on your router, but I didn't. Hope that helps
Aloysius496 said:
I didn't find wifi manager to be any help with the problem specifically. But changing the gateway worked for me.
Settings > Wifi > Long Press on network > Modify > Show advanced options > IP Settings > Static >
Then I scrolled to Gateway, where I removed the existing numbers and entered the IP address of my modem (not router, unless its an modem/router combo).
Leaving all other settings as they were, this worked fine for me. I don't know if you may also need to change DNS 1, or if you will have to configure a static IP on your router, but I didn't. Hope that helps
Click to expand...
Click to collapse
I just went all out and changed all settings, including setting a static IP. After dealing with Tech Support, "factory reset your device to isolate issue" I just wanted to attack every possibility. It seems from previous posts this may just be a Gateway issue. I should have known to long-press on the network to access advanced options. Amateur error.
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: