Unable to access Safari and Google websites on Macs connected to Wi-Fi

My husband has a MAC running Monterey version 12.7.6 and I have MacBook Pro. We are connected to WiFi and can print documents but can’t get safari or Google websites & bookmarks


[Re-Titled by Moderator]

Original Title: Connecting to a network

Posted on Aug 25, 2025 08:37 AM

Reply
3 replies

Aug 25, 2025 11:08 AM in response to Lynn7491

Do you have and use a VPN? If so unless you're using a true VPN tunnel, such as between you and your employer's, school's or bank's servers, they provide false security from a privacy standpoint.  Read these articles:  Pubic VPN's are anything but private and Security Risks: The Dangers of Using Free VPNs (eccu.edu).    


Additionally a new study ("Apple Offers Apps With Ties to Chinese Military”) is specifically about VPN apps in Apple’s App Store.


If you have a VPN uninstall it according to the developers instructions and see if that will let you connect to the internet.


Otherwise try the following:


1 - shut down you Mac, router and modem.

2 - restart the devices in this order: modem, router and then the Macs.


Sep 4, 2025 12:09 AM in response to Lynn7491

https://gist.githubusercontent.com/0x55xx5/d3c5fea540cc162d56163559090eb18b/raw/2ad7237170e65c7ea132b181f11b75eb6e4881e1/wififix_monterey


How to Use the Script


1. Save the script


Copy the code into a new file, for example:

save the script and renamed


fix_network.sh







2. Make it executable

open the terminal app

input the bold command

chmod +x fix_network.sh






3. Run the script


Since it needs admin rights, run:



sudo ./fix_network.sh




On macOS Monterey, there is a known bug with Wi-Fi and DHCP.


Sometimes, after your Mac goes to sleep or loses power, it connects to Wi-Fi but does not get an IP address. This means you see the Wi-Fi as “connected,” but the internet does not work.




This is not your router’s fault. It’s a Monterey system problem caused by the way it handles network setup. Sometimes the Mac’s software tries to connect too quickly, and the network settings don’t load correctly.




That’s why rebooting, reconnecting Wi-Fi, or using a VPN may suddenly “fix” it — because they restart the network process


Unable to access Safari and Google websites on Macs connected to Wi-Fi

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