Put the router withing 20 feet and be sure nothing odd like hidden SSID or MAC filters.

We cover all that in the CNET Networking Forums "Samsung owners start here" sticky post.
I may not write all that is there in every reply to folk asking for wifi setup help.