So if I understand you correctly, when you plug your router in, you get an IP and everything is fine. But when you plug your computer directly into the modem, you don't get issued an IP?
You can try a factory reset on the modem. Go to »192.168.100.1
, then the 'Configuration' page, then 'Reset All Defaults'.