MacBook Pro's internet connection is lost upon waking

sometimes, when I wake up my laptop, ie, open the lid. the internet doesn't work. it is still connected to wifi. local network works but not the internet. turn wifi off, turn wifi on so it reconnects and then it works again


what could be the issue ?



[Re-Titled by Moderator]



MacBook Pro 15″, macOS 15.4

Posted on Apr 14, 2025 6:48 AM

Reply
14 replies
Sort By: 

Apr 15, 2025 1:13 PM in response to jarmier290

based on your saying that status is connected, but no internet service:


Launch a browser and enter this easy to remember all-numeric IP address:


1.1.1.1 


in the address bar,  and press return.


If you get the CloudFlare** splash page, your internet is working, but DNS lookup may not be working.


**CloudFlare is NOT part of the solution, they just own the easiest to remember all-numeric IP Address.

Reply

Apr 15, 2025 6:57 AM in response to jarmier290

Hi there.


It is normal for all computer-like devices (Like Mac, Windows) for turning off their wifi temporary when you close the lid or are in sleep mode to safe energy.


You should wait a few seconds to wait to gain internet access. Did you try waiting? If not, I think, it is a firmware issue. Try updating, boot in to safe mode, or reinstall MacOS.


To boot in to safe mode, shut down your Mac completely and press the option key when turning on your Mac. Then select your disk and press shift.


To reinstall MacOS, shut down your Mac completely and press command key and the r key and reinstall MacOS. Be sure to backup your personal files.


Cheers



Reply

Apr 15, 2025 12:22 PM in response to Grant Bennet-Alder

It's a asus router with AsusWRT Merlin OS, wpa2 personal auth and DHCP, no special login page or anything. the only non standard thing i have, is a pihole DNS on my home server


but i have two windows machines, android phone, android tv box, and a ubuntu linux server and none of them have this problem. pihole works. macbook is the only device that doesn't for some reason. and even that only occasionally.





Reply

Apr 16, 2025 5:33 AM in response to jarmier290

You mean you can connect to your WiFi but you dont have internet access?

Because if that is the case, it may be a DNS issue.


I once, had an issue where WiFi was not working, and I actually found out that it was because I had quit the VPN software without disconnecting it.


Cheers

Reply

Apr 18, 2025 3:17 AM in response to Grant Bennet-Alder

Hello,


it happened again.


I tried pinging my router and my DNS server and dns server responded but my router did not, which is weird because they're both connected via the same router and on the same subnet.


$ ping 10.0.23.11
PING 10.0.23.11 (10.0.23.11): 56 data bytes
64 bytes from 10.0.23.11: icmp_seq=0 ttl=64 time=2.617 ms
64 bytes from 10.0.23.11: icmp_seq=1 ttl=64 time=2.631 ms
64 bytes from 10.0.23.11: icmp_seq=2 ttl=64 time=2.605 ms
64 bytes from 10.0.23.11: icmp_seq=3 ttl=64 time=9.011 ms
64 bytes from 10.0.23.11: icmp_seq=4 ttl=64 time=2.496 ms
64 bytes from 10.0.23.11: icmp_seq=5 ttl=64 time=8.957 ms
64 bytes from 10.0.23.11: icmp_seq=6 ttl=64 time=2.726 ms
64 bytes from 10.0.23.11: icmp_seq=7 ttl=64 time=5.340 ms
64 bytes from 10.0.23.11: icmp_seq=8 ttl=64 time=8.815 ms
64 bytes from 10.0.23.11: icmp_seq=9 ttl=64 time=8.815 ms


ping 10.0.23.1 
PING 10.0.23.1 (10.0.23.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
Request timeout for icmp_seq 8
Request timeout for icmp_seq 9
Request timeout for icmp_seq 10
Request timeout for icmp_seq 11
Request timeout for icmp_seq 12
Request timeout for icmp_seq 13
Request timeout for icmp_seq 14
Request timeout for icmp_seq 15
Request timeout for icmp_seq 16
Request timeout for icmp_seq 17
Request timeout for icmp_seq 18
Request timeout for icmp_seq 19
Request timeout for icmp_seq 20
Request timeout for icmp_seq 21
Request timeout for icmp_seq 22
Request timeout for icmp_seq 23
Request timeout for icmp_seq 24
Request timeout for icmp_seq 25
Request timeout for icmp_seq 26
Request timeout for icmp_seq 27
Request timeout for icmp_seq 28
Request timeout for icmp_seq 29
Request timeout for icmp_seq 30
Request timeout for icmp_seq 31
Request timeout for icmp_seq 32
Request timeout for icmp_seq 33
Request timeout for icmp_seq 34
Request timeout for icmp_seq 35
Request timeout for icmp_seq 36
Request timeout for icmp_seq 37
Request timeout for icmp_seq 38
Request timeout for icmp_seq 39
Request timeout for icmp_seq 40
Request timeout for icmp_seq 41
64 bytes from 10.0.23.1: icmp_seq=42 ttl=64 time=280.159 ms
64 bytes from 10.0.23.1: icmp_seq=43 ttl=64 time=2.659 ms
64 bytes from 10.0.23.1: icmp_seq=44 ttl=64 time=2.573 ms
64 bytes from 10.0.23.1: icmp_seq=45 ttl=64 time=2.736 ms



I forgot to open 1.1.1.1 in my browser, but I did open duckduckgo, and it did not load. The request timed out. And only after it timed out, i clicked Reload and then it worked and router also responded.


Wifi was showing as connected the whole time.




Reply

MacBook Pro's internet connection is lost upon waking

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