Some Samsung TV's will not connect to the wifi unless you do the following changes
1: Press the Menu button on your remote control.
2: Select Network.
3: Choose Network Status.
4: Select IP Settings.
5: DNS Settings - Enter Manually.
6: Enter 8.8.8.8 into the 'DNS Server' field and click 'OK'.
I had to do this to mine to get it to connect so I know it works.