[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

[SOLVED] Set Date/Time: Bad address

Post by nowo »

Hello Guys,

when I upload a File via FTP to my Samy then this file will display a Time in 1970-01-01.
On the Webshell I can see, that the Date/Time of System isn`t the same from Samy, so I whant set them manually.
Therefor I use date or rdate, but both of them return "cannot set date: Bad address".
Could it be a right problem?
I`m logged in as uid=0(root) gid=4294967295 groups=4294967295.

Greatings, nowo
DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

AW: Set Date/Time: Bad address

Post by DEUS »

Why u want to set date? It will be 1970 after reboot anyway there is no common clock device there This is just a guess.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Set Date/Time: Bad address

Post by juusso »

we have ntpclient which runs in background and corects linux time. IMO shipped with widget.
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
DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

AW: Set Date/Time: Bad address

Post by DEUS »

Why is ntpdate not started by default? Any issues you have in mind? Except basically unnecessary. There was no initscript or, currently can't check by myself.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Set Date/Time: Bad address

Post by juusso »

I think here was not necessary to have system time which not affects exeDSP time...
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
Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

Re: Set Date/Time: Bad address

Post by Spoza »

Where exactly shall I look for the ntpclient? I can't find it anywhere (in the TV of course).
It just drives me nuts when the recorded files don't have correct timestamp (i.e. when things which CAN be set correctly are not set correctly)
PS59D6900 T-MST5DEUC-1023.0
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 about mstar. :-(
Perhaps here isn't.
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
DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: Set Date/Time: Bad address

Post by DEUS »

if you just want to set timestamp to file mayber touch /t "date" can do the job and use the date supplied from filename
nowo
Posts: 14
Joined: Sat Apr 21, 2012 10:01 am

Re: Set Date/Time: Bad address

Post by nowo »

@DEUS: I want to set the time because when I upload a File to my TV with FTP the File will have Date from 1970.
This is not realy beautiful when I browse them on my TV.

If I could set the time once, I can write a script so the time will set on every boot.
Therefore I need to know to set the time.

@juuso: where I can get the ntpclient? I haven`t saw it in Samygo.
Must it only be downloaded with wget and then startet by script?
Or must I compile it first?

I think it`s neccessary to have the correct time if the FTP-Server will be used.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Set Date/Time: Bad address

Post by juusso »

If ntp/ntpclient isn`t suplied with Extension, then you need to compile it by self. Some research on google gave the sources link:

Code: Select all

http://doolittle.icarus.com/ntpclient/ntpclient_2010_365.tar.gz
or

Code: Select all

http://www.snom.com/download/sdk/ntpclient.tar.gz
If you have working toolchain, try both and tell us the result.

For arm i have binary (for B series definitelly, duno about c and d, should work as well)
Also check here:
viewtopic.php?f=5&t=81
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

Post Reply

Return to “[D] Support”