In a terminal type "ping -c3
www.yahoo.com", this will show if you are getting on the internet. Next check you firewall settings, disable it if it works you need to tweak your firewall settings, check DNS, HTTP, HTTPS, etc... ports are open. I have also seen some comcast connections that need to be reset, unplug power from modem for about 5 seconds then plug back in and try it.