Nothing worked! Dns 8888 didnt do it.
Then I found this --- depending on the model one of these will work. Turn off the tv - using your remote push the Mute, 1 8 2 and power button Or ---- push the info, menu, mute and power.
The TV will turn on and a menu appears. Go into the first line item and push the button "factory reset".
The tv will go black screen and then restarts as "new".
It will pop up all your wifi connections - select one and enter the password. You are now connected to your wi fi!
Go into menu and disable the auto function for updates. This will avoid having Samsung ah heck up your wifi connection. Personally I will give up on the updates to keep my smart tv functions!
You will need to reset your custom picture settings.
Good luck!