Check the status of your network connections. You can check your settings and the status of each network service, such as Wi-Fi, Ethernet, and Bluetooth ®, in Network settings. On your Mac, choose Apple menu > System Settings, then click Network in the sidebar. (You may need to scroll down.)
Look at the WiFi icon on your Mac's menu bar to check the status of your wireless connection. If the icon has a line across it, if its color is faded, or it's showing an exclamation mark — those are all indicators that WiFi is either off, not associated with a network, or there's no internet.
.
mac not working on wifi