You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iPhone XS Max won't connect to WiFi

Suddenly, my iPhone Xs Max running iOS14.4 cannot maintain a connection with our home wifi. I have turned the phone off/on, and I have completed the network settings reset. This started two days ago. No other devices appear to be affected.


Any ideas what's going on, and how to resolve?


Thanks!


[Re-Titled by Moderator]

Posted on Jan 30, 2021 2:18 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 30, 2021 5:35 PM

You’re welcome! I provided an explanation of why it solved the issue below, but you don’t have to read it if it seems too long😁


Wi-Fi normally connects to a router, which assigns an IP address using a protocol called DHCP (Dynamic Host Configuration Protocol). But it’s possible to also use Wi-Fi to connect a group of devices to each other rather than to the Internet in what is called an ad-hoc network. Ad-hoc networks use IP addresses in the range that starts with 169.254.0.0. Each device in the ad-hoc network creates its own IP address in this range. When you connect a device to a network it will ask for an IP address using DHCP. If it doesn’t get an IP address assigned within 30 seconds it assumes that it is an ad-hoc network and assigns itself a random address in that range, which is useless for connecting to the Internet.


There is a common failure mode in many routers where the DHCP “daemon” process in the router fails, and it stops assigning IP addresses, so a new device connecting to the network will self-assign. But any device connected to the router that already has an IP address will continue to work. This makes it look like the problem is the phone, because everything else connected still works, but it’s actually the fact that the router is no longer assigning IP addresses. While it can happen to any device using the router the problem is more common with phones that disconnect when they go out of range, and reconnect when you get “home” and thus get a new IP address assigned. Rebooting the router restarts the DHCP daemon and resolves the problem.

The reason it happens with many different routers is that most routers have the same underlying open source operating system. It’s primarily a problem with routers more that a few years old; newer ones from top tier manufacturers have resolved this problem.

4 replies
Question marked as Top-ranking reply

Jan 30, 2021 5:35 PM in response to Lindanny

You’re welcome! I provided an explanation of why it solved the issue below, but you don’t have to read it if it seems too long😁


Wi-Fi normally connects to a router, which assigns an IP address using a protocol called DHCP (Dynamic Host Configuration Protocol). But it’s possible to also use Wi-Fi to connect a group of devices to each other rather than to the Internet in what is called an ad-hoc network. Ad-hoc networks use IP addresses in the range that starts with 169.254.0.0. Each device in the ad-hoc network creates its own IP address in this range. When you connect a device to a network it will ask for an IP address using DHCP. If it doesn’t get an IP address assigned within 30 seconds it assumes that it is an ad-hoc network and assigns itself a random address in that range, which is useless for connecting to the Internet.


There is a common failure mode in many routers where the DHCP “daemon” process in the router fails, and it stops assigning IP addresses, so a new device connecting to the network will self-assign. But any device connected to the router that already has an IP address will continue to work. This makes it look like the problem is the phone, because everything else connected still works, but it’s actually the fact that the router is no longer assigning IP addresses. While it can happen to any device using the router the problem is more common with phones that disconnect when they go out of range, and reconnect when you get “home” and thus get a new IP address assigned. Rebooting the router restarts the DHCP daemon and resolves the problem.

The reason it happens with many different routers is that most routers have the same underlying open source operating system. It’s primarily a problem with routers more that a few years old; newer ones from top tier manufacturers have resolved this problem.

iPhone XS Max won't connect to WiFi

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.