If you have an android phone that you want to use in a smart way then you need to connect the same to the internet. You can connect your smartphone with the internet by either employing mobile data or Wifi. Usage of Mobile data solely at times is not preferred by the user and therefore connection to Wifi is done. However at times, one is unable to connect their mobile to a Wifi network as it shows the error of Failed to obtain IP Address.
Connection to a Wifi network is done by following the below steps-
- Turning on the WiFi
2. Selecting the preferred Hotspot/Wifi network
3. Entering the password for allowing connection
4. Obtaining IP address message displays
5. Your phone gets connected to the Wifi
Possible reasons for getting Failed to obtain IP Address error:-
If you have been facing the Wifi connection issue then below are certain reasons for the same-
- Wireless interventions
2. Router Bugs
3. Improper wireless security settings
4. Setting issue in MAC address
5. Software problem
How much complicated is the Failed to Obtain IP Address Problem?
The Wifi connection problem is not as complicated as it looks and can be resolved by following the listed methods. Remember that if you are able to connect to Wifi network by using any of the methods then other methods are not to be practised.
Method 1- Removing and then adding the network
This method requires first removing the network by clicking on Forget now and again connecting it. Below are the steps that are employed in this method-
- Click on Settings
- Select the option of “Wifi”
- Press over the network that refuses to connect and click on Wifi Settings icon.
- After click on the Forget network.
- Scan for available networks (if networks are not available)
- Select the network once more and ensure the connection with it by entering the relevant password
Method 2- Activating and deactivating the Airplane mode
This method works most of the time but is a temporary way of resolving the Failed to obtain IP Address issue. The basic science behind this method is that the network is made to reconfigure itself as the mode is initially connected and then disconnected. Below are the steps that are employed in this method-
- Selecting Flight or Airplane mode
- Waiting 15-20 seconds
- Disabling flight mode
- Waiting to see if your Android phone connects to the available Wifi network or not.
Also Read:- Fix App Not Installed Error on Android
Method 3- Rebooting your phone and router
This method can be employed by you if you are trying to connect with your home Wifi network and you are unable to do that. Below are the steps that can be practiced. At first power off for some times, after turn on your Router or if you have reboot button on your router just click it. then still not solve your problem, then connect your PC/Laptop over WiFi, if wifi does not work then connect the router to PC/Laptop using an ethernet cable. This step divide to steps, one is for Windows & another is for Mac.
Also Read:- Fix Error Code 907 In Play Store
- Before proceeding this process you need to find your router IP address. There is so many methods for finding the IP address of the router. 192.168.0.1 that is the default IP address of all Router. But still, you are not able to find so, I tell you all the steps for Windows and Mac.
- At first, connect your router to pc using Ethernet cable or over WiFi.
2. Then go to your windows search box and type “cmd”, open command prompt.
3. In the command prompt, you need to type “ipconfig” command & hit enter. A list of information will show up on your screen.
4. If you connect your router to pc using ethernet cable then find “Ethernet adapter Ethernet” section in there “Default Gateway” line you will see an IP address (192.168.0.1) like that. That is your router IP address. But you do not connect your router to pc using ethernet cable so follow below step.
5. Connect your router to pc using wifi then go to the same area, in there you need to find “Wireless LAN adapter Wi-Fi” also find same “Default Gateway” line you will see an IP address (192.168.0.1) like that. And that is the IP address of your router
- At first, go to your MacBook homepage click on the apple logo on the left corner, a dropdown menu will open in there you need to click on the “System Preferences” and open it.
2. In there you need to find the “Network” tab & open it up.
3. Click on the Ethernet if you connect your MacBook to Router using the ethernet cable. On the Ethernet tab, you will see “Router” IP address like (192.168.0.1) that.
4. Same steps, going to the Network tab, but in this case, you need to Select “WiFi” if you connect your MacBook to Router over WiFi. On that tab click on the “Advanced” option & open it up.
5. On the new tab select “TCP/IP”, in there you will see Router IP address like (192.168.0.1) that. And that is the IP address of your router.
- After getting your router IP address open it up on any browser (Recommended Chrome) and log in with your credentials. If you aren’t able to login please try with default username:- admin/administrator, password:- admin/administrator also written on router backside. Sill not able to login please contact your internet service provider or who set up your router.
- After successful login your router web admin page. There is a different option for different routers. For Old Tp-Link & D-Link routers you need to go “System Tools” on the left side in there click on “Reboot” section after a page will open, on that page finally click on the “Reboot”.
- It will take some times for rebooting your router.
- Higher Version router has Reboot option on different places. Just go to the same router web admin page & see on the right corner you will see “Reboot” Icon.
- click on immediately a popup window will open and click on “Yes” to reboot your router.
- Wait for some times completely rebooting your router. Then try to connect wifi on your Android Phone and see whether getting the Failed to obtain IP Address error.
Method 4- Setting the WPA encryption methods
If you have less or no idea about this method then you can follow the steps mentioned below-
- Look for Wireless security/settings on your router. You will be able to find it under “Wireless”.
- Once when the settings have been located look for the type of encryption that the router is using.
- If the router has been set to AES you need to change it to “TKIP” and vice versa
- Click on the Save button after searching for the same.
- Move back to your phone and move to Settings > Wifi and press over the router’s network.
- Select the option of Forget network and reconnect with the network by entering relevant login credentials.
- Do not forget to Reboot your router and check wifi is connecting or getting same Failed to obtain IP Address error.
Method 5- Switching off MAC filter
This step involves switching off the MAC filter on your router. For this purpose, the first step is to deactivate MAC filtering initially. Here are the steps-
- Log into the Web Interface of the router following the previous method.
- Search for the “Wireless” tab and expand the same.
- You will be able to look at the MAC filter configuration option.
- You need to make sure in this step that the Enable MAC filter is deactivated. If it has been enabled then you need to Disable it.
- Move to your phone and click on settings.
- Select the option of Wifi and long press on the router’s network
- Click on Forget network
- Try to reconnect with the network by entering the relevant password
- If these steps resolve the issue practice the next step
- Move to the security tab of the router, re-enable the MAC filter and examine the same.
If the filter mode has been set to Blacklist and still you are able to the android device then you need to remove the same and hit the save button.
Method 6- Reset your Router
If you try all previous methods then you are getting the same error, so this time to reset your Wifi Router. Because most of cases router default configuration has been changed by mistake. This process will be done by Hardware and Software both methods.
- At first, find which company router you are using. Because some of the routers have a physical reset button & some are hot have.
2. Put your router and see the backside you will see a Reset Hole as sown under the picture.
3. Then take a sim ejector tool (Best) or any kind of pin (Not Recommended) which can fit on the hole as like the below picture.
4. After press on the hole using sim ejector for 5-10 seconds. Timing depends on the router.
5. Your router all lights (if you have) glow up at the same time for some times. Now you can confirm your reset is complete using Hardware Method.
6. If you do not have a reset button on the router or sim ejector-types tool, then follow this Software Method.
- At first, find your router IP following Method 3 First Point.
2. Open your router web admin by entering IP on any browser (Recommended Chrome) and log in with your credentials.
3. Every router has different options to reset your router. In my case, I am using a TP-link router. On that router to reset you need to go “System tools” > “Backup & Restore“, on that tab you will see “Factory Restore” Button just click on it.
4. Click on the “Yes”, to confirming.
5. Wait for some times & your router will reset. Most of router “Reset” button place under router settings “System tools” page. Try your self on your router, & comment down below.
5. Wait for some times to completely reset your router. After completely reset your router unplug your router power and Internet Cable, after waiting some times again plugin. Then try to connect wifi on your phone & also checking weather getting any error or not.
If all the above methods have not been able to deliver you same Failed to obtain IP Address error then we can try and assign a static IP address. Below are the steps for the same-
- Select the option of “Settings” > “Wifi“
- Click on the network that refuses to connect for sometime
- Click on “Modify network“
- Move down to check that the “advanced options” box have been checked.
- If the Show advanced options checkbox has not been checked then you need to check the same and click on save.
- Move to “IP settings“
- Change the current IP settings to “static“.
- Move to IP address field as we will be making modifications there.
- From the IP address, you need to change the last octet with any number from 10-255
- You need to ensure that the newly entered IP address is different from the current one
- Click on save
- Wait to see if the Android device manages to connect to Wifi network or not
Apart from the above steps in order to make your device connect to Wifi, you can perform the malware wipe.
So practice the allocated steps of a method or more than one method and you will be able to use the Wifi near you quite easily. You need to be precise with methods and have to perform each step without missing any important detail.