So the internet works if you plug your laptop directly into the modem?

But not if you connect the DLink router to the modem and try to connect wirelessly?