Jump to content


Photo

openpli 4 time sync ! NTP


  • Please log in to reply
73 replies to this topic

Re: openpli 4 time sync ! NTP #21 ajeeb

  • Senior Member
  • 385 posts

0
Neutral

Posted 21 November 2014 - 15:35

thanks for the input ,

 

1st there where no such line

2nd "init 4" should stop enigma and "init 3" restart it !

I did manual add that line ! then I run ssh session with those lines to test:

ntpd -q -p 192.168.1.1

ntpdate -b -s -u 192.168.1.1

ntpdate -b -s -u 0.pool.ntp.org

nothing happened with date command .... time still same !?!

 

** p.s I have NTP time server at router box

I also check external servers ! same results.

 

any idea ?


ET9000,DM500s+usbTTdvb-3600 ,DVB2000,Humax5400, MACbook PRO retina 13", MAC pro 2 x Quad XEON-2.8GB , 8GB ECC, 4TB+FusionDrive(SSD) , LG-24FHD, HD6870,Debian server

"Since the dawn of our species, Man has been blessed with curiosity"


Re: openpli 4 time sync ! NTP #22 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 21 November 2014 - 15:38

Use either ntpdate or ntpd. Ntpdate works one shot, nptd works continuously. To check ntpd, use ntpq, e.g. ntpq -c as or ntpq -c pe.


Edited by Erik Slagter, 21 November 2014 - 16:01.

* 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: openpli 4 time sync ! NTP #23 ajeeb

  • Senior Member
  • 385 posts

0
Neutral

Posted 21 November 2014 - 15:39

hi, I don't have this package (ntpq: not found)

 

br


Edited by ajeeb, 21 November 2014 - 15:40.

ET9000,DM500s+usbTTdvb-3600 ,DVB2000,Humax5400, MACbook PRO retina 13", MAC pro 2 x Quad XEON-2.8GB , 8GB ECC, 4TB+FusionDrive(SSD) , LG-24FHD, HD6870,Debian server

"Since the dawn of our species, Man has been blessed with curiosity"


Re: openpli 4 time sync ! NTP #24 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 21 November 2014 - 16:02

opkg install ntpq?


* 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: openpli 4 time sync ! NTP #25 ajeeb

  • Senior Member
  • 385 posts

0
Neutral

Posted 21 November 2014 - 16:05

nop!


ET9000,DM500s+usbTTdvb-3600 ,DVB2000,Humax5400, MACbook PRO retina 13", MAC pro 2 x Quad XEON-2.8GB , 8GB ECC, 4TB+FusionDrive(SSD) , LG-24FHD, HD6870,Debian server

"Since the dawn of our species, Man has been blessed with curiosity"


Re: openpli 4 time sync ! NTP #26 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 21 November 2014 - 18:54

ntpd
Real musicians never die - they just decompose

Re: openpli 4 time sync ! NTP #27 ajeeb

  • Senior Member
  • 385 posts

0
Neutral

Posted 21 November 2014 - 19:15

root@et9x00:~# date

Fri Nov 21 21:42:44 IST 2014

root@et9x00:~# ntpd -q -p 0.pool.ntp.org

root@et9x00:~# date

Fri Nov 21 21:43:05 IST 2014

root@et9x00:~# 

 
while it should be 20:14:00 !!
 
 
BR

ET9000,DM500s+usbTTdvb-3600 ,DVB2000,Humax5400, MACbook PRO retina 13", MAC pro 2 x Quad XEON-2.8GB , 8GB ECC, 4TB+FusionDrive(SSD) , LG-24FHD, HD6870,Debian server

"Since the dawn of our species, Man has been blessed with curiosity"


Re: openpli 4 time sync ! NTP #28 janejak

  • Senior Member
  • 284 posts

+11
Neutral

Posted 21 November 2014 - 20:04

@ajeeb what timesone u have in ur area?

i have checket on my box

root@vuduo:~# ntpd -q -p ntp.uio.no
root@vuduo:~# date
Fri Nov 21 20:03:56 CET 2014



Re: openpli 4 time sync ! NTP #29 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 November 2014 - 20:15

According to

Fri Nov 21 21:42:44 IST 2014

it is IST = India Standard Time

