Page 2 of 4

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

Posted: Wed Feb 25, 2015 5:38 pm
by ocean
Damn

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

Posted: Wed Feb 25, 2015 6:11 pm
by juusso
zoelechat wrote: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 http://www.samsung.com to any server, done :)
I can confirm, this works (using python.py with my local NAS ip address in config)

Code: Select all

A www.samsung.com 192.168.1.200

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

Posted: Wed Feb 25, 2015 6:22 pm
by zoelechat
Yeah, that's even what we (=sectroyer then me ;) ) first tried successfully, but we thought that skipping local server step would make procedure simpler to release :)

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

Posted: Wed Feb 25, 2015 6:24 pm
by ocean
@ juuso, when is the hosts file written on tv? Maybe we can put simple

Code: Select all

echo 149.154.159.134  www.samsung.com >> /etc/hosts
into run.sh at startup?

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

Posted: Wed Feb 25, 2015 6:44 pm
by juusso
Check 01_04_server_replacement.init. It basically does same.

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

Posted: Wed Feb 25, 2015 7:15 pm
by ocean
yes for sure, but you said it's to late...

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

Posted: Wed Feb 25, 2015 7:24 pm
by sectroyer
ocean wrote:yes for sure, but you said it's to late...
The file /etc/hosts is "overwritten" by TV after reboot :)

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

Posted: Wed Feb 25, 2015 8:05 pm
by ocean
But that won't matter if you rewrite it every boot.
But I don't care as it's really performant working with faking on ip right now on a"tuned" router... :mrgreen:

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

Posted: Wed Feb 25, 2015 8:24 pm
by ocean
Is it possible to use apache which is also running on tv but with port 1080...

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

Posted: Wed Feb 25, 2015 8:26 pm
by sectroyer
ocean wrote:Is it possible to use apache which is also running on tv but with port 1080...
It's too late when tv starts up :)