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

Advertisements

12 thoughts on “Android WIFI Problem – Obtaining Address…

  1. 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.

    1. Ows, Want to know couple of things:
      1. Is your wireless router and your broadband modem in one single unit? If so what is the IP address, is it 192.168.1.1?
      2. Having you given a static IP in your desire?
      3. Do you get this problem when your laptop and your desire are connected at the same time?
      4. Do you get this problem if Desire is the only client to your router?

      The most likely reason is the IP conflict, try connecting to some other routers and see if you get the same problem.

      With the answers to the above, let me see if I can help you out…

  2. 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.

  3. 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.

  4. 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.

    1. Yes, but it wouldn’t solve my problem. In that case there are chances that the router and the device gets the same address. Read my last para to understand what was the exact problem I faced.

    2. Check to see if its got an Ethernet port as well then you will be able to use it directly lkeind to the modem box until you can buy a wireless router.If your not to sure ask in the shop or whomever your buying it from.Hope that helpsVA:F [1.9.12_1141](from 0 votes)

  5. 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.

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