PROBLEM: Obtaining ip address loop - HTC Desire S

Hello,
I have been experiencing this problem for a couple of days now, and it's driving me crazy. I tried all i could find on the internet (resetting the phone, the router, wiping cache, using static ips, deleting files in \data\misc\wifi\dhcp...), but when i try to connect to my wlan all is stuck in this "obtaining ip address" loop. The weird thing is that this never happened before, and involves all android phones at my house now, but not my windows 7 pc. Im on the latest vipersaga rom, and we have other phones, running jb. What could i do? is anyone experiencing this?
Thanks for helping

Quick and easy fix is to assign your devices static IP addresses on your router.
Is the router running WEP encryption? If so change it to WPA2.

SimonTS said:
Quick and easy fix is to assign your devices static IP addresses on your router.
Is the router running WEP encryption? If so change it to WPA2.
Click to expand...
Click to collapse
thanks, i solved it easily assignin the ip directly on the phone, i had had problems doing that just on my router. I had already WPA2 anyway

Related

Fuze and home Wi-Fi

I'm having a technical problem with my home Wi-Fi router, and my Fuze. I just recently set up a wireless network at home, and have my PC connected to the router through Wi-Fi. Whenever I attempt to connect my Fuze to the router, the Fuze hijacks the connection, and disconnects my PC from the network. I have tried to contact the tech support for the router, but nothing they suggest seems to work. Has anyone else experienced this? Is there something I am missing in the router configuration? Any help would be greatly appreciated.
htcfan78 said:
I'm having a technical problem with my home Wi-Fi router, and my Fuze. I just recently set up a wireless network at home, and have my PC connected to the router through Wi-Fi. Whenever I attempt to connect my Fuze to the router, the Fuze hijacks the connection, and disconnects my PC from the network. I have tried to contact the tech support for the router, but nothing they suggest seems to work. Has anyone else experienced this? Is there something I am missing in the router configuration? Any help would be greatly appreciated.
Click to expand...
Click to collapse
i've used my fuze on multiple routers and it doesnt do this. Get a new router
If you give static ip on both pc and ppc check if you gave the same ip. If not, check the dhcp range on your router.
nhshah7 said:
i've used my fuze on multiple routers and it doesnt do this. Get a new router
Click to expand...
Click to collapse
Maybe I should not have said "any help would be greatly appreciated". It is a new router.
htcfan78 said:
Maybe I should not have said "any help would be greatly appreciated". It is a new router.
Click to expand...
Click to collapse
And who makes this new router?
NotATreoFan said:
And who makes this new router?
Click to expand...
Click to collapse
It is a Linksys RangePlus WRT110 router.
htcfan78 said:
It is a Linksys RangePlus WRT110 router.
Click to expand...
Click to collapse
First thing I would try is updating the firmware, and doing a factory restore.
If that doesn't work, try changing the router to force 54g connections only. It's possible, but unlikely, that the Draft-N spec used by the router doesn't play nicely with the WLAN chipset in the Touch Pro.
jigero said:
If you give static ip on both pc and ppc check if you gave the same ip. If not, check the dhcp range on your router.
Click to expand...
Click to collapse
agreed, i would try this first. makes sense that if they both have the same ip that that is the cause of your problem. if you're set to assign dynamic ip's on connecting to the router, then i'd try upgrading the firmware. good thing to check first
Still having problems with this issue. Tried everything suggested so far.
Make sure the IP's are not conflicting and the dhcp range is at least 10 addresses.
It could also be a neighbor screwing around, make sure you encrypt your wifi with wpa or wpa2 or anyone in range can use your wifi.
When I first read your problem I thought it was an IP conflict with both devices like some others have said....but if you've checked everything and tried all possible solutions posted in this thread I think it might be pretty safe to assume that you need a new router. If its new, just bring it back and exchange it for a different one.
I'm using a D-Link DIR-655P and have connection types (B, G, N) on auto, dynamic IP address assignment set, and I have the latest firmware installed and I have no issues whatsoever...I have a quick lock and fast speeds.
I've got a few questions, because to me this sounds like a possible issue with your network adapter on your PC, rather than a DHCP "hijack" issue.
What is the ip on your PC after it gets "hijacked"?
Do you use sleep/hibernate modes on your PC?
Have you turned off Windows Firewall or any other security/virus/malware software on the PC?
This router is new, did this setup work with a previous router?
What security protocol are you using for wireless connections, WEP, WPA, WPA2, or none?
-----------------
Hope you can figure it out, that's gotta be a real PITA.
Got it fixed. Did some more research, and found that the firmware updates do not work with Firefox, so I used IE to do the update, and it works fine. For anyone else that uses or is planning to use this router, check the firmware. The firmware version that mine came with (1.0.4 build 10) does not work with multiple versions of Windows (ie: cannot have a computer with Win XP and another with Win Vista connected at the same time). Thanks for the help.
Ahhh...well there you go. Glad its fixed.

Wi-fi bug?

