wifi sleep policy not work correctly? - Nexus One Q&A, Help & Troubleshooting

My wifi seems to disconnect from my wifi when the screen turns off, despite me having changed my settings to never sleep. When I look at the wifi settings it says "Unsuccessful Connection". I didn't have this problem with my MT3G.
Anyone having similiar issues or a fix?

wifi Reconnection issues
I'm having the same problems with mine.
It initially connects to wifi fine but when the screen goes off it sometimes drops the connection and will not reconnect without a reboot.
I have tried setting it to keep the wifi when sleeping but it makes no difference.
I found a few similar reports elsewhere and followed most of the suggestions, like changing routers, changing wifi channels, setting an IP address instead of DHCP etc. Nothing seems to make any difference so far.

Mine never seems to reconnect after waking up, but I just go into the Wireless settings/Wifi settings window (where it lists all the Wifi networks in the area) and press on the network name and it brings up a dialog allowing me to connect again. I press the Connect button and it instantly reconnects. No reboot required...

Try increase your router's "Group Key Update Interval". I had the same problem with my D-Link DIR-655. I changed mine to 10 hours and it's working fine for me now.

i have the issus that my wifi is "connected" i mean i see the logo at the top bar but after a few minutes i don't get any update from the internet like gmail oder twitter when is wake up the device from sleep i get them back again
maybe it something with the Group Key Intervall but i can't switch it on my speedport w700v router

I just tried switching mine, highest it can go is 7200 seconds, so I bumped it to two hours instead of one. linksys
my wifi reconnects when I wake the screen almost 100% but it's not reliable.
I have to go to wifi list and reconnect. Sometimes I disable wifi and then re enable, conects no problem. Irritating

i heared that switching the encryption from wpa/wpa2 to only wpa2 will solve this issues, will try it when i am at home

...seems like almost everybody got this problem.

for example with my Hero i don't had this problems so it's something with the W-Lan card of the Nexus

Got this problem too but will try the suggested work arounds when I get home tonight

found out that my encryption is wpa2 not wpa/wpa2 ... damn so thats not the reason
and my router cant configure the group key intervall

I don't have this issue, running CM5.0.3.1, mine is set to Never Sleep and it does not. My connection does not time out either. I connect to two Trendnet TEW-637AP's at home, in mixed b/g/n mode with WPA2-PSK mode security.

Could it be, that this prob exists just for nonrooted phones?!

i've got mcr 1.6 which is rooted and don't work
i think it's a problem with the wifi card and the wifi router
rooting just means that you get read/write access to all folders
doesn't change anything on your wifi connection

qvert said:
i've got mcr 1.6 which is rooted and don't work
i think it's a problem with the wifi card and the wifi router
rooting just means that you get read/write access to all folders
doesn't change anything on your wifi connection
Click to expand...
Click to collapse
Not exactly, it means also modified system files, which could include those that interface with the wifi chip and those that control the sleep state of the device.
Also, Cyanogen (and most other custom roms now) are running on a different (newer) kernel.

yes i know
but mcr is although running on different kernel and it's not working there
i don't think its an issue bei the stock rom and mcr
maybe here is someone with CM where the wifi drops?
edit:
okay i tried it with the desire rom version from modaco, the same failures, maybe i try a CM built now, and see if it changes
Code:
[B]Rom [/B] [B]Router / Access Point[/B]
MCR 1.6 | Speedport w700v | not working
Desire MCR | Speedport w700v | not working
CM 5.0.3.1 | Speedport w700v | not working
i think this means it's not a rom issue, its something with the routers and access points in combination of the wifi card from the nexus

That´s strange..perhaps just accidentally, but: yesterday I installed "Task Manager" , which has an auto-kill function.....since then my Wifi reconnects perfectly

maybe because it automatically does anything inside of the 10 minutes which keeps the wifi active?
which one did you install?
there are a lot of them on the market
which developer?
edit:
ah i found a strange issue, today i was at the wifi of my girlfriend, she has the same router BUT i don't have the wifi problems there, with the same model of router thats very strange

