TV reports no internet connection (temp) FIX

This is general talk area for things that NOT RELATED WITH TV! Instead, about internal works like web site, forum, wiki, or talking, etc...

sectroyer
Official SamyGO Developer
Posts: 5732
Joined: Wed May 04, 2011 5:10 pm

TV reports no internet connection (temp) FIX

Post by sectroyer » Wed Feb 25, 2015 12:47 pm

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:

Code: Select all

python fakedns.py -c dns.conf
fakedns.zip
Windows users if you don't have Python installed (which is generally the case :D )
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 ;)
You do not have the required permissions to view the files attached to this post.
Last edited by zoelechat on Mon Mar 16, 2015 12:35 pm, edited 1 time in total.
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

zoelechat
Official SamyGO Developer
Posts: 8251
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: TV reports no internet connection (temp?) FIX

Post by zoelechat » Wed Feb 25, 2015 12:58 pm

Added Windows method (copyright :mrgreen: )
I do NOT receive any PM. Please use forum.

VooDooShamane
Posts: 23
Joined: Sat Feb 08, 2014 4:44 am

Re: TV reports no internet connection (temp?) FIX

Post by VooDooShamane » Wed Feb 25, 2015 4:07 pm

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 ;)

zoelechat
Official SamyGO Developer
Posts: 8251
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: TV reports no internet connection (temp?) FIX

Post by zoelechat » Wed Feb 25, 2015 4:35 pm

Sorry typo, edited ;)
Was wondering why I had problems with smb :D
I do NOT receive any PM. Please use forum.

User avatar
juusso
SamyGO Moderator
Posts: 9977
Joined: Sun Mar 07, 2010 6:20 pm

Re: TV reports no internet connection (temp?) FIX

Post by juusso » Wed Feb 25, 2015 4:41 pm

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...
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. Imagerooting K seriesImage, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

zoelechat
Official SamyGO Developer
Posts: 8251
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: TV reports no internet connection (temp?) FIX

Post by zoelechat » Wed Feb 25, 2015 4:52 pm

I do NOT receive any PM. Please use forum.

User avatar
ocean
SamyGO Project Donor
Posts: 196
Joined: Sat Jan 07, 2012 7:22 pm
Location: Germany

Re: TV reports no internet connection (temp?) FIX

Post by ocean » Wed Feb 25, 2015 5:09 pm

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?
Samsung UE32D6510 (downgraded to T-GASDEUC-1016.0) with "SamyGO Hospitality mode hack" running
Samsung UE46ES6710 ( T-MST10PDEUC-2004) with SamyGo running

zoelechat
Official SamyGO Developer
Posts: 8251
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: TV reports no internet connection (temp?) FIX

Post by zoelechat » Wed Feb 25, 2015 5:17 pm

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
I do NOT receive any PM. Please use forum.

User avatar
ocean
SamyGO Project Donor
Posts: 196
Joined: Sat Jan 07, 2012 7:22 pm
Location: Germany

Re: TV reports no internet connection (temp?) FIX

Post by ocean » Wed Feb 25, 2015 5:27 pm

So if we could patch also the hosts file during boot to samygo ip we never need that stupid server of samsung again...
Samsung UE32D6510 (downgraded to T-GASDEUC-1016.0) with "SamyGO Hospitality mode hack" running
Samsung UE46ES6710 ( T-MST10PDEUC-2004) with SamyGo running

User avatar
juusso
SamyGO Moderator
Posts: 9977
Joined: Sun Mar 07, 2010 6:20 pm

Re: TV reports no internet connection (temp?) FIX

Post by juusso » Wed Feb 25, 2015 5:30 pm

we have host file replacement script. but problem is it runs to late.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. Imagerooting K seriesImage, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “General”