Make sure that all devices are configured for DHCP along with router. If they are there could be an IP conflict between router and modem. Default router IP is 192.168.1.1 so change it to 192.168.5.1 or something like that.
Okay so what are you thinking the problem is?