You are trying to connect to Wi-Fi on your smartphone or tablet. Android, but the system stubbornly returns the error "Unable to obtain IP address" or "Network connection maintained, but no internet access"? This problem occurs on devices of all brands - from Samsung Galaxy to Xiaomi Redmi, and this isn't a "glitch" of a specific model, but a systemic failure in the network address distribution mechanism. In 90% of cases, the fault isn't with the phone itself, but with a conflict between the router settings and the protocol. DHCP on the device.
In this article we will look at all possible reasons — from a banal cache failure to complex conflicts with MAC filtering, and we will also give step-by-step instructions for each of them. Important: Some methods require access to the router settings, so check the login/password for its web interface in advance (they are usually indicated on a sticker on the device). If you rent Wi-Fi from a provider (e.g., Rostelecom or MTS), some parameters may be blocked - take this into account too.
We'll start with the simplest solutions, which take less than a minute, and gradually move on to more in-depth settings. Don't skip steps: often, the problem is solved in the second or third step, but users spend hours searching for the "magic button."
1. Restarting the device and router – why it works
It sounds trivial, but in 30% of cases the “unable to obtain IP” error disappears after simultaneous reboot both the smartphone and the router. The thing is that the protocol DHCP (which automatically assigns IP addresses to devices on the network) sometimes freezes due to accumulated cache errors. The problem could be on either the phone or the router.
How to reboot correctly:
- 📱 On an Android device: Press and hold the power button and select "Restart" (not "Power Off!"). If your phone is frozen, hold the power button for 10-15 seconds until it forces a shutdown.
- 📶 Router: find the button on the case
ResetorPowerIf there is no button, unplug the power supply for 30 seconds. Important: do not pressResetwith a needle (this will reset all settings!).
After turning on both devices, try connecting to Wi-Fi again. If the error persists, proceed to the next step. Exception: if after rebooting the router the network has disappeared completely (is not displayed in the list), it means that the "Hidden network" mode (SSID Hidden) was enabled on it - it must be disabled in the router settings.
2. Checking DHCP settings on Android
If the router is properly distributing the Internet to other devices (PC, laptop, second phone), and your Android stubbornly can't get an IP, the problem may lie in incorrect network settings on the smartphone itself. Most often, this happens after:
- 🔄 Firmware updates (especially on Samsung With One UI or Xiaomi With MIUI).
- 📱 Manually changing network settings (for example, for VPN or proxy).
- 🛠️ Using programs like NetGuard or AFWall+, blocking network traffic.
How to check the settings:
- Open
Settings → Wi-Fi. - Click on the name of your network (don't connect, just tap on it).
- Select "Change network" (or "Additionally» on some firmware versions).
- Check the " parameterIP settings" - it should be in the " positionDHCP" (not "Static" or "Manual").
If it says "Static IP," change the setting back to "DHCP" and save the changes. If the problem persists, try manually specify IP (more on this in the next section).
☑️ DHCP check on Android
3. Manually assign an IP address (if DHCP does not work)
Sometimes, for unknown reasons, a router refuses to assign an IP address to a specific device. This may be due to:
- 🔌 MAC address conflict (if there is a device with the same MAC on the network).
- 📊 DHCP pool overflow (for example, if the router settings specify an IP range from 192.168.1.100 to 192.168.1.150, and all addresses are already taken).
- ⚡ DHCP server failure on the router itself.
In this case it is possible manually enter the IP on an Android device. To do this:
- In the Wi-Fi network settings (as in the previous section), select "IP Settings → Manual».
- Please enter the following parameters (example for most routers):
- IP address:
192.168.1.101(the last digit can be any number from 2 to 254, but must not be the same as other devices on the network). - Gateway:
192.168.1.1(usually matches the router IP). - Network prefix length:
24. - DNS 1:
8.8.8.8(Google DNS) or1.1.1.1(Cloudflare). - DNS 2:
8.8.4.4.
- IP address:
If the Internet works after this, the problem is definitely in the settings. DHCP on the routerTo fix it globally (and avoid manually setting the IP on each device), go to the router's web interface and:
- 🔄 Restart the DHCP service (usually in the "Local area network" or "DHCP»).
- 📊 Expand the range of IP addresses issued (for example, with
192.168.1.100–150on192.168.1.100–200).
4. Reset network settings on Android
If the previous methods did not work, the problem may lie in damaged system files, responsible for connecting to Wi-Fi. Android There is a network settings reset function that deletes all saved networks, passwords, VPNs and returns connection settings to factory defaults.
How to reset:
- Open
Settings → System → Reset(on some firmware versions the path may differ:Settings → General settings → Reset). - Select "Reset Wi-Fi, mobile network, and Bluetooth settings" (name may vary).
- Confirm the action. The phone will reboot.
After reboot:
- 🔄 Try connecting to Wi-Fi again.
- 🔑 If the network is hidden (not displayed in the list), enter its name (SSID) and password manually.
⚠️ Attention: This method removes all saved Wi-Fi passwords, including networks you've connected to previously (at home, at work, at a cafe). Save them in a notepad or take screenshots in advance.
What should I do if Wi-Fi doesn't turn on at all after a reset?
If after resetting the network the Wi-Fi adapter stops working (does not turn on or constantly “scans”), try:
1. Restart your phone.
2. Turn on Airplane mode for 30 seconds, then turn off.
3. Check if Wi-Fi is disabled Settings → Apps → Three dots → Show system → Wi-Fi (on some firmware versions).
If nothing helps, it may be a hardware fault in the Wi-Fi module.
5. Checking MAC filtering and other router settings
If Android can't get IP, but other devices connect fine, the problem may be in MAC filtering or other router restrictions. MAC filtering is a feature that allows connections only to devices with specific MAC addresses (unique identifiers of network adapters).
How to check:
- Go to the router's web interface (usually at
192.168.1.1or192.168.0.1). - Find the section "MAC filter», «Access control" or "Wireless MAC Filtering" (the name depends on the router model).
- If filtering is enabled, check if your MAC address is in the list of allowed devices. Android-devices. If not, add it.
How to find out your phone's MAC address:
- 📱 Open
Settings → About phone → General information → Wi-Fi MAC address(path may differ). - 🖥️ Or enter the following command in the terminal (if you have root access):
ip link show wlan0The MAC address will be listed after the word
link/ether.
Also check other router settings that may be blocking the connection:
| Parameter | What to check | Recommended value |
|---|---|---|
| Wireless Mode | Is it compatible with your phone (eg. 802.11n or 802.11ac) |
802.11b/g/n mixed (for maximum compatibility) |
| Channel Width | Too wide can cause conflicts | 20 MHz (or Auto) |
| Security Mode | Legacy protocols (eg. WEP) are not supported by modern Android |
WPA2-PSK or WPA3-PSK |
| Client Isolation (AP Isolation) | If enabled, devices cannot see each other on the network. | Disabled |
⚠️ Attention: If you rent a router from a provider (for example, Beeline or MGTS), some of these settings may be blocked. In this case, please contact support and ask them to check DHCP server And MAC filtering.
6. Updating the firmware and resetting the router to factory settings
If none of the previous methods helped, the problem may be in outdated router firmware or its incorrect settings. This is especially true for older models (for example, TP-Link TL-WR841N or D-Link DIR-300), which have not been updated for a long time.
How to update firmware:
- Download the latest firmware version for your router model from official website of the manufacturer (do not use third-party sources!).
- Go to the router's web interface and find the "Software update" or "Firmware Upgrade».
- Upload the downloaded file and wait for the process to complete (do not turn off the router!).
If the update did not help or the router started to work unstably, do the following: full reset to factory settings:
- Press and hold the button
Reseton the router (usually it is recessed and requires a paper clip) for 10-15 seconds. - After rebooting the router, configure it again (set the network name, password, security type).
⚠️ Attention: Resetting the router will delete it all settings, including your Wi-Fi password, ISP affinity (if applicable), and port forwarding rules. If you're unsure, it's best to call a specialist or contact your ISP's support team.
7. Check for viruses and conflicting applications
Less frequently, there are cases when the “unable to obtain IP” error is caused by viruses or applications, which block network traffic. For example:
- 🛡️ Antiviruses with a firewall function (for example, Avast, Kaspersky).
- 🔒 VPN clients (For example, NordVPN, ProtonVPN).
- 📡 Applications for speeding up the Internet (For example, Internet Speed Master).
- 🤖 Virusesthat change network settings (for example, Trojans Android.Triada).
How to check:
- Start your phone in safe mode:
- On most devices: Press and hold the power button → hold "Power off" → you will be prompted to enter safe mode.
- On Samsung: Press and hold the power button → Power off → Safe mode.
Also recommended:
- 🔍 Check your phone for viruses using Malwarebytes or Dr.Web Light.
- 📱 Reset permissions for apps that requested network access (in
Settings → Applications → Permissions).
8. Hardware problems: when it's time to take your phone to a service center
If you have tried all the methods but Android still can't get IP address, the problem may be hardwareMost often it is:
- 📡 Wi-Fi module malfunction (for example, after a fall or exposure to moisture).
- 🔌 Antenna problems (especially on older phones where the antenna is connected via a connector).
- 🔋 Power controller malfunctions, which is also responsible for supplying voltage to the Wi-Fi chip.
How to diagnose a hardware failure:
- 🔄 Check if Wi-Fi works on other networks (for example, in a public place or at a friend's place).
- 📶 Try connecting to a hotspot created from another phone (turn on modem mode on the second device).
- 🛠️ If Wi-Fi doesn't work anywhere, it's almost guaranteed to be a hardware problem.
What to do:
- 📱 If your phone is under warranty, contact a service center (do not open the case yourself!).
- 💰 If there's no warranty, estimate the repair cost. Replacing the Wi-Fi module can cost 30-70% of the price of a new phone.
- 🔄 As a temporary solution, you can use USB-ethernet adapter (For example, USB-C to Ethernet for modern smartphones).
⚠️ Attention: if the phone overheats when trying to connect to Wi-Fi or the battery drains quickly, this may indicate a short circuit in the module. In this case don't put off repairs - this is dangerous for the battery!
FAQ: Frequently asked questions about IP issues on Android
Is it possible to get an IP address manually without access to the router?
Yes, you can manually enter the IP on Android (as described in Section 3), but for this you need to know:
- IP address of the router (gateway),
- The IP range it distributes (eg.
192.168.1.2–192.168.1.254).
If this information is not available, manual setup may not work or may cause conflict with other devices on the network.
Why does the problem only occur on Android, but everything works on iPhone?
This is due to differences in protocol implementation. DHCP:
- Android more sensitive to router settings (for example, channel width or security type).
- iOS more aggressively "recaptures" its IP, even if the DHCP server is unstable.
- Some routers have bugs that cause them to incorrectly process requests from Android-devices (especially with firmware based on Qualcomm).
Solution: Update your router's firmware or try changing its settings (for example, change the Wi-Fi channel from Auto to a fixed one, for example, 6 or 11).
What should I do if after resetting my router, Wi-Fi works, but there is no internet?
This means the router is distributing an IP address but can't connect to the ISP. Check:
- 🔌 Is the provider's cable connected to the port?
WAN(usually it is highlighted in a different color). - 📡 Is the internet connection configured (in the router's web interface in the "Internet" or "WAN"). For most providers, you need to specify the connection type (
Dynamic IP,PPPoE,L2TP) and, if necessary, login/password. - 📞 Call your ISP's support team and check if your MAC address is being blocked (sometimes after resetting your router, you need to provide your ISP with a new MAC address).
Can antivirus block IP address acquisition?
Yes, some antiviruses (for example, Avast, 360 Security) have a built-in firewall, which may be blocking DHCP requests. To check:
- Open your antivirus and find the section "Firewall" or "Network protection».
- Temporarily disable network protection.
- Try connecting to Wi-Fi again.
If after disabling the antivirus the IP starts to be assigned, add your network to the exceptions or change the antivirus to a “lighter” one (for example, Bitdefender Mobile).
How do you know if the router or the phone is at fault?
Simple test:
- Try connecting another device (laptop, second phone, tablet) to the same Wi-Fi network. If it receives an IP address normally, the problem is with your device. Android-device.
- Try connecting yours Android- connect your phone to another Wi-Fi network (for example, to a hotspot from another phone). If the IP isn't assigned there either, the problem is with the phone.
If no device can obtain an IP address from your router, the problem is definitely with it (DHCP failure, malfunction, or blocking by your ISP).