Nexus 4 Wifi Connection Issue - Nexus 4 Q&A, Help & Troubleshooting

Just got the phone today (upgraded from a Sensation 4G).
This phone connects to my home WIFI fine.....and then once it sleeps for around 10 minutes and I wake it up, the wifi connection is gray (instead of blue) and I cannot access anything on the internet. I have to disable WIFI on the phone and re-enable it and it's fully functional again.
What's going on? Fully stock, 4.2.2
I do notice the IP it's pulling is a 172.27.35.x.....whereas my network is configured as 192.168.0.x
What's going on here???

cybertlc said:
Just got the phone today (upgraded from a Sensation 4G).
This phone connects to my home WIFI fine.....and then once it sleeps for around 10 minutes and I wake it up, the wifi connection is gray (instead of blue) and I cannot access anything on the internet. I have to disable WIFI on the phone and re-enable it and it's fully functional again.
What's going on? Fully stock, 4.2.2
I do notice the IP it's pulling is a 172.27.35.x.....whereas my network is configured as 192.168.0.x
What's going on here???
Click to expand...
Click to collapse
When I manually enter in my network settings (rather than DHCP) and set it as a 192.168.0.x value......everything is fine.
What's going on where it's pulling these 172 values? Never had an issue like this. Thanks!!!

Have you unlocked the Developer Options yet? If not, goto Settings -> About Phone then tap build number 10 times to unlock. Enable "Stay Awake" in the Developer Options and connect your phone via your PC. Observe your wifi connection and get back to me
EDIT: How complicated is your home network? Are you using your router as a straight forward access point?

BluDRed said:
Have you unlocked the Developer Options yet? If not, goto Settings -> About Phone then tap build number 10 times to unlock. Enable "Stay Awake" in the Developer Options and connect your phone via your PC. Observe your wifi connection and get back to me
EDIT: How complicated is your home network? Are you using your router as a straight forward access point?
Click to expand...
Click to collapse
Running DDWRT.....very straightforward. Nothing complicated. I have Kindle Fire HD's......HTPCs.....etc running without an issue. All DHCP. This Nexus 4 is the only thing that has ever had issues.
The thing that I'm not understanding.......why is it being thrown a 172 IP address unless I turn DHCP off on the phone? Cuz as soon as I set it static (to a 192) it works fine.

Hmm DD-WRT, I'm going to hazard at a guess and say you know what you're doing when it comes to networking so I won't insult your intelligence or anything. But, if you're willing, try playing around with your router's DHCP setup before doing anything else and see how your phone goes by trial and error.
Come to think of it, unless anyone on these forums has experienced this before, trial and error is the best way of understanding. My best guess is the issue resides within the code of 4.2.2 FW. Hypothetically and possibly inadvertantly it has already been debugged for use on a custom rom. Some of the apk's found on the app store may shed some light onto the issue. WIFI Fixer apk may be help
https://play.google.com/store/apps/details?id=org.wahtod.wififixer&hl=en

i too have an issue on my newly bought nexus 4, every device connected to our router except the n4 is working fine. tried flashing a kernel and the problem still persists.
Sent from my LG-P500 using xda premium

roi14 said:
i too have an issue on my newly bought nexus 4, every device connected to our router except the n4 is working fine. tried flashing a kernel and the problem still persists.
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Right, so surely it is an issue with the phone, which firmware are you using Roi? If it's 4.2.2, nandroid backup then flash a custom rom of your choice and see what happens with your wifi issue

BluDRed said:
Right, so surely it is an issue with the phone, which firmware are you using Roi? If it's 4.2.2, nandroid backup then flash a custom rom of your choice and see what happens with your wifi issue
Click to expand...
Click to collapse
hey bludred. I have stock, unlocked and rooted 4.2.2 running Franco's r111. I seem to connect to the Wi-Fi but the connection drop still persists.
Sent from my Nexus 4 using xda premium

If you are receiving IP address that's not defined by your router then you are getting it from somewhere else.
Sent from my Nexus 4 using xda premium

roi14 said:
hey bludred. I have stock, unlocked and rooted 4.2.2 running Franco's r111. I seem to connect to the Wi-Fi but the connection drop still persists.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Do you have your "keep wifi on during sleep" setting at always? If you've already eliminated that as the issue, try wiping the delvik cache in CWM. I had a similar problem once when I used CM9.1, wiping delvik cache solved it.
If there's no joy, copy and post up a logcat or consider a custom rom like aokp 4.2.2 build 4 :good:

Related

[Q] Wifi Connectivity Issues

