iMac connected to Wi-Fi but not to the Internet I have a 2009 iMac (24 inch) running El Capitan (10.11.6). For a few days I have not been able to connect to the internet. The Wi-Fi network is connected to the internet because I can access it with my other devices. 

I have turned Wi-Fi on and off in System Preferences but that did not help. I can also see a good IP address in System Preferences.

I would appreciate any help.
Try to diagnose your internet connection:

System Preferences -&gt; Network -&gt; Assist me… -&gt; Diagnostics…