[Q] Static IP problem - Desire Q&A, Help & Troubleshooting

I'm running MIUI 1.7.1. I've got a static IP, and I'm unable to connect to WIFI in my home. The mobile continually cycles to "Obtaining IP address" and then fails.
I've power-cycled the router, tried setting the WIFI to scan 13 and 14 channels, etc. If I don't set the Static IP, I can connect to the network, but I get no data transfer without it. Changing settings on the router is not an option (my landlord pays for our internet, and he's added the static IP as a security measure).
When I downloaded the latest Cyanogen yesterday, it connected via static IP without hesitation, which leads me to believe it isn't the hardware. But after switching back and forth, now Cyanogen won't connect either.
Here's my current setup:
HTC Desire
MIUI 1.7.1 English
AmonRa Recovery
Kernel: I've used both the MIUI stock and ManU-2.0-GB-HAVS-AXI-128-CFS kernels, both with the same result
Radio: 5.09.05.30_2
HBOOT 0.93.0001 S-ON
Has anyone experienced similar problems?

Also, still with the same setup (but the static IP turned off), I can connect to other WIFI hotspots and achieve data transfer.

Related

2 problems in my new htc desire

I live in India and desire has not been launched officially yet. but i bought it from the grey market. here are a couple issues i am having:-
1. wifi connection in office connects smoothly. but at home it just shows "obtaining ip " and then after a long time it says that it was connected unsuccessfully.I searched and found a "static-ip"soln. i tried to get the details of ip etc. from my laptop my wifi is the "obtain ip address automatically" one. so i went to "details" and copied everything from there to my desire.now it shows that its connected but i cant browse the web still.any help here?
2.Should i update to Froyo 2.2"
these are my phone details:-
Firmware Version -2.1 update1
Baseband Version - 32. 30. 00. 28U_4. 05. 00. 11
Kernel Version- 2. 6. 29-97da29ed
htc-kernel @ and18-2#1
Build No. - 1. 15. 405. 4 CL155070 release-keys
Software No.- 1. 15. 405. 4
Browser Version- Webkit 3.1
can somebody pls help me!!!! or at least tell me which region/country rom i have?
Sounds like your router is not set up properly to allocate an IP to the phone. What security are you using? WEP? WPA? Also make sure your DHCP Server is set up correctly to accept the Desire and allocate the IP address.
No idea which rom you have but personally I'd root it and install a custom 2.2 rom like Neophyte which is very stable, fast and includes fixes for Froyo.
darklord981 said:
wifi connection in office connects smoothly. but at home it just shows "obtaining ip " and then after a long time it says that it was connected unsuccessfully.I searched and found a "static-ip"soln. i tried to get the details of ip etc. from my laptop my wifi is the "obtain ip address automatically" one. so i went to "details" and copied everything from there to my desire.now it shows that its connected but i cant browse the web still.any help here?
Click to expand...
Click to collapse
could you check if you're using MAC filtering and/or hidden SSID on your wifi router at home?

[Q] wifi adhoc "obtaining ip address"

Hi friends
Searched the forum and tried the proposed solutions but nothing helped.
I'm trying connect to addhoc wifi on my desire HD os=2.2
I replaced the wpa_supplicant file with one of those that exists on the forum and
indeed now i see adhoc networks but the connection is not stable - it goes like connecting -> obtaining ip address -> connected -> disconnected
and so on in loop ... i verified that the ip is static and i even put gateway+mask+dns.
when trying to ping the target it even sometimes succeeds!
Tried with several different adhoc targets and tried both wpa_supplicant for ver 0.5 & ver 0.6
Please does someone can help ?
thanks
ezchip said:
Hi friends
Searched the forum and tried the proposed solutions but nothing helped.
I'm trying connect to addhoc wifi on my desire HD os=2.2
I replaced the wpa_supplicant file with one of those that exists on the forum and
indeed now i see adhoc networks but the connection is not stable - it goes like connecting -> obtaining ip address -> connected -> disconnected
and so on in loop ... i verified that the ip is static and i even put gateway+mask+dns.
when trying to ping the target it even sometimes succeeds!
Tried with several different adhoc targets and tried both wpa_supplicant for ver 0.5 & ver 0.6
Please does someone can help ?
thanks
Click to expand...
Click to collapse
My phone is samsung galaxy GT - I 5503. I do too and obtainging IP address...
This question not yet solved
I have the same issue with my sgs2. I get no connection ever, only a constant "Obtaining IP address.."
I'd suggest resetting your router and forgetting the network and trying to reconnect. Also a static IP might work but as for finding any of your provider's info, that's up to you. Unfortunately, XDA doesn't even recognize my network (Sasktel) so I am having a very tough time with this!
most probably firewall problem , i had same problem with hotspot doing exactly as you discribe.
it can also happen by some custom Roms and don't happen with others ( firewall disabled ) .
Also lot of sense Roms have an issue with that exact wifi problem , not like AOSP Roms ,i don't know why
I only had this problem with a network called; 'eduroam', my schools' network. I solved it by recotting & changing the network security TLS/TTLS/EAP or somethinf like that.

AdHoc Support & Internet Pass Through

Ok, I know someone will tell me this thread doesn't belong to the dev section, but it does.
THIS IS NOT ABOUT WIFI TETHERING - READ CAREFULLY!!!
There has been adhoc support in CM 7 for the G1 (Htc Dream) I used to own and it worked just fine with my laptop AdHoc connection.
There seems to be a problem with most AOSP and GB STOCK(ish) roms - including Darky and CM 7.1 Stable. They seem to detect the adhoc network when a modded wpa_supplicant is installed (in Darky it's installable by the Darky App and in CM it is included in the stock rom). When trying to connect there are two scenarios :
1. I don't specify IP address and Gateway and rely on the windows DHCP to assign an address.
What happens in most roms is the phone hangs on waiting for IP address and never connects. In MIUI roms the phone connects instantly, so I guess the issue is rom related.
2. I specify IP address (the laptop is 192.168.231.1, so I choose 192.168.231.2 for the phone, and the laptop IP for DNS and Gateway)
What happens in most roms is the phone just disconnects instantly giving no reason and continues scanning. I've actually managed to connect in some roms (CM 7.1 and Darky) but it happens to be very unstable - the wifi keeps on scanning for new networks and even if the phone is connected, there is no actual internet coming through. [EDIT] I flashed the latest CM Nightly and the connection worked flawlessly.
I have ran some logcats but they don't show significant information on what's actually happening.
My idea is to put some of the MIUI binaries into use, but I don't know which ones, except the wpa_supplicant are responsible for WIFI. Can some of you developers help me and possibly make an All-Types-Of-Roms solution.
[EDIT] The Adhoc Connection seems to beworking in latest CM Nightlies. There seems to be something different in AOSP roms like CM, that makes Adhoc connection work flawlessly. Any idea what is it?

[Q] Android 4.0.1 Alpha 02 WIFI Problem

I just flash the alpha ROM on my arc.
I have used wifi for 2 times. But after that, I can open wifi but cannot connect.It showed Connecting --> obtaining IP address, then back to Connecting--> obtaining IP address. It can't connect to the network.
Can anyone help me?? What can I do ?? Install another zip??
wifi
look here http://forum.xda-developers.com/showthread.php?t=1404407.

LG G4 wont connect to TPLink RE210 range extender

Hi,
as titled , my LG G4 won't connect to my TPLink wifi extender (RE210) while other devices do. It gets stuck in obtaining IP address and gives up...
I have the latest upgrade installed. It used to work before.
Have tried everything, rebooting router, upgrading firmware of extender, deleting wifi paswords on G4, etc.. and no go.
It wont allow me to assign a static IP address either.
Have also tired using Lollipop DHCP client in Developper Options.
I am wondering if it has to do with the latest firmware (V20g)
IT DOES CONNECT HOWEVER DIRECTLY TO THE WIFI ROUTER...
Any ideas? Thanks

Categories

Resources