Turn Airport off on your
iMac, connect to your router with an Ethernet cable, go into System Preferences/Network to ensure the Ethernet connection is enabled, and see whether the problem persists.
It may have nothing to do with your wireless connection or ISP. In any case, poking around in those Network settings may expose where the problem is.