I had issues today connecting the Inspire to my home Wi-fi.
Initially I had my Wi-fi setup to not broadcast the SID. When I add the network to the phone it is listed as "Not in Range".
As soon as I change the router to broadcast the SID, the phone connects as expected.
Anyone have any insights? Anyone able to confirm?
--wookiefoot
I also hide my SID on my router and my Inspire connects just fine.
Try rebooting your router? I had an issue the other week where my Captivate wouldn't get an IP address from my router, but I just rebooted the router and it worked fine after that. I figured it was just a glitch.
i just cant connect. says obtaining ip address
iPrevailed YDG said:
i just cant connect. says obtaining ip address
Click to expand...
Click to collapse
Did you try rebooting your router?
chocodough said:
Did you try rebooting your router?
Click to expand...
Click to collapse
nah but ill try it
Make sure the IP its trying to connect to isn't in use by another device.
Wifi settings on my end, WPA2-PSK security type
Connected to the 802.11n router fine.
chocodough said:
I also hide my SID on my router and my Inspire connects just fine.
Try rebooting your router? I had an issue the other week where my Captivate wouldn't get an IP address from my router, but I just rebooted the router and it worked fine after that. I figured it was just a glitch.
Click to expand...
Click to collapse
I'll give the router reboot a try. Seems odd that I can toggle SID visibility on/off and watch the phone disconnect and connect based on that.
My temp fix was to leave SID visible then lock down MAC filtering. Not very convenient when new devices need to connect though.
Will update with results in a bit.
Sounds more like a DHCP issue rather than a SID issue. Check your DHCP settings. That is where it gets the IP address from. You could also give it a static IP or create a reservation for it so it forces the IP. Good luck.
kimtyson said:
Sounds more like a DHCP issue rather than a SID issue. Check your DHCP settings. That is where it gets the IP address from. You could also give it a static IP or create a reservation for it so it forces the IP. Good luck.
Click to expand...
Click to collapse
Setup DHCP Reservation for the phone. Still no luck. As soon as I switch the visibility of the SID, the phone disconnects and lists the network as "Not in Range".
Not doing anything special with security:
Mode: WPA-Personal
WPA Mode: Auto (WPA or WPA2)
Cipher Type: TKIP and AES
FYI - router reboot didn't resolve the issue either. (Model: D-link 655)
Any other thoughts?

Two HTC Desires on 1 router?

Hey, im having trouble connecting my htc desire to my home router, im almost 100% certain its because my roommates desire has the same MAC address as mine, meaning the router blocks one. So i tried changing my MAC address using the "ip link set eth0 address XX:XX:XX:XX:XX:XX method on terminal, but after i change it (i checked, it does change), the router wont even connect to my phone, and it gets stuck on "applying ip address". Also when i turn wifi off on my phone, it changes the MAC address back to the original.
I have looked around a lot and foubd no solution, so please help would be very much appreciated
MAC addresses are unique, so there would have been no need to change it! I'd say leave it reset back to what it was for now.
Have you tried restarting both phone and router? Maybe the router is set to only allow certain MAC addresses. You'll need to add your MAC address to the router in that case. What router is it?
NeitherJohn said:
MAC addresses are unique, so there would have been no need to change it! I'd say leave it reset back to what it was for now.
Have you tried restarting both phone and router? Maybe the router is set to only allow certain MAC addresses. You'll need to add your MAC address to the router in that case. What router is it?
Click to expand...
Click to collapse
Its a BT 2wire router, i have tried all kinds of stuff like resetting both to factory conditions etc. Iv never tried adding the mac address to the router, though that sounds like it could work.
I thought mac adresses were unique too, but ours say they are the same in hardware information on the phones settings.
How do i add the MAC address to the router?

[Q] Wifi on my Sensation works fine everywhere except im home!

