You should be able to just connect a router to the modem and away you go guide here. To connect wirelessly to the printer, it has to be done via this new wireless router. Printer 'talks' to laptop via router. Normally very straightforward to set up with W7 or 8.
Samsung Galaxy S8 review