Check out the fixes for how to troubleshoot MacBook not connecting to wifi or showing not connected to the internet.