I picked up a NC over the weekend and followed the steps to get CWM on SD and ran manualnooter to root then I installed CM7. everything seemed fine except after connecting to WiFi it never seems to actually connect very long and when it does connect its very slow. The most success I have had is when I connect to my hotspot running on my Inspire 4G. Is there a fix for WiFi or should I just start the process over and format the system, data and cache under mounts and storage. When it works its great but the fact is it does not work a lot more than it does. I have not even successfully opened twitter or facebook but I have gotten my gmail 2 times but the rest of the time it times out loading conversations.
I'm having an issue with recent CM7 nightlies in that redirecting hotspots (hotels, restaurants, trains) don't work anymore. On first access, I used to get the "Don't misbehave" click-through, but now I don't get anything, just the "web page is unavailable".
Anybody else seeing this?
Try going into wifi settings and click "never" sleep. Go to wifi settings, hit the menu button then sleep policies and click never. Worked for me.
Sent from my Nexus S using XDA Premium App
chefdave12118 said:
Try going into wifi settings and click "never" sleep. Go to wifi settings, hit the menu button then sleep policies and click never. Worked for me.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
I will give this a shot once I get home this evening, Thanks.
Just a thought, are you connecting to a real router or an adhoc network?? if its to an ad hoc network there is some patches you need to look for
There is a know issue with CM7 stable and nightly builds ( based on 2.6.29 kernel) where using WPA2 AES encryption causes drops. The obvious workaround is to switch to WPA TKIP encryption if possible. The bug is said to be fixed in the CM7 beta 3.1 with the 2.6.32 kernel.

[Q] HELP!!! N7 3G wifi tether IP address conflict HELP!!!

So, I'm deployed right now and I got the N7 3G specifically so I could tether to my computer and phone. After getting the device and realizing that it did not have native tether I rooted it and flashed it with the image(?) I found here.
http://forum.xda-developers.com/showthread.php?t=1995737
Everything went smoothly and I thought I was good 2 go. When I attempt to log on with my devices I get a IP address conflict. My computer (WIN7) is smart enough to manually assign itself an IP and connect to the internet but nothing else will. It's driving me nuts. Obviously, I can only imagine that it is something to do with the DHCP. I would have posed this question on that thread but based on not having posted before I did not have the permissions. Thank anyone ahead of time for any help.
Still no luck. I've reapplied everything multiple times and nothing. I've also flashed the monoco(?) rom hoping that their tether would work but nothing. Only thing I haven't done is factory restore and start from scratch. This is really sucking. I'm looking for any suggestions. I'm sure 90% are more experienced then I am with this. I have absolutely no programing knowledge.
Sent from my Nexus 7 using xda app-developers app
Hmmm. Yea its DHCP from your Nexus handing out IPs. I'm not sure what your DHCP RANGE is but it should be a pool of about 10 IPs. If your Range is only set to 1, then it will only hand out one.
Oddly there aren't any options on my Galaxy Nexus (I don't have a 3G N7).
What I would do is take your other devices and tap and hold on your tethered WiFi network and select forget. Disconnect everything completely and forget all settings. Change your WiFi Tethered name.
Try to connect one at a time before moving to the next. The devices keep the connection settings in memory and will try to use the old IP address they used before.
This could also be a bug with the tether section also. Most roms share the same development features.
Sent from my Nexus 7 using XDA Premium HD app
No luck
Sent from my Nexus 7 using xda app-developers app

WiFi problems (4.2.1)

