Many users are familiar with the situation when their smartphone refuses to connect to the internet. The screen is lit, Wi-Fi is on, but instead of the familiar connection icon, you see a never-ending "Obtaining IP Address" message. This means your device has found the router but is unable to obtain the digital pass required to access the internet.
The problem lies in the protocol DHCP, which is responsible for automatically distributing addresses. If this process is interrupted, the phone is left out of the local network. There could be many reasons for this, ranging from a simple software glitch in the router to a conflict with static settings on the smartphone itself.
In this article, we'll explore all possible solutions. You'll learn how to quickly diagnose the source of the error and restore the connection without having to take your device to a service center. Sometimes a simple reboot is enough, while in other cases, you'll need to adjust your router settings.
How DHCP Works and Why It's Important
To understand the root of the problem, you need to know how devices communicate on the network. When you press the connect button, your Android or iPhone sends a broadcast request: "Is anyone here who can give me an address?" The router, acting as a DHCP server, receives this request and assigns the device a unique identifier from its pool.
If the phone keeps displaying "Obtaining IP address" endlessly, it means the conversation between the client and the server failed. This could be due to a full address table, where the router simply can't assign a new number, or because the server's response is lost en route to the phone.
IP address — is the foundation of network communication. Without it, data packets don't know where to return. An error at this stage is critical, as further internet connection is physically impossible without a valid local network address.
⚠️ Note: If you are using a corporate network or a complex system with multiple access points, the issue may lie in VLAN settings or MAC address filtering on the administrator side.
At home, the most common culprit is the router itself, which has forgotten current sessions or reached its connection limit. Buffer overflows are a common cause of login freezes.
Initial diagnostics and equipment reboot
Before delving into complex settings, it's important to rule out basic glitches. Electronics tend to accumulate errors in RAM, which can lead to services not functioning properly. First, try a cold reboot of the router.
Unplug the power cord, wait at least 10-15 seconds, and then turn the device back on. This time is necessary for the capacitors to fully discharge and the cache to clear. While the router is booting, also reboot your smartphone.
Switching to Airplane Mode often helps. Turn on Airplane Mode for 5-10 seconds, then turn it off. This will force a reset of the phone's network module. If the error persists, check if other devices are connected to the same network.
If other devices are working fine, the problem is localized to your phone. If Wi-Fi isn't working anywhere, look for the root cause in your router or internet service provider.
Setting up a static IP address on Android
If automatic address assignment doesn't work, you can try entering the parameters manually. This often bypasses DHCP server errors. On smartphones running Android The procedure is as follows.
Go to your Wi-Fi settings and click on your network name or the gear icon. Find "IP Settings" (may be in the "Advanced" section). Switch the mode to DHCP on Static.
You will need to enter the data manually. Typically this is:
- 📱 IP address: 192.168.1.128 (the last digits can be any number from 2 to 254)
- 🌐 Gateway (router): 192.168.1.1 (or 192.168.0.1)
- 🔍 DNS 1: 8.8.8.8 (Google)
- 🔍 DNS 2: 1.1.1.1 (Cloudflare)
It's important to know your router's gateway address. If you've changed the default settings, use your own address. Once saved, your phone should be able to access the network without having to contact the DHCP server.
☑️ Checking static settings
⚠️ Important: When setting a static IP, make sure the selected address is not already occupied by another device on the network. Otherwise, an address conflict will occur and the Internet will be lost on both devices.
Fixing the problem on iPhone and iPad
In the ecosystem Apple The logic is similar, but the interface is different. If your iPhone If you're stuck at the IP address acquisition stage, try resetting your network settings first. This won't delete your photos or apps, but it will clear all saved Wi-Fi passwords and Bluetooth settings.
Go to Settings → General → Transfer or reset iPhone → Reset → Reset Network SettingsAfter rebooting your device, try connecting again. If that doesn't help, use the static address method.
In the Wi-Fi settings, tap the blue icon (i) next to the network name. Scroll down to the "IP Configuration" section and select "Manually." Enter the IP address, subnet mask, and router.
A common cause of problems on iOS is the "Private Wi-Fi Address" feature. It changes the device's MAC address for privacy, but some routers can block these "new" devices.
What is a private Wi-Fi address?
This is a security feature that uses a random MAC address instead of the device's real address. This prevents your activity from being tracked, but may cause filtering issues on older routers.
Disable this feature for your home network in the same Wi-Fi settings (under "Private Wi-Fi Address") and reconnect. This often resolves the freezing issue.
Router Settings: DHCP Pool and Filters
If the problem occurs on all devices or intermittently, you need to access the router control panel. Typically, you can access it via 192.168.0.1 or 192.168.1.1 in a browser.
You need a section LAN or DHCP ServerCheck the address pool size. If the range is too small (for example, only 10 addresses) and there are many devices in the house, there will simply be no room for new connections.
| Parameter | Recommended value | Description |
|---|---|---|
| Start IP | 192.168.1.2 | Start of the range of distributed addresses |
| End IP | 192.168.1.254 | End of range (max devices) |
| Lease Time | 120 minutes | The lease time of the address by the device |
| DNS Server | Auto or 8.8.8.8 | Name server address |
Increase your rental time (Lease Time). If it's too short, the router will constantly try to revalidate addresses, creating a load. Also, check if MAC address filtering is enabled, which could block new devices.
⚠️ Note: Router interfaces from different manufacturers (Asus, TP-Link, Keenetic) may differ. Look for sections with similar names related to the local area network (LAN).
Resetting network and radio settings
Sometimes a software issue lies deeper, in the wireless module drivers. On Android, you can try resetting the network settings through the Recovery menu, but this is a last resort. A standard reset is easier.
It's also worth paying attention to your Wi-Fi frequency. If your router broadcasts the network in the 5 GHz band and your phone is old or far away, the signal may be unstable, leading to timeouts when obtaining an IP address. Try switching to 2.4 GHz.
In some cases, disabling the WPS function on the router can help. This protocol simplifies connection, but it often contains vulnerabilities and bugs that prevent DHCP from functioning properly.
If all else fails, perform a full reset of the router to factory settings (use the Reset button on the router). This will require you to reconfigure your internet connection, but it's guaranteed to clear any incorrect configurations.
Why might WPS interfere?
The WPS protocol sometimes "hangs" the connection queue on the router if the authorization process was interrupted or completed incorrectly.
Why does the phone connect but there is no internet?
These are different issues. If the IP address is obtained but there's no internet connection, the issue is with the DNS or the ISP's settings on the router. If the message says "Obtaining IP," the connection hasn't even been established.
Can antivirus block IP address acquisition?
Yes, some aggressive firewalls on Android can block DHCP requests. Try temporarily disabling third-party antivirus or VPN apps.
Does Android version affect this error?
There is no direct dependence, but in new versions of Android (12, 13, 14) the algorithms for working with private addresses have been changed, which may conflict with older routers.
What to do if a static IP doesn't help?
If a static address also doesn't provide access, the problem is most likely physical (a faulty Wi-Fi module in the phone) or a critical error in the router firmware.