Then factory reset and try again with the router under 6 meters total distance. After that try a wired connection.
We have two Samsung smart TVs and up until last week they both worked absolutely fine. However, one of them (UE32J5500) is no longer connecting to the internet. I get the warning that the IP auto setting has failed so it's not even connecting picking up the wifi let alone connecting. Any ideas? I've tried the entering the DNS settings manually but nothing is working. Any suggestions would be greatly appreciated

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic