Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

WiFi has worked without issue before on this exact same hotspot, and it is currently working for other devices so I'm assuming the error is in the phone (edit: also tried another hotspot, wifi is definitely dead), but after enabling encryption on my device it gets stuck in a loop. It detects the actual network, but it goes like this:

Saved with X authentication... Authenticating... Obtaining IP address...  (Repeat)

I also tried deleting the network and adding it again without success, thinking it had something to do with the cached WPA key. Is there anything I can do to troubleshoot before I just wipe and reinstall? Is this some kind of known issue?

edit: "Solution" Re-locked and unlocked bootloader, flashed recovery via Galaxy Nexus Toolkit and pushed a new AOKP via ADB, installed it and everything is working fine now. No idea what caused it but I'm pretty sure the full device encryption screwed something up. However, since CWM doesn't even support full device encryption, it feels like a bug relating to it is kind of low priority since people shouldn't encrypt their devices with customs ROMs anyway and expect a smooth ride. Thanks.

share|improve this question
2  
Try to connect your device with ADB and have a look at the adb logcat for error messages. You don't need to install the entire SDK for this: The ADB Guide on AndroidForums contains a "MiniSDK" (Linux, Mac, Windows versions) to download which should be fully sufficient for this. Report back then with conrete error messages. –  Izzy Jan 31 '13 at 12:55
    
I found something interesting, not sure what else to look for as I don't feel like posting all of the 9k+ lines I got would make sense, also there's some personal info in there. Anyway, I found this: E/DhcpStateMachine( 1029): DHCP failed on wlan0: Timed out waiting for dhcpcd to start –  bigbadonk420 Jan 31 '13 at 16:49
    
Here's some more from the logs, tried to clean it up as well as I could: pastebin.com/LL9vFhL0 –  bigbadonk420 Jan 31 '13 at 16:53
    
That looks like your router does not want to talk to your device. Might be a MAC filter. Try looking up your device's MAC address, and check whether this is permitted to connect to your WiFi (who knows, maybe encryption also encrypted your MAC address ;) –  Izzy Jan 31 '13 at 16:54
    
@Izzy it most definitely is not, exactly the same on two separate hotspots that have previously worked. I think the DHCP negotiation is timing out extremely fast for some reason. Oh well, time to wipe I guess. –  bigbadonk420 Jan 31 '13 at 16:55

1 Answer 1

Might be some interoperability issue with particular hotspot.If it is a DHCP time out you can try assigning a manual ip address to the particular network. Or if It is rooted device you can try below command inside adb shell.

dhcpcd wlan0 
share|improve this answer
    
It's not related to the particular hotspot, read my post again. –  bigbadonk420 Feb 2 '13 at 10:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.