And that's "UTC Offset: UTC +5:30". So 1:30 difference can be correct...


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: openpli 4 time sync ! NTP #30 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 November 2014 - 20:29

Why don't we integrate getting time from ntp in enigma2? (When there is no time broadcasted from providers/transponders)

It seems quite simple to call ntp from python:

http://blog.mattcram...ver-from-python
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: openpli 4 time sync ! NTP #31 WanWizard

  • PLi® Core member
  • 70,554 posts

+1,813
Excellent

Posted 21 November 2014 - 20:56

Because there are quite a few cases where there is no internet connection, because you need to do it only once, because nobody knows the side-effects in Engima if some external process suddenly changes the clock?

 

If you have this requirement, install Dima's systemtime plugin, problem solved.


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: openpli 4 time sync ! NTP #32 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 21 November 2014 - 21:11

Also it defies the whole concept of DVB, it's a blunt workaround...


* 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: openpli 4 time sync ! NTP #33 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 November 2014 - 21:38

But if you are using remote http ts streams how it can get the time?

Since enigma2 is setting the time from DVB it should have an optional "failback", use ntp. Query against "failback" must be rate-limited (eg once every 1024 seconds)...
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: openpli 4 time sync ! NTP #34 ajeeb

  • Senior Member
  • 385 posts

0
Neutral

Posted 21 November 2014 - 21:49

Well, am +2 GMT
and still no time update !!!

BR

ET9000,DM500s+usbTTdvb-3600 ,DVB2000,Humax5400, MACbook PRO retina 13", MAC pro 2 x Quad XEON-2.8GB , 8GB ECC, 4TB+FusionDrive(SSD) , LG-24FHD, HD6870,Debian server

"Since the dawn of our species, Man has been blessed with curiosity"


Re: openpli 4 time sync ! NTP #35 WanWizard

  • PLi® Core member
  • 70,554 posts

+1,813
Excellent

Posted 21 November 2014 - 23:13

athiok,

 

Systemtime plugin. Since no box has an RTC, but it can keep time, fetching the time only once is enough. My prime box doesn't have a tuner connected, I do everything with streams. And no problem, no need for continuous NTP updates...

 

ajeeb,

 

If you're box is set to Indian time, and you're in GMT+2, you should start by setting the correct timezone.


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: openpli 4 time sync ! NTP #36 ajeeb

  • Senior Member
  • 385 posts

0
Neutral

Posted 21 November 2014 - 23:27

OK systemtime solve the problem
TY all

BR

ET9000,DM500s+usbTTdvb-3600 ,DVB2000,Humax5400, MACbook PRO retina 13", MAC pro 2 x Quad XEON-2.8GB , 8GB ECC, 4TB+FusionDrive(SSD) , LG-24FHD, HD6870,Debian server

"Since the dawn of our species, Man has been blessed with curiosity"


Re: openpli 4 time sync ! NTP #37 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 21 November 2014 - 23:28

I suppose this IST stands for Israel Standard Time in this case, which is UTC +2:00 indeed...


True sarcasm doesn't need green font...

Re: openpli 4 time sync ! NTP #38 WanWizard

  • PLi® Core member
  • 70,554 posts

+1,813
Excellent

Posted 22 November 2014 - 08:45

Hmmm... That is confusing. Seems it could be Indian, Israeli or Irish...


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: openpli 4 time sync ! NTP #39 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 22 November 2014 - 08:46

Idiot ;)

on the Glassfibre 1GB DVB-C...


Re: openpli 4 time sync ! NTP #40 ajeeb

  • Senior Member
  • 385 posts

0
Neutral

Posted 22 November 2014 - 10:35

 lol, why there no option at native firmware to customise time zone ...etc , like systemtime plugin ... 

BTW , am I in Palestine and not ISRAEL


Edited by ajeeb, 22 November 2014 - 10:37.

ET9000,DM500s+usbTTdvb-3600 ,DVB2000,Humax5400, MACbook PRO retina 13", MAC pro 2 x Quad XEON-2.8GB , 8GB ECC, 4TB+FusionDrive(SSD) , LG-24FHD, HD6870,Debian server

"Since the dawn of our species, Man has been blessed with curiosity"



4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users