i found another work around, i set my twitter client to 5 minutes update intervall, this means every 5 minutes is network traffic and the connection won't drop after my 10 minutes public key intervall change
don't know how much battery is used while setting from 10 to 5 minutes but i think it should be okay

Try a different WiFi channel
I've seen reports of WiFi connection problems being solved by changing channels on the AP. Channel 10 seems to be a consistently reliable choice.

Related

Diamond Wi-Fi Problem

I have recently procured an HTC Diamond mobile and is facing the following problem:
I have a Linksys Router at home. When I switch on the Wi-Fi in my Diamond, it gets connected to the router. In the status, I can see the signal strength, Tx, Rx rate etc. But when I open the browser (both opera & IE), the web pages does not open. Error message stating check the url or does any other programme using the internet works? appears. Even my weather does not get updated. Using the same router, I am able to connect my laptop as well as my desktop to Internet.
When my diamond is synced using active sync, my mobile is able to connect to the Internet & Weather application also get updated.
Kindly help me to resolve this issue and make diamond connect to net using wi-fi.
Thank you in advance.
I have the same problem sometimes
I just changed parameter in settings -> connections -> wireless lan -> power mode -> "best performance" instead of "best battery" and it seems to work now.
I'm new to WM, so I don't know if it's a bug: when I don't use my phone I press the power button, or I wait it to go to "sleep mode" in 40s.
When I press power button to reactivate the screen, I can see in the first seconds that the wlan was disconnected and connects again.
So it seems that wifi is always disconnected when the phone is in sleep mode? That means no mails can be received ? Can anyone confirm?
Thanks
Hi there for both of you!
I had a connection problem with my Diamond at home. It was almost the same as tkak just I couldn't figure out whether ActiveSync connects or not. I managed to bypass this to set my routers DHCP timeout from 1 week to 3 hours and it all went away. The network status showed periodic connect/reconnect during the problem so it might be a different prob than yours.
Peio64:
WM6 keeps WiFi connection asleep during sleep mode. Imagine the battery usage if it was connected to WiFi all the time. So be happy with that and beside it is usable. WiFi automatically tries to connect to the closest hot-spot if it was connected before each time you switch on. Normally it shouldn't take more than 5-10 seconds and the whole process can be followed on the top bar.
Mails: Use DirectPush and GPRS connection and e-mails will arrive instantly. Google for setting this up. With Wifi I dunno - if you schedule ActiveSync for a periodic check whether your WiFi will be used or a new GPRS connection. I think GPRS can be used while the device is asleep but I'm not sure. Someone should test this. Probably whichever is quicker to build up a connection will be used for data transfer. (Note: on some forum I read that if you disable GPRS auto check with a tweak battery will last longer so I guess this means that GPRS is always connected.
Regs, Cina.
Does your diamond obtain an IP adress from your router, and is the connection setup as 'connects to internet'?
cina said:
Hi there for both of you!
Peio64:
WM6 keeps WiFi connection asleep during sleep mode. Imagine the battery usage if it was connected to WiFi all the time. So be happy with that and beside it is usable. WiFi automatically tries to connect to the closest hot-spot if it was connected before each time you switch on. Normally it shouldn't take more than 5-10 seconds and the whole process can be followed on the top bar.
Mails: Use DirectPush and GPRS connection and e-mails will arrive instantly. Google for setting this up. With Wifi I dunno - if you schedule ActiveSync for a periodic check whether your WiFi will be used or a new GPRS connection. I think GPRS can be used while the device is asleep but I'm not sure. Someone should test this. Probably whichever is quicker to build up a connection will be used for data transfer. (Note: on some forum I read that if you disable GPRS auto check with a tweak battery will last longer so I guess this means that GPRS is always connected.
Regs, Cina.
Click to expand...
Click to collapse
Thank you for your answer,
I had a SE P1i before, and wifi was connected all the time with push mail. With the diamond and its weaker battery, I set up my mails schedule to connect every 15 min so wifi only needs to be active every 15min, even in sleep mode, I don't want it to be connected all the time this is of course a battery waste.
HSDPA is connecting in sleep mode there's no problem with that, I just wish to use wifi for mails when I'm at home as my data plan is unlimited for web surfing but only 10Mo/month for pop/imap connections.
BTW I don't use the "keylock" option, is it different from sleep mode in this case? I can't see the advantage of keylock versus sleep mode
I had an ETEN M600 for ages before and I found that for sync it always used GPRS even if WiFi was available. The cause for this was GPRS was available while device is asleep so it can start syncing immediately after wake up (does it needs to wake up for sync?). So you probably have to switch GPRS (HSDPA) off while you're at home.
Keylock is for locking hardware buttons and touchscreen while it is active. (You won't dial up anyone from your pocket). It has nothing to do with sleeping just if you set up the registry tweak the device get locked (Keylock software is started) if you press power to send it to sleep. (I've almost written "off" but it is obviously not true - you can switch it off with a long press on power = soft reset).
Hope this helped a bit.
Cina
Okay thank you, I checked and HSDPA is connecting every 15min in sleep mode even with wifi ON. If I switch data off I suppose nothing connects and no mail is received, which is I think it's a weird behaviour.
By the way, I have set my data connection to swich off 10 seconds after not being used, and it works perfectly and reconnects automatiquely when it needs to. But for the wifi I can find that option, it's stays connected all the time when I use the phone, even if I don't need to. Is it possible?
Maybe it's due to the fact that it's always checking if there are new networks? On Symbian UIQ3, you can pre-configure networks, give manually priorities for each networks (1.Wlan work, 2.Wlan home, 3.3G etc..) and for each application (web, mail, etc). When the phone connects it checks if the network "1" is available, if it's not it checks the network "2", and once it's connected it doesn't check anymore. Is there a WM6 advanced network tool like that?
(Sorry for my english)
I did the following and now it gets connected to the web:
I just changed parameter in settings -> connections -> wireless lan -> power mode -> "best performance" instead of "best battery".
I do not know why this needs to be done like this.
Thankyou all for resolving my problem
I'm experiencing problems connecting to my WL Router (DrayTek 2820n) using WiFi when the router is set to Auto instead of to a specific channel. I've noticed from some threads for other mobiles that people are exprience similar problems. Does anybody knows what is the story around which channels are supported on WiFi: 1-11, 1-12 or 1-13. My router is set to 13 by default. In addtion to that Diamond has problem to connect to some channels even in the 1-11 range. So how can I check, which channels are supported and for which region?
Edit: I did further testing and it became obvious that when using Auto channel selection on the router, Diamond wouldn't connect. When selecting manually any channel between 1-11 it works OK, but when selection channels 12-13 it stops working, which makes me believe that the Diamond doesn't have support for the channels for non-US regions.
Does anybody have any idea how to change wifi region to support 12-13 channels as well? So far I couldn't find anything on the net that would help me doing it. Is it possible that it might be WM 6.1 issue and not Diamond?
HI I am actually having a diffirent issue but still related to wi-fi. When my phone awakes from sleep, it promts me to connect to my wi-fi server at home, when it was already connected jus minutes before. I have to re-enter the pass phrase everytime it awakes from sleep. This does not seem normal as my 6.0 touch didnt do that.
Any takers on this?
For more channels, it depend of US version or EU version. You need to changer your firmware but the problem is that in France for Internet you use PPoA and Belgium PPoE and I do not know if in the US they use the same so you will probebly losse your ability to connect to the Internet. Having more channels is not interesting because you need a hope of 5 between channels ( ex : ch1 + 5 = ch 6 and ch6 + 5 = ch11) between ch1 and ch6 place a ch11 for avoiding interferances. In 802.11g that is a question of scheme.
Sorry for my poor English.
Problem connecting to home network wifi
Hi, i've been using diamond to connect to my wifi home network but since few days is not possible anymore even if nothing was changed in the settings of the router.
The phone recognize the network as available, i push connect, it comes connecting but instead of connecting to the netwok it goes back to available.
Password is correct and the setting are the same as few days ago.
Any idea which setting should be modified?
Thanks in advance!
Panco76
Hello everyone,
I have one problem with my diamond. I disabled the "data transfer" with the improved comm manager. I usually use wifi when i'm home, however, i've seen that even though wifi is active, HSDPA connection is activated as well so i got charged, this sometimes happens when updating weather data or downloading emails.
Anyone with the same problem?
Yes - having he same problem.
I have WIFI at home and at work - so i want to use GPRS only when i am outside. never managed to do this - except when i kill GPRS fully - and even then Opera, the weather and push-mail wont work. :-(
WiFi Channels 12-13?
I need to bump up this issue again.
I can't find anywhere in this forum how would you change your WiFi channel range from US to EU (i.e. 1-11 to 1-13). My Diamond was purchased in Australia and I was hoping that the new SW upgrade would rectify that, but it looks to me that's not the case. Any idea if that can be done in registry?
Thanks.
Change Channel range from 1-11 to 1-13
***Bump***
Has anybody got any ideas how to increase the channel range from 1-11 to 1-13?
Hi, I am having a seperate problem from all that are listed. I have the linksys rangeplus router, and my Diamond wont even detect my network when it searches, yet my computer and PS3 do fine. Can anyone help me?
another problem...
Hi,
i have a problem with the wifi on my Diamond aswell..
I have a router at home which is encrypted. When I try to connect to it, I type the encryption key and it says Connected but i cant surf any pages. When i go back to wifi settings my home network switches between Not available and Connecting...
However, when i remove the encryption, everything seems to work fine. Since i dont want to treat my neighbors with free internet, does anyone have any tips for me?
(it is set to Best performance... +i'm sure i enter the right key...)
Thanx
The same over here... I found out, that some of cooked ROMs had this problem, but official worked. Before I couldn't connect via WPA2-PSK AES, all other encryptions worked. Until now... I tried to flash official ROM and RADIO, but it doesn't work anymore. I'm pretty sure it must be hardware problem. I need to send my Diamond to get fixed, but... The closest repair centre is in Prague (GSMobile)
!!!!!!!!!!!!!BUT BE AWARE!!!!!!!!!!!
I owned previously Qtek8310. After I send them my Qtek to replace the joystick, it came back with broken motherboard... This repeated 3 times and everytime they broke something else. I've got my Qtek8310 back as a total crap, destroyed and scratched... I called and send a claim to HTC Europe in London, but nothing happened since then. I don't believe them anymore. If you love your Diamond avoid to get it fixed in GSMobile!

[Q] Wi-Fi Woes

Ok I have a very iritating problem.
My captivate works amazing in all ways... except one. When I'm at home connected to Wifi, within a few mins of me putting the phone down, or even mid use, the wifi will just stop working. The icon still shows it to be connected however no apps are able to actually get internet. A quick pulldown of the quick access menu and tapping wifi off and back on again gets it going great... for another 5 mins. Then the same thing happens.
Its been like this ever since I got the phone, even after flashing different roms. Now i'm running a Linksys Wireless - N router - maybe they're not playing nice?
I dont think its a hardware fault because when I serve wifi, IE the captivate is an infrastructure mode access point for 3g, it stays on consistently and my laptop can tether for 2 hours or more.
Anyone know what might be causing this?
Thanks
When you have wifi on, go to menu settings and 'Wireless and network'. In Wi-Fi settings you can change the Wi-Fi timeout.
nickbarbs said:
Ok I have a very iritating problem.
My captivate works amazing in all ways... except one. When I'm at home connected to Wifi, within a few mins of me putting the phone down, or even mid use, the wifi will just stop working. The icon still shows it to be connected however no apps are able to actually get internet. A quick pulldown of the quick access menu and tapping wifi off and back on again gets it going great... for another 5 mins. Then the same thing happens.
Its been like this ever since I got the phone, even after flashing different roms. Now i'm running a Linksys Wireless - N router - maybe they're not playing nice?
I dont think its a hardware fault because when I serve wifi, IE the captivate is an infrastructure mode access point for 3g, it stays on consistently and my laptop can tether for 2 hours or more.
Anyone know what might be causing this?
Thanks
Click to expand...
Click to collapse
Try goin to settings->wireless and networks-> wifi settings (menu key)advanced and set the sleeping policy to never
I've done that...
i *Think* i've fixed it. I was using WPA2 IPK encryption or whatever.. Switched back to the 64 bit crappy WEP. Wifi was on all night and all morning with no cut out.
Might be just another linksys-is-crap situation.
HI, I figured I keep my wifi woes within a singe thread so.
I have an old D Link WBS 2310 router.
I recently got a message from AT&T that I'm near my data limit. This surprised me as my last cycle I barely got near 500mb. Since my bill isn't ready yet, I can't see exactly what it is I'm doing to use so much data.
TO be safe I figured I'd pull out my old router and set it up. After hours of hassle getting it to work on my new computer, I wasn't able to get my Captivate to hook up to it.
My laptop works fine. It gets a fast wifi signal, but my phone just says "Obtaining IP address" for a while and then gives up.
My phone gets wifi at work, at friends', at coffee shops - but not at home.
I've tried this with no encryption, WEP encryption and WPA2 encryption.
Each time my laptop would hook up to the wifi but my phone wouldn't.
I searched some other forums and found similar problems with HTC phones.
Some answers say that D Link sucks. But that answer applies to other brands as well.
Do I need "n" wifi, rather than "g"?
I don't want to buy another router only to find it still doesn't work.
Any help?
gluvox said:
HI, I figured I keep my wifi woes within a singe thread so.
I have an old D Link WBS 2310 router.
I recently got a message from AT&T that I'm near my data limit. This surprised me as my last cycle I barely got near 500mb. Since my bill isn't ready yet, I can't see exactly what it is I'm doing to use so much data.
TO be safe I figured I'd pull out my old router and set it up. After hours of hassle getting it to work on my new computer, I wasn't able to get my Captivate to hook up to it.
My laptop works fine. It gets a fast wifi signal, but my phone just says "Obtaining IP address" for a while and then gives up.
My phone gets wifi at work, at friends', at coffee shops - but not at home.
I've tried this with no encryption, WEP encryption and WPA2 encryption.
Each time my laptop would hook up to the wifi but my phone wouldn't.
I searched some other forums and found similar problems with HTC phones.
Some answers say that D Link sucks. But that answer applies to other brands as well.
Do I need "n" wifi, rather than "g"?
I don't want to buy another router only to find it still doesn't work.
Any help?
Click to expand...
Click to collapse
part of the IEEE 802.11n standard is backward compatibility with all previous 802.11 standards IIRC, so there should be no need to buy a new n device.
HOWEVER, i am also having issues with my wi-fi and my g capable router. i will meddle around with some phone and router settings to see if i can fix this, this is one area were i can actually be of some use on this forum
Hi. It turned out the wifi was broken on my captivate. I reset it to stock and it's all better. It had been working up to the previous day so I assumed that it was still working. The router goes down intermittently in general, so I've ordered a new one to see what's up.
Hi, I'm back! So after resetting the phone and getting wifi to actually connect (rather than being stuck searching for IP address), I'm now having the exact same problem is the OP. The OP seems to have solved this by switching to WEP. I tried this and it doesn't work. My timeout is set to never. Also, it's the same at home (I replaced my router) as well as at Starbucks and a friends house.
I'm connected, but can't download or sync. It works initially and then stops, and then comes back in briefly and then stops, all the while "connected." Sometimes I can fix it temporarily by turning off wifi and then turning it back on.
SO what's the deal? Is it a hardware problem? Is there some secret magic code?
edit: Just disabled encryption - same problem.

Wifi always requires manual connect???

Hey guys I tried searching but came up empty handed here.
Whenever I put my nook in standby (push power button or it automatically does it with inactivity) the wifi connection turns off. I've got it set to do that in spare parts so that it only stays "awake" while charging and not while idle.
The problem is it doesn't do that. Regardless of if it's charging or not, whenever I wake it up, even though wifi is enabled in the settings, it doesn't search on connect to my network. I have to go into Setting -> Wireless and as soon as I go into that menu, it finally connects automatically. It won't do it unless I go to that menu.
I'm rooted with the 1.0.1 Autonoonter btw.
Mine was doing something similiar. For me, it kept hanging up on obtaining an IP. I used an app called Wifi Static (free in the market) to set up a static IP and haven't had any problems since. Wifi seems to shut itself off way less often and when it does, it only takes 1-2 seconds to auto reconnect. Don't know if it will help you or not, but it's worth a try.
Have you done any modification of the wifi settings at all? Like the ad-hoc supplicant mod?
Quilombo said:
Have you done any modification of the wifi settings at all? Like the ad-hoc supplicant mod?
Click to expand...
Click to collapse
I have not.
I have the problem but it only happens with certain routers others work just fine . . . weird!
I have exactly the same problem. It started with the upgrade to 1.1. Affects stock or adhoc supplicant.Very annoying. Yet to find a fix

[Q] Major wifi problem

I have a major problem with wifi on GingerDX & stock kernel, it drops the connection everytime it is idle, and it many times doesn't come back by itself or the statusbar shows it is connected, but there is no connection, and in these cases i have to switch it off and on. There is no encryption on the router. I set the wifi sleep policy to never. This doesn't happen on stock ROM. Any solution to this?
Lajbymester said:
I have a major problem with wifi on GingerDX & stock kernel, it drops the connection everytime it is idle, and it many times doesn't come back by itself or the statusbar shows it is connected, but there is no connection, and in these cases i have to switch it off and on. There is no encryption on the router. I set the wifi sleep policy to never. This doesn't happen on stock ROM. Any solution to this?
Click to expand...
Click to collapse
Set the WiFi sleep policy to "Never" to avoid WiFi going "ZZzzzzzz" when the phone is idle (lockscreen kicks in)
I mentioned that i already did that.
And it does it too when it is awake... i already downloaded many apps to keep the wifi awake but no success.
In this case it would rather seem you have a compatibility problem between the ROM and your Access Point / Router.
Try switching channels or secure your network to rule out your problem comes from tons of strangers using your wifi.
I think i switched channels before, and no success. The router doesn't accept connections from unregistered devices so even without password, nobody can connect from outside.
Lajbymester said:
I think i switched channels before, and no success. The router doesn't accept connections from unregistered devices so even without password, nobody can connect from outside.
Click to expand...
Click to collapse
LOOOL ... MAC addresses are sniffed in a matter of split-seconds.
Anyway, since you are certain you already did everything in the book, and outside the book ... maybe try changing your WLAN cable past a new one.
There is no WLAN cable on the router, the antenna is connected directly to it. By the way 2 computers are connected through wifi and their connection is constant. But if it works on stock rom then there is something in the rom itself.
I suggest edit twilan.ini to make N standard work. This solved my wifi problems on SDE .
Search XDA for n standard on x8
Sent from my E15i using XDA
I'm gonna test it for some time, I will report back if it worked or not.
I have similar problem myself as well. I even upgrade it to latest rom and it still does that. I already set wifi sleep policy to NEVER yet the damn thing could randomly decide to cut off. As soon as I wake the phone up it will re-establish connection. Ever single time. Why does it not try to re-establish connection while the screen is off? The funny thing is that I have no idea when it drops connection. The logging has no time stamp that I could track down events.
I believe sincerely that there's still some bugs to be rid of
Try enabling N standard, since i enabled it the wifi stays connected, for now.
i had the same problem.. U just have to use nAa or Alfs for cm7 kernel and rom which works with these kernels and no problems anymore

[Q]Suddenly losing WIFI connection when phone is idle

Hello.
I am using my I9000 for a good while now and i am running cm11-20150901-SNAPSHOT-XNG3CAO3G0-galaxysmtd. Everything was running fine so far, but suddenly for some days now, the WIFI connection somehow gets lost when it's idle.
When this happens (and i don't know on what timeframe it does) and i activate the phone (pressing the home button) the WIFI symbol is either shown and then disappears or is already gone - but then after some seconds comes back and WIFI is on again.
Yes, i do have the setting for standby WIFI on always, so this should not happen.
Does anyone have an idea what could be the problem here?
Also i do have a fritz.box 7390 which supports a 5GHZ network - does the I9000 support a 5GHZ wifi? Maybe it's the router that's causing the issue an switching to the 5GHZ might fix it - but so far i could not see the network when it's on 5GHZ.. So i guess it's not supported but thought i might ask anyways...
Thanks!

Categories

Resources