next to the modem and hard wire the pc to the router. Then configure the wifi laptop to connect to the wireless network via the router. File and Printer sharing follows when you set the printer and some folders to be shared. The manual of the router will explain all.