Jump to content


Photo

correct time


  • Please log in to reply
23 replies to this topic

#1 abumarya

  • Senior Member
  • 64 posts

0
Neutral

Posted 14 May 2017 - 06:59

before was 5 to 10 minutes delay

now 2 to 3 minutes

 

when it will be right

 

thanks

 



Re: correct time #2 littlesat

  • PLi® Core member
  • 57,004 posts

+698
Excellent

Posted 14 May 2017 - 07:58

....????

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: correct time #3 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 14 May 2017 - 12:03

It will be "right" as soon as the provider that broadcasts the service your receiver starts up with, starts broadcasting the correct time.


Edited by Erik Slagter, 14 May 2017 - 12:03.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: correct time #4 abumarya

  • Senior Member
  • 64 posts

0
Neutral

Posted 14 May 2017 - 19:38

same provider no change

the other images the time is correct

 

thanks



Re: correct time #5 littlesat

  • PLi® Core member
  • 57,004 posts

+698
Excellent

Posted 14 May 2017 - 20:41

They get time from internet... You can install the plugin for that on openpli,and you have the same...(systemtime plugin)

Edited by littlesat, 14 May 2017 - 20:43.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: correct time #6 Pr2

  • PLi® Contributor
  • 6,163 posts

+261
Excellent

Posted 15 May 2017 - 17:09

Would be nice to know which box he is using in case it is the time difference bug already mentioned on the forum.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: correct time #7 abumarya

  • Senior Member
  • 64 posts

0
Neutral

Posted 15 May 2017 - 17:45

dm7020hd



Re: correct time #8 abumarya

  • Senior Member
  • 64 posts

0
Neutral

Posted 15 May 2017 - 17:50

i am not expert (only user )

can you give the plugin and tell me where to add it



Re: correct time #9 WanWizard

  • PLi® Core member
  • 70,058 posts

+1,790
Excellent

Posted 16 May 2017 - 00:03

The systemtime plugin.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: correct time #10 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 16 May 2017 - 19:02

I think it's quite a waste to use ntp while on 99.99% of all transponders the time is correct.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: correct time #11 esgraon

  • Member
  • 10 posts

+1
Neutral

Posted 24 May 2017 - 11:19

"Set system time manually" option is available, but changes no time.

The same is with the "Sync Internet" option.

Any idea - what is wrong?

 

DM7020hd, OpenPLi 4.0 (2017-05-20), Kernel / Drivers: 3.2 / 3.2-20161019-r7.0.0


DM7020HD + DVB-C&S2,  OpenPLi 4.0, 1TB HDD, SelfSAT HD30D+HH90, 55e…4w

     FullNightHD,  OSCam, AutoTimer, AutoShutDown, SAT blindscan, dFlash


Re: correct time #12 Dimitrij

  • PLi® Core member
  • 10,205 posts

+346
Excellent

Posted 24 May 2017 - 14:03

Test, in telnet:

date

date 1230100509

date


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: correct time #13 esgraon

  • Member
  • 10 posts

+1
Neutral

Posted 24 May 2017 - 15:54

root@dm7020hd:~# date

Wed May 24 16:50:33 CEST 2017

root@dm7020hd:~# date 1230100509

date: invalid date '0912301005'

root@dm7020hd:~# date

Wed May 24 16:50:49 CEST 2017

 

Am I doing something wrong?


DM7020HD + DVB-C&S2,  OpenPLi 4.0, 1TB HDD, SelfSAT HD30D+HH90, 55e…4w

     FullNightHD,  OSCam, AutoTimer, AutoShutDown, SAT blindscan, dFlash


Re: correct time #14 esgraon

  • Member
  • 10 posts

+1
Neutral

Posted 24 May 2017 - 16:08

!! After this test I can increase the system time manually !!

No decreasing, no sync with transponder or internet.

Correct transponder sync is after cold restart only, not manually....


DM7020HD + DVB-C&S2,  OpenPLi 4.0, 1TB HDD, SelfSAT HD30D+HH90, 55e…4w

     FullNightHD,  OSCam, AutoTimer, AutoShutDown, SAT blindscan, dFlash


Re: correct time #15 s3n0

  • Senior Member
  • 668 posts

+62
Good

Posted 25 May 2017 - 14:09

Try to change the date again. But with correct command please :).

root@formuler3:~# date -?
date: invalid option -- '?'
BusyBox v1.24.1 (2017-02-28 16:54:30 CET) multi-call binary.

Usage: date [OPTIONS] [+FMT] [TIME]

