Page 1 of 4
TV reports no internet connection (temp) FIX
Posted: Wed Feb 25, 2015 12:47 pm
by sectroyer
edit 26/02: Issue solved on Samsung side, not needed anymore (until it happens again). You can revert DNS to original/automatic.
Here is a temporary fix.
Linux users, unpack attached fakedns.zip to any directory and in that directory run this command:
fakedns.zip
Windows users if you don't have Python installed (which is generally the case
)
Download and extract DNSchef:
https://thesprawl.org/projects/dnschef
Open command line in folder where you extracted it, or create a shortcut with that command:
Code: Select all
dnschef -i 192.168.1.3 --fakeip=46.101.161.175 --fakedomain=www.samsung.com --nameservers=192.168.1.1
Just replace 192.168.1.3 by the IP of computer you're running on and 192.168.1.1 by your usual DNS IP
Then set DNS on TV to point to your computer
Of course, has to permanently run on computer for TV to detect internet connection
ps: Don't forget to check regularly if Samsung (hopefully) solved the issue by resetting original DNS on TV, not to endlessly overload SamyGO server, thanks
Re: TV reports no internet connection (temp?) FIX
Posted: Wed Feb 25, 2015 12:58 pm
by zoelechat
Added Windows method (copyright
)
Re: TV reports no internet connection (temp?) FIX
Posted: Wed Feb 25, 2015 4:07 pm
by VooDooShamane
Nice thank's a lot but the windows method u used rederects all requests to the ip 149.154.159.134 but we want youtube and any other to pass to the orig one.
So a little correction is to use --fakedomain=
www.samsung.com in the command instead of
--fakealias=www.samsung.com
Complete command:
Code: Select all
dnschef -i 192.168.1.10 --fakeip=149.154.159.134 --fakedomain=www.samsung.com --nameservers=192.168.1.2
Thank's again anyways
Re: TV reports no internet connection (temp?) FIX
Posted: Wed Feb 25, 2015 4:35 pm
by zoelechat
Sorry typo, edited
Was wondering why I had problems with smb
Re: TV reports no internet connection (temp?) FIX
Posted: Wed Feb 25, 2015 4:41 pm
by juusso
what is the min python version which is required for script? With v 2.5.2 i get errors.
Code: Select all
fakedns.py:226: Warning: 'with' will become a reserved keyword in Python 2.6
File "fakedns.py", line 226
with open(file,'r') as rulefile:
^
SyntaxError: invalid syntax
edit. nevermind, it it`s 2.6 as mentioned..
edit2. maybe possible to get code without to upgrade to python 2.6?
edit3. To get script working on debian leny, i had to add
Code: Select all
from __future__ import with_statement
at the top of file, download
argparse-1.2.1.tar.gz and extract argparse.py from this archive and place it next to the fakedns.py...
Re: TV reports no internet connection (temp?) FIX
Posted: Wed Feb 25, 2015 4:52 pm
by zoelechat
Re: TV reports no internet connection (temp?) FIX
Posted: Wed Feb 25, 2015 5:09 pm
by ocean
Added fakeip to my dnsmasq running on my fritzbox, also running fine. What is the server configuration, or will you leave this on that ip?
Other question, shouldn't it be possible to put the redirect in tv's hosts file automatically on boot?
Re: TV reports no internet connection (temp?) FIX
Posted: Wed Feb 25, 2015 5:17 pm
by zoelechat
TV retrieve only that file to check internet connection:
Code: Select all
http://www.samsung.com/global/products/tv/infolink/us.xml
What's strange is that it's up from the beginning. You can retrieve file and put it on any server (even locally), just keep path, fake
www.samsung.com to any server, done
Code: Select all
http://ANYSERVER/global/products/tv/infolink/us.xml
Re: TV reports no internet connection (temp?) FIX
Posted: Wed Feb 25, 2015 5:27 pm
by ocean
So if we could patch also the hosts file during boot to samygo ip we never need that stupid server of samsung again...
Re: TV reports no internet connection (temp?) FIX
Posted: Wed Feb 25, 2015 5:30 pm
by juusso
we have host file replacement script. but problem is it runs to late.