Android WIFI Problem – Obtaining Address…


Ever since I changed my broadband modem, I have been facing issues with my HTC Wildfire connecting to my WIFI router. Every time it connects to my WIFI, it gives a message “Obtaining address..” and its stuck with this message for sometime. Having just a fair knowledge on networking, it took me some steps to reach to a solution. And here it is…

For some of you it may work by simply restarting your WIFI or by restarting your Android device. If it doesn’t, read on to find out if your problem is similar to mine.

Before I jump into the solution, it is important that you understand my network and my devices. My internet broadband modem and WIFI router are two different entities – meaning my modem does not support WIFI routing, so I had to have a WIFI router separately.

  1. Modem – Binatone DT815 ADSL2+ router (supplied by Airtel India)
  2. WIFI Router – Netgear WGR614
  3. From here on for better understanding I will use the term “Modem” to represent my broadband device and “WIFI Router” to represent my WIFI device. Since both the devices are capable of DHCP, I had to disable one to avoid conflicts. I wanted the default gateway to be the modem’s, so I enabled DHCP only on my modem and disabled the other. Modem detects the WIFI router as just another device in its network and not as a router.

    My IP addresses are configured like this:
  1. Modem – 192.168.1.1
  2. WIFI Router – 192.168.1.2 (Set from router’s LAN Settings)
  3. Other devices which connect, get IPs assigned by the Modem with default gateway as 192.168.1.1

Whenever I tried connecting my android device to WIFI, it gets stuck at “Obtaining address..”. I knew the problem lies in address resolution, so it was either my device not accepting the IP issued or the modem not recognizing the android.

I logged into Modem’s configuration and checked the LAN Connection pool summary(this setting displays the connected devices and its MAC addresses). To my surprise I found that my android device was issued an IP which was same as my router (192.168.1.2) and thus the conflict.

There were two ways I could resolve this conflict:

  1. Change the WIFI router’s IP (from it’s LAN Settings – by logging into WIFI configuration)
  2. Use a Static IP Address in your android device.
    For some reason point 2 never worked for me; but point 1 did. Hope this helps someone.

Cheers

12 thoughts on “Android WIFI Problem – Obtaining Address…

  1. Good Solution, Nish.

  2. Nish,

    I’m experiencing a problem in a similar vein. My HTC Desire won’t connect to the WiFi while my Laptop is connected to WiFi. I’m at a loss, as the IP addresses for both differ…
    Desire: 192.168.1.3
    Laptop: 192.168.1.4

    (We also have a Wii that uses 192.168.1.2)

    Any ideas whatsoever?

    Much obliged.

  3. Hey Nish,

    1. Yes. A single unit, and the address is as you’ve stated.
    2. Yes. I’ve tried, but it fails to connect.
    3. Yes. Specifically when the two are connected at the same time. The Wii, and my other half’s iPhone pose no problem.
    4. No, not at all.

    I concur with the IP conflict answer, my problem is how to fix it! I haven’t the faintest idea.

  4. Nish, I’ve fixed it.
    I can’t quite believe it, and please tell me if I’ve made things worse by doing so…

    I performed the following:
    Start > Run
    “CMD”
    “ipconfig”

    I then noted that the Connection-specific DNS suffix noted that the IPv4 address was the same as the Desire’s.
    I then opened:
    Control Panel > Network and Sharing
    “Manage Wireless Networks”
    “Adapter Properties”
    I then highlighted Internet Protocol version 4 and clicked Properties.
    I then clicked the “Obtain IP address automatically” radio button

    Lo and behold, everything works beautifully.

    The question is, have I done the right thing?!

    Cheers and New year beers.

  5. Hey Great Job OWS. That’s the perfect solution :)

  6. You can also set the DHCP to assign ips in a specific range,
    i.e. 192.168.1.11 – 192.168.1.254
    That will leave you with 10 ips to assign statically.

  7. I had the same problem as many of you. After hours of changing settings and getting very frustrated, I changed the allowable number of users from 5 to 10 and voila! instant connection.

  8. thank u thank you!!! helped alot man

  9. Can you please tell me how to add the number of users? Please?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s