[SOLVED] Set Date/Time: Bad address

Here for general support for D series TVs, request and problem solve area.

nowo
Posts: 14
Joined: Sat Apr 21, 2012 10:01 am

Re: Set Date/Time: Bad address

Post by nowo »

ok, juuso I had found the same page, but don?t know how to use/compile it.
I will try to follow you:


I have the D6500 with samygo, so no ntp/ntpclient isn`t suplied.

I have only to download "ntpclient-2007.tgz" from your link (Do Nov 05, 2009 12:43 pm) with wget to some directory and then type into webshell: "/path/to/your/binary/ntpclient -s -h 193.110.137.171 -p 123" ("/path/to/your/binary/ntpclient" I have to modify) ?

Is It so right?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Set Date/Time: Bad address

Post by juusso »

nowo wrote: I have only to download "ntpclient-2007.tgz" from your link (Do Nov 05, 2009 12:43 pm) with wget to some directory and then type into webshell: "/path/to/your/binary/ntpclient -s -h 193.110.137.171 -p 123" ("/path/to/your/binary/ntpclient" I have to modify) ?
Is It so right?
From this archive you need only file

Code: Select all

ntpclient
Place it to /mtd_rwarea over ftp, then enter to console (or webshell)

Code: Select all

chmod 755 /mtd_rwarea/ntpclient
/mtd_rwarea/ntpclient -s -h 193.110.137.171 -p 123
If no errors come (i`m not sure this binary will work on D series arm, perhaps must be re-compiled), check your system time:

Code: Select all

date
the output should be like:

Code: Select all

Thu Apr 26 14:33:03 EEST 2012
If worked, add to your SamyGO.sh (Hospitality mode hack?) the line at the bottom:

Code: Select all

/mtd_rwarea/ntpclient -s -h 193.110.137.171 -p 123
if you don`t use SamyGO.sh, it is easy to make custom init script for /etc/init.d/.
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. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
nowo
Posts: 14
Joined: Sat Apr 21, 2012 10:01 am

Re: Set Date/Time: Bad address

Post by nowo »

ok thank you juuso.
I will taste It at Home and will post the results.
If It will work it could be placed at init-script in Samygo so other people can participate.
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Set Date/Time: Bad address

Post by arris69 »

nowo wrote:ok thank you juuso.
I will taste It at Home and will post the results.
If It will work it could be placed at init-script in Samygo so other people can participate.
but if you set correct time for the linux system don't cry if you tv displays the wrong time...
nowo
Posts: 14
Joined: Sat Apr 21, 2012 10:01 am

Re: Set Date/Time: Bad address

Post by nowo »

yes I?ve read it already in the other post but hope this is not so on my TV (perhaps other firmware or whatever) ;)
I hope the Display-Time doesn`t use the wrong system-time.. :D
Otherwise I must show how to correct them (perhaps by setting date/time for Display from auto to manu), but first step by step..
nowo
Posts: 14
Joined: Sat Apr 21, 2012 10:01 am

Re: Set Date/Time: Bad address

Post by nowo »

cool, It does his job and no time-problems on Display =D
Thank you very mutch !!!

But It has now the UTC time, but I would need UTC +2 hours cause Summertime.
Perhaps you know which ntp-Server will have UTC+2h ?
Or setting the time NOW+2h?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Set Date/Time: Bad address

Post by juusso »

Not sure, but i think tzdata also needs to be on tv. Don`t know, just guess :)
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. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
prairie
SamyGO Project Donor
Posts: 303
Joined: Wed May 04, 2011 10:30 pm

Re: Set Date/Time: Bad address

Post by prairie »

I know it's not needed but I like to see proper timestamps too. So ntpclient linked above does not work (segfault) but I see ntpd in busybox. So I try that with the following output:

Code: Select all

ntpd: sent query to 193.110.137.171
ntpd: reply from 193.110.137.171: reach 0x1f offset 1335482033.253260 delay 0.128842 status 0x24 strat 1 refid 0x4d4f5441 rootdelay 0.000000
ntpd: settimeofday: Bad address

PN60F8500AFXZA
T-FXPAKUC 1206.3 + SamyGO

"BrickMaster 2015"
nowo
Posts: 14
Joined: Sat Apr 21, 2012 10:01 am

Re: Set Date/Time: Bad address

Post by nowo »

@juuso: tzdata semms to be the thing I need :D
But I don`t know how to use, so I must see the man or someting else for setting to Europe/Berlin..

@prairie: I don`t know how ntpd reacts so I would say you could taste the ntpclient. Only upload that one File to Samy from download/file.php?id=21 and then start the File via Webshell: {PATH_TO_ntpclient}/ntpclient -s -h 193.110.137.171 -p 123
What will It return ?
User avatar
prairie
SamyGO Project Donor
Posts: 303
Joined: Wed May 04, 2011 10:30 pm

Re: Set Date/Time: Bad address

Post by prairie »

Thanks for the suggestion nowo but that ntpclient doesn't work on my system. Anyway, I can't set date manually so it looks like this is not possible on my firmware.

Code: Select all

date 042522212012
date: cannot set date: Bad address
date
Thu Jan  1 03:07:53 UTC 1970
PN60F8500AFXZA
T-FXPAKUC 1206.3 + SamyGO

"BrickMaster 2015"

Post Reply

Return to “[D] Support”