So you have a stand alone switch (ECC) and then stand alone router? Or is it an all in one that is plugged directly to the modem?
I echo what wolf said, plug your modem into your PC, make sure you get an IP address, and verify that your modem is actually working.
Once you do that, plug your modem into your router, and reboot it.
One thing you need to know, your modem will only give out one IP address. If you plug your modem to your switch and your switch has different things plugged into it, one of those devices may pull the only IP address and your router will never work. So you need to unplug everything first and make sure your router gets the IP address, then from there your router will have its own subnet and give everything IP addresses from there.