Display time (using +FMT), or set time

        [-s,--set] TIME Set time to TIME
        -u,--utc        Work in UTC (don't convert to local time)
        -R,--rfc-2822   Output RFC-2822 compliant date string
        -I[SPEC]        Output ISO-8601 compliant date string
                        SPEC='date' (default) for date only,
                        'hours', 'minutes', or 'seconds' for date and
                        time to the indicated precision
        -r,--reference FILE     Display last modification time of FILE
        -d,--date TIME  Display TIME, not 'now'
        -D FMT          Use FMT for -d TIME conversion

Recognized TIME formats:
        hh:mm[:ss]
        [YYYY.]MM.DD-hh:mm[:ss]
        YYYY-MM-DD hh:mm[:ss]
        [[[[[YY]YY]MM]DD]hh]mm[.ss]
        'date TIME' form accepts MMDDhhmm[[YY]YY][.ss] instead

So try to change the date/time again... for example with the command:

date -s "2017-05-25 12:30:00"

Then check the changes with "date" command again:

root@formuler3:~# date

Thu May 25 12:30:02 CEST 2017

Also you may try to testing a command certain for the time synchronization:

 

ntpdate pool.ntp.org

.....or this:

rdate -s time.nist.gov


Edited by s3n0, 25 May 2017 - 14:13.


Re: correct time #16 esgraon

  • Member
  • 10 posts

+1
Neutral

Posted 25 May 2017 - 14:53

Shame on me...  :( It is so difficult to be a moron...

 

root@dm7020hd:~# date

Thu May 25 15:34:48 CEST 2017

root@dm7020hd:~# date -s "2017-05-25 15:30:00"

Thu May 25 15:30:00 CEST 2017

root@dm7020hd:~# date

Thu May 25 15:35:39 CEST 2017

 

root@dm7020hd:~# date

Thu May 25 15:41:10 CEST 2017

root@dm7020hd:~# date -s "2017-05-25 15:50:00"

Thu May 25 15:50:00 CEST 2017

root@dm7020hd:~# date

Thu May 25 15:50:30 CEST 2017

 

root@dm7020hd:~# date

Thu May 25 15:52:20 CEST 2017

root@dm7020hd:~# date -s "2017-05-25 15:48:00"

Thu May 25 15:48:00 CEST 2017

root@dm7020hd:~# date

Thu May 25 15:53:10 CEST 2017

 

It works, but increasing only....


DM7020HD + DVB-C&S2,  OpenPLi 4.0, 1TB HDD, SelfSAT HD30D+HH90, 55e…4w

     FullNightHD,  OSCam, AutoTimer, AutoShutDown, SAT blindscan, dFlash


Re: correct time #17 s3n0

  • Senior Member
  • 668 posts

+62
Good

Posted 25 May 2017 - 23:29

.....and what about the command:

ntpdate pool.ntp.org

 

.....or you can try:

rdate -s time.nist.gov

 

It works ? Or nope ? Both commands are used to set the real time according to the internet server. The "rdate" command with the "-s" argument synchronizes the time only when the internet time with the local time in the box does not match.

 

I'm sorry but... I still do not quite understand. What exactly is your problem ?



Re: correct time #18 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 26 May 2017 - 06:18

Set the correct date an time in this format

date -s YYYYMMDDhhmm.ss

So setting the date to 26-05-2017 and the time 08.17.20 use:

date -s 201705260817.20


Re: correct time #19 esgraon

  • Member
  • 10 posts

+1
Neutral

Posted 26 May 2017 - 07:19

@ s3n0

 

>.....and what about the command: ntpdate pool.ntp.org

>.....or you can try: rdate -s time.nist.gov

> It works ? 

 

Yes it works, but only when the current system time value is smaller as the server time value.

 

> What exactly is your problem ?

 

1. Set system time manually don't works when “manually set time value <  "system time value”.

2. Internet sync don't works when “server time value <  system time value”.

3. Transponder sync don't works when “transponder time value <  system time value”.


Edited by esgraon, 26 May 2017 - 07:22.

DM7020HD + DVB-C&S2,  OpenPLi 4.0, 1TB HDD, SelfSAT HD30D+HH90, 55e…4w

     FullNightHD,  OSCam, AutoTimer, AutoShutDown, SAT blindscan, dFlash


Re: correct time #20 s3n0

  • Senior Member
  • 668 posts

+62
Good

Posted 26 May 2017 - 13:03

Unfortunately, I do not have good experience with Enigma2 systems. It looks like your time is constantly being checked by some service running on the system. I'm just trying to guess - for example: it's possible that the time setting checks for a service that writes LOG (date and time dependent) and therefore protects itself.

Enable if you do not have active debug / crash LOG and try to find the bug in it. Or send a LOG file here to a discussion forum.

Did the SHELL commands do not really work for time synchronization? I think these commands use exclusive hardware access to real time clocks and should not be affected by any running service on the system.

Try updating your OpenPLi. And what about trying to flasch the entire OpenPLi system into the box again? :) Alternatively, reset the box to factory settings. Do not forget, of course, to back up everything before.

If everything worked on a clean OpenPLi system, the bug is definitely in a plug-in or some service. Then you can still test another system, like OpenATV, that everything will work there. Otherwise it could be a hardware fault!

Why do you need to change local time at all? Sorry, I still do not understand. If everything is okay after the box is restarted, why do you want to change it?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users