Jump to content


Photo

Systemtime - Sync with NTP does not work


  • Please log in to reply
12 replies to this topic

#1 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 18 April 2021 - 08:48

On Pli develop the plug-in Systemtime does not seem the sync with NTP.

When requesting a NTP sync, there seems to be no response. 

Tried several different NTP sites, including my router and Synology NAS.  No result.

 

The problem is not big, as the transponder sync still works.  This works also on my receiver with no connection to the satellite, but it has the fallbacktuner enabled.

Selecting a channel and it works.

 

Also adding the statement to enigma2_pre_start.sh:

ntpdate -u 192.168.178.1

Fixes the time.

 

Syncing with my router works via this statement in a telnet window.

Tried also different NTP servers with the ntpdate statement.  That works with no problem.

 

The only problem is with the systemtime plugin.

As I said, it is not a big problem, as there are work-arounds. 

 

PS: the receiver with the fallbacktuner and no dish connection, starts up on web-based radiochannel.  So the time is not automatically set.


Edited by doglover, 18 April 2021 - 08:52.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Systemtime - Sync with NTP does not work #2 Pr2

  • PLi® Contributor
  • 6,046 posts

+256
Excellent

Posted 18 April 2021 - 09:08

You no longer need to install this plugin, in develop the NTP is natively build-in.


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: Systemtime - Sync with NTP does not work #3 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 18 April 2021 - 09:10

It is indeed included with three options on/off/auto(default) plus you can configure an alternative ntp server url

Edited by littlesat, 18 April 2021 - 09:11.

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


Re: Systemtime - Sync with NTP does not work #4 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 18 April 2021 - 09:17

On develop image you should have time internet synced OOTB at startup of your box if you have working internet connection on it, since "Auto" is the default value (at least it works that way here ;-))

 


True sarcasm doesn't need green font...

Re: Systemtime - Sync with NTP does not work #5 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 18 April 2021 - 09:30

Did not know that.

Found it. 

Removed the systemtime plug-in.

Configured the new setting for my own router.  Restarted everything....  And correct time.

 

Thanks.

PS:  Will see tomorrow after a complete shutdown if it still has the correct time.


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Systemtime - Sync with NTP does not work #6 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 18 April 2021 - 09:31

On develop image you should have time internet synced OOTB at startup of your box if you have working internet connection on it, since "Auto" is the default value (at least it works that way here ;-))

 

It was not doing this.  Configuration was needed.


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Systemtime - Sync with NTP does not work #7 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 18 April 2021 - 09:35

With auto it will when there is an op available try to contact the default ntp server.... when that one is not available on your lan it indeed does not work by default.

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


Re: Systemtime - Sync with NTP does not work #8 Pr2

  • PLi® Contributor
  • 6,046 posts

+256
Excellent

Posted 18 April 2021 - 10:02

Yes but if doglover is using only the remote fallback, the stream is coming but perhaps without the time in it since it is an IP stream.

 

@doglover, I guess that you have nothing connected to the tuner of the box (so you are only using the remote tuner fallback solution)?  If so do you totally disable the DVB tuner in your setup?


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: Systemtime - Sync with NTP does not work #9 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 19 April 2021 - 14:59

@doglover, I guess that you have nothing connected to the tuner of the box (so you are only using the remote tuner fallback solution)?  If so do you totally disable the DVB tuner in your setup?

No sat cables attached (or DVB-T, cables).

tHE dvb-tuner is disabled.  At least nothing configured.  (Do not know if that makes a difference)


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Systemtime - Sync with NTP does not work #10 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 19 April 2021 - 15:30

NTP should work, it only requires a working network connection.

 

Something in a backup that kills the cron job, or the ifup script when you restore it after a flash?

 

It uses:

root@vuduo4k:~# ls -l /etc/network/if-up.d/
lrwxrwxrwx    1 root     root            21 Mar 31 14:40 ntpdate-sync -> /usr/bin/ntpdate-sync

to run ntpdate when the network comes up, and

root@vuduo4k:~# cat /etc/cron/crontabs/root 
30 * * * *    /usr/bin/ntpdate-sync silent

to keep the time in sync afterwards.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: Systemtime - Sync with NTP does not work #11 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 19 April 2021 - 16:04

No problem now.

For one reason, I have problems to get it synced with pool.ntp.org.  (it regurlay says: no suitable sever found when used with ntpdate)

Others work just fine.  I now use my router which can act as an NTP server.


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Systemtime - Sync with NTP does not work #12 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 19 April 2021 - 16:15

I assume you've changed the IP in the GUI ( menu - setup - system - customize ) ?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: Systemtime - Sync with NTP does not work #13 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 19 April 2021 - 18:22

Yes.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users