OK this is really pissing me off. Everyone time I go on my nexus device it doesn't automatically connect to the WiFi.. I have to either disable the WiFi and reenable it. Or just click on my network and click connect (it says its saved but doesn't automatically connect when I turn on my device), i tried everything from forgetting every saved network, restarting me device, ect, and its not my routers problem, my DNA connects automatically when I turn it on. Any of you guys had this problem? If so what did you do to fix it?
Sent from my Nexus 7 using xda app-developers app
what router? My nexus 7 is fine and so is my sgs1.
No idea what router I have but that's not the problem, problem is that when I turn on my nexus and get passed the lockscreen, the WiFi would normaly automatically connect. It for some reason stopped doing that and it gets really annoying manually connecting
Sent from my Nexus 7 using xda app-developers app
kernel
PhantomsWay said:
No idea what router I have but that's not the problem, problem is that when I turn on my nexus and get passed the lockscreen, the WiFi would normaly automatically connect. It for some reason stopped doing that and it gets really annoying manually connecting
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
try to change your kernel. the wifi drivers are in the kernel...
Running stock, never changed my ROM or kernel
Sent from my Nexus 7 using xda app-developers app
You could try a different channel on your router
Sent from my Nexus 7 using xda premium
PhantomsWay said:
OK this is really pissing me off. Everyone time I go on my nexus device it doesn't automatically connect to the WiFi.. I have to either disable the WiFi and reenable it. Or just click on my network and click connect (it says its saved but doesn't automatically connect when I turn on my device), i tried everything from forgetting every saved network, restarting me device, ect, and its not my routers problem, my DNA connects automatically when I turn it on. Any of you guys had this problem? If so what did you do to fix it?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Hi,
I share the same problem. Upon a reboot, it will work normally for a while.
Once they symptoms starts, it will refuse to connect most of the time. When it does connect, it will disconnect within a couple of minutes. WPS wont respond either. toggle wifi/airplane mode does not work either.
The only way is to reboot.
However, I did have some findings but couldnt get it fixed! Do this and test if it works for you as well:
Go to terminal (needs to be rooted device):
Simply select the "Take wifilock/B]" option and it will stay connected!
Release it and it will get disconnected and back to the same issue.
Hopefully some experts can give us some pointers?
Temporary fix
I have the same problem. This is what i did to fix it: Settings- Wifi settings- advanced- switch always on to Never, reboot in recovery, clear cache, reboot your device and go back and turn Wifi back to Always on. this is a temporary fix because if you reboot or shutdown your device, you will need to redo the steps. this is a known problem with google's 4.2 jellybean. we need an update soon!
hope it helps you.
Thanks for your help
Sent from my Nexus 7 using xda app-developers app
It won't be much comfort to you, but remember that "it takes two to tango".
Yeah, there's IEEE standards for all of this stuff. Do interop problems still happen? All the frigging time, every day. Sure it is maddening.
And sometimes the problems only manifest themselves with an exact pair of firmware(s) releases between the AP and the client device. I had a WiFi router that would gladly talk to four or five unique types of devices; on the sixth - an Android phone - it would associate & authenticate successfully, but the client device would never get an IP address.
That sure sounds like a problem with the phone, doesn't it?
How did I fix the problem? I upgraded the firmware ... on the router !
Sometimes problems with intermittent connections can be rectified by fooling with things that you might think have no bearing on the problem. For instance, some routers will accept connections in A/B/G/N mode. Do you need all of those? If not, simplify your router's behaviors by disabling non-essential features, e.g. select G-only or N-only.
That's just an example - but the point is that the fewer behaviors either of the devices engage in, the lower the probability that the bug which is shared between them will get expressed.
So, you can either fool around with both devices, only one of them - changing one setting at a time to see if that alters the behavior you observe, or you can throw one device away and start all over with new combinations of devices. The router probably has more knobs which can be turned than the phone does (unless it's not your router, or you don't control it).
Good luck

wifi acts strange on every aokp rom

as the title says, my wifi acts weird on both AOKP roms that i've tried (stephen spear's AOKP pub, and the official AOKP mr1 build 2). wifi will stay connected, but the internet will just drop. i could be in the middle of downloading something and it will just stop downloading and i'll lose internet connection even though i'll still be connected to the wifi network. i can't recall if it did this on stock 4.2.1, but it's definitely done it on stephen spear's AOKP pub build and the official AOKP mr1 build 2. i even tried franco's latest kernel and it still does it.
does this happen to anyone else, where it stays connected to the network but loses internet connectivity?
Massive 4.2 problem. There's a Google bug report thread with about 1, 000, 000 people moaning.
Reboot is only thing that works for me.
http://code.google.com/p/android/issues/detail?id=40065
Sent from my Nexus 7 using Tapatalk HD
This happens to me on one public Wi-Fi router I use. What I see is that android does not handle long breaks in data transmission caused by congestion, network delays, etc. Of course I see it the most on big downloads. The download will stall and will not resume even though other apps can access online content. This happens with this access point across multiple devices I have.
Sent from my N7 using XDA Premium
Dirty AOKP 3.3 & m-kernel+ a33
debully said:
Massive 4.2 problem. There's a Google bug report thread with about 1, 000, 000 people moaning.
Reboot is only thing that works for me.
http://code.google.com/p/android/issues/detail?id=40065
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
well shoot, guess i'll have to read some more on 4.2 problems! that makes sense then, i've only used 4.2 on my n7 and the problem only exists on my n7 since my two sgs3's have 4.1.2. thanks for replies guys, i'm glad to know i'm not the only person that experiences this!
I hope this information I posted will be useful:
http://code.google.com/p/android/issues/detail?id=40065#c737
I have a N7 32G and an ASUS RT-N66U and had been having disconnection of my Wifi during use. Sometimes, turning on and off Wifi works but at spots in my house that's a bit further from the router, it will not connect. A few weeks back, rebooting my router helped for a few days and same problem occurred again. Then I tried static IP, and that helped for a few days. The latest test I did was to increase the "Network Key Rotation Interval" on the N66U from the default of 3600 to 7200. Crossing my fingers and hoping that this will finally solve my disconnection problem. My Wifi is set to 2.4GHz band, Wpa2-personal AES.
Sent from my Nexus 7 using Tapatalk HD
Temporary fix:
I have the same problem and the temporary fix is wifi advanced settings - advanced - and turn wifi "always on" to "nerver", reboot your device in recovery and clear cache , reboot and go back to advanced on wifi and switch back to always on. It will work fine untill you shut down or reboot your device, in that case you'll have to repeat the steps.
Hope it helps. We should see an update from Google soon.
Ricardin said:
Temporary fix:
I have the same problem and the temporary fix is wifi advanced settings - advanced - and turn wifi "always on" to "nerver", reboot your device in recovery and clear cache , reboot and go back to advanced on wifi and switch back to always on. It will work fine untill you shut down or reboot your device, in that case you'll have to repeat the steps.
Hope it helps. We should see an update from Google soon.
Click to expand...
Click to collapse
Well what seems to work for me is switching off Bluetooth.
Sent from my Nexus 7 using Tapatalk HD