While everywhere I go I can get a wifi internet connection, when I try at home I connect to wifi but I cannot get any data connection! My router is fine because all my friends use it to connect on the net with their phones.
Any ideas anybody?
A possibility
There are some cases where the router is not compatible wit Android devices and allows them to connect properly onto the wifi network, but not getting the proper IP, subnet and so on. Have you tried to manually enter these details into the phone and try out if there will be any Internet access afterwards or not.
In some other cases, maybe the DHCP pool is empty so it can not provide you with an IP, where manually entering the IP details should again help. But I think this is very rare case. About the first case though, I met some issues with the routers and the Android devices.
Hope this will solve the prob..
Have a lovely day!
Did you try rebooting your router? This happend to me sometimes too, my laptop can connect just fine but not my phone & a router reset always fixes it.
I have tried to manually enter the IP address, subnet and so on into the phone but still I cannot get an internet connection! I have also rebooted my linksys rooter but still nothing!
Log into your router and change the output channel. Sometimes if the router is putting out on a high channel say 13 for example this can cause some devices to not be able to communicate with it. So try changing it to a low number say 3. This should solve the problem.
kabuk1 said:
Did you try rebooting your router? This happend to me sometimes too, my laptop can connect just fine but not my phone & a router reset always fixes it.
Click to expand...
Click to collapse
This is more than likely because your router is set up to automatically switch to the channel that is the least congested, again if this is a high channel this can cause problems for some devices. What you are doing when you turn it off and on again is resetting the channel. I recommend you also manually select the channel by logging into you router and changing the settings.
I changed manually the router number several times but still no connection!
This issue is due to WIFI encryption. Try WEP or WPA encryption. I was facing the same issue. When i changed the encryption to WPA I am able to access the net.
uttamhoode said:
This issue is due to WIFI encryption. Try WEP or WPA encryption. I was facing the same issue. When i changed the encryption to WPA I am able to access the net.
Click to expand...
Click to collapse
Yes, it might be encryption, might be the channel selection as well as previously stated.
The thing with the channels is not only if they are on higher or lower, but they are just a little hops on the frequency side so for example if some other device is working on the same or close to yours channel, it might interfere and give you disconnections from the wifi, slower speed, no connection at all etc. etc.. So in some case the channel selection (changing the wifi channel) may do the trick. Unfortunately in your case as I can understand this is not true.
About the encryption, there is also one more thing as a security and that is not allowing the devices automatically, but with it's MAC addresses.
I would recommend just for testing purposes to try and disable all the security and check out the connection that way.
What sort of IP details did you entered on the phone? I mean - I was thinking of entering an IP different from the pool, subnet usually 255.255.255.0 (depends) and the Default Gateway to be the router's IP. Then for the DNS if you can try with the OpenDNS and one from Google.
And if you would like to share some info if there are any other devices connecting with the wifi at the premises and how they are working.
Hopefully you will resolve the issue, soon!
Have a lovely day!
bump
having same issues ever since I flashed latest insertcoin ROM
I tried the 2.3.5 ROM and was having issues connecting to wifi, so I went to the 2.3.4 SSE, but wifi issues did not clear up. It hangs on obtaining IP.
This happens for all settings, static and dynamic, router reset did not help, modifying channels did nothing, neither did changing encryption settings. The wifi connection works for every other device in our home, including a stock Sensation.
Thanks in advance for any help. Since I'm a noob on forums I can't post to the dev section about this.
syuusuke said:
bump
having same issues ever since I flashed latest insertcoin ROM
I tried the 2.3.5 ROM and was having issues connecting to wifi, so I went to the 2.3.4 SSE, but wifi issues did not clear up. It hangs on obtaining IP.
This happens for all settings, static and dynamic, router reset did not help, modifying channels did nothing, neither did changing encryption settings. The wifi connection works for every other device in our home, including a stock Sensation.
Thanks in advance for any help. Since I'm a noob on forums I can't post to the dev section about this.
Click to expand...
Click to collapse
Hi, since the stock sensation is working properly, why don't you flash the relevant stock rom and see if that works, seems like all else failed

[Q] Wifi Problems

Hey guys/gals, I have a problem with setting up the wifi on the tab 7.0 plus.
It sees my SSID - I enter in the password, it says obtaining IP - but is stays there never actually giving me an IP from my router. I get signal strength, etc. but I cant access the net.
So i decided to try to set a static IP, but that did not work either (but not sure I did this entirely correctly, so ...)
Any solutions? Whats the problem? it can be that hard....
Shftup said:
Hey guys/gals, I have a problem with setting up the wifi on the tab 7.0 plus.
It sees my SSID - I enter in the password, it says obtaining IP - but is stays there never actually giving me an IP from my router.
Any solutions? Whats the problem? it can be that hard....
Click to expand...
Click to collapse
The likely problem is that DHCP isn't running on your network (or isn't working.) DHCP is something that usually will run on your router and assigns IP numbers to devices that connect to it. It's also possible that DHCP is working fine, but you have MAC Address filtering enabled on your router (which basically limits which devices can attach to your network.)
Finally, it might simply be a router incompatibility (though I haven't seen that very often.)
As to how to resolve those things... I can't answer that... I don't have the same router you do (unless you just so happen to have a linksys E4200), so can't walk you through reconfiguring it.
Good luck
Gary
Had the same problem at the beginning when I unboxed my Tab for several times. After few resettings my router an Tab it finally started to work and since that moment couple of days without any issue. So don't know where was the problem..:-(
I also had DHCP issues upon unboxing the tablet. When it first powered up and tried to connect to my D-Link router, my Wi-Fi would go offline. All of my other connected devices would also go offline. After pondering this bizarre behavior for a few moments I decided to turn off the tablets wifi. The router and other devices magically came back online and connected.
After repeating this several times just to make sure I wasn't seeing things I assigned a static IP to the tablet. Everything worked fine after that.
What I think was happening there was that the tablet was trying to grab the router's IP address and that was knocking everything offline. This is just a guess though. Maybe someone with more network saavy than me has some thoughts?
thanks i will try these tonite and reply back.
My Tab is rooted, but I dont believe that matters, correct?
Yes it shouldn't matters...
So i played around, couldnt get DCHP to work for an IP. So i went back to creating a static IP - i missed 1 digit on DNS1 the first time which is why it didnt work last night. Once the static ip was up - boom.....magic. I called samsung support, they indicated that this is a know issue with some home routers (mine is a 2wire) and that a static IP is the solution.
thanks for all the tips above, much appreciated.

Categories

Resources