A bit more detail might help -
Are you connecting through the Set top box (STB) or a separate Cable Modem?
What's the model number of the router without modem?
Are you trying to connect the iMac to the router via ethernet or wirelessly? Generally, you need to connect to the router via ethernet to configure it before switching to wireless.

to CF