[Q] Wifi won't stay connected.

Is anyone else having issues with Wifi not staying connected? For example, it'll keep dropping out from my router every 3 minutes or so. When it drops out, the 3G will enable for a few seconds but then it will connect back to the router.
Is anyone else having this issue? What did you do to fix it?
Cheers
Are you rooted? Have you done any mods? Perhaps you should check the advanced settings in the WiFi option
Sent from my GT-I9505 using xda premium
Hi,
No I'm not rooted. No mods at all. 100% stock firmware. I have checked the Advanced Wifi options but can't see anything wrong.
Just to mention, I did at first think it might have been a fault with the phone so I got the phone swapped out with another brand new device however the problem still persists.
I have a similar problem on a i9505 running the latest CM 10.2 nightly.
Some 2.4GHz networks are fine, others behave as you describe.
The one 5GHz network to which I have access has recently started to misbehave; the phone connects properly and works for about 2 minutes, after which I lose all connectivity (I can't even ping the router) yet the wifi indicator remains blue. Turning wifi off and on again gives me another 2 minutes. This goes on until I give up and switch to 2.4GHz.
Of course, I have no idea what is causing this. I've tried various channels on the router, as well as rebooting it.
Does this happen to all routers (I assume you use other routers somewhere else), or it just happen to this router only? Is this case, you may want to check the router itself.
Sent from my GT-I9500 using xda app-developers app
Frequent disconnections occur on all 2.4GHz networks. As for the 5GHz, I've only got access to one router on which to test it.
Sent from my GT-I9505 using Tapatalk
I've only tested it on my router.
As I say, I thought the phone was faulty so I swapped it out but the one I swapped it out with had the exact same issue.
cined said:
Is anyone else having issues with Wifi not staying connected? For example, it'll keep dropping out from my router every 3 minutes or so. When it drops out, the 3G will enable for a few seconds but then it will connect back to the router.
Is anyone else having this issue? What did you do to fix it?
Cheers
Click to expand...
Click to collapse
I had this problem and solve it...
just dial this: *#0011#
and then press menu and choose wifi and change WIFI Power Save Mode to: OFF
notice that every time you reboot device it is back to ON
ace_of_spades021 said:
I had this problem and solve it...
just dial this: *#0011#
and then press menu and choose wifi and change WIFI Power Save Mode to: OFF
notice that every time you reboot device it is back to ON
Click to expand...
Click to collapse
A couple of things concern me about this method though. Do we know what setting that mode to OFF actually does? I've heard reports that the phone gets quite hot and battery drains.
cined said:
A couple of things concern me about this method though. Do we know what setting that mode to OFF actually does? I've heard reports that the phone gets quite hot and battery drains.
Click to expand...
Click to collapse
ok you are right... so I upgrade my modem's firmware and now every thing is good and wifi stay connected :highfive:
ace_of_spades021 said:
ok you are right... so I upgrade my modem's firmware and now every thing is good and wifi stay connected :highfive:
Click to expand...
Click to collapse
Well I've tried 2 different routers now and 2 different Mini s4's and it's still disconnecting. What router do you have?
cined said:
Well I've tried 2 different routers now and 2 different Mini s4's and it's still disconnecting. What router do you have?
Click to expand...
Click to collapse
zyxel p-660HW-T1 v3
my firmware: V3.70(BYD.6)D0_20121108 | 11/08/2012
Sent from my GT-I9505 using Tapatalk
Well I got my phone swapped out (3rd one now) and I'll see how it goes.
Ni !^^ what us Your Android version ans MoDem actually? If you have that it s probable due to that i think..
Or maybe Your are a doesntt support Very well Your fréquences for match Your mobile?
Have you try to make a Fullwipe? For put tint everything restant as when you have buy it?
You will be on a custom rom with ni mldem update i dont say but chère..
WiFi still disconnecting even on 3rd device...
Wiping /system and flashing a newer nightly fixed the 2.4 GHz problem, but 5GHz is still dodgy. It's not the (Netgear) router as I have a couple of other Cyanogenmod devices which operate without any problem.
Perhaps I should start another thread as this may well be something different from what is affecting the op's device.

Categories

Resources