Jump to content


Photo

Receiver no longer time synced


  • Please log in to reply
173 replies to this topic

Re: Receiver no longer time synced #81 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 27 December 2017 - 18:31

BTW in a previous, very similar discussion, I already suggested the ultimate correct solution: add a RTC clock. We've been googling and it appears it just doesn't exists in a simple form that can be plugged into USB. I am quite sure I am could make something like this for $2 (using an ATtiny as USB to I2C gateway + a RTC chip), I am just not willing to spend the time on it. But who knows if some entrepeneur is interested.


* 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: Receiver no longer time synced #82 littlesat

  • PLi® Core member
  • 57,004 posts

+698
Excellent

Posted 27 December 2017 - 18:33

Doesn’t ntpd do a single shit with the -q option?

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


Re: Receiver no longer time synced #83 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 27 December 2017 - 18:34

Calling it bullshit does not detract from the problem.

Which problem?
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: Receiver no longer time synced #84 littlesat

  • PLi® Core member
  • 57,004 posts

+698
Excellent

Posted 27 December 2017 - 18:35

Doesn’t ntpd do a single shit with the -q option?

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


Re: Receiver no longer time synced #85 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 27 December 2017 - 18:37

Doesn’t ntpd do a single shit with the -q option?

A single shit and shot :)

-q no quit Set the time and quit
- prohibits these options:
saveconfigquit
wait-sync


1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: Receiver no longer time synced #86 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 27 December 2017 - 18:40

This behavior mimics that of the ntpdate program,

Also the manual says the ntpdate program will be replaced "soon" and I know it has been mentioning this for at least 10 years ;)

 

@Littlesat: you mentioned "-p" not "-q". "Path to the PID file".


Edited by Erik Slagter, 27 December 2017 - 18:41.

* 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: Receiver no longer time synced #87 Dimitrij

  • PLi® Core member
  • 10,205 posts

+346
Excellent

Posted 27 December 2017 - 19:01

BTW in a previous, very similar discussion, I already suggested the ultimate correct solution: add a RTC clock. We've been googling and it appears it just doesn't exists in a simple form that can be plugged into USB. I am quite sure I am could make something like this for $2 (using an ATtiny as USB to I2C gateway + a RTC chip), I am just not willing to spend the time on it. But who knows if some entrepeneur is interested.

https://www.keylok.c...real-time-clock


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


Re: Receiver no longer time synced #88 littlesat

  • PLi® Core member
  • 57,004 posts

+698
Excellent

Posted 27 December 2017 - 19:07

I had to mention -qp but I mentioned -p only... ntpd is standard in the image, ntpdate not...

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


Re: Receiver no longer time synced #89 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 27 December 2017 - 19:19

BTW in a previous, very similar discussion, I already suggested the ultimate correct solution: add a RTC clock. We've been googling and it appears it just doesn't exists in a simple form that can be plugged into USB. I am quite sure I am could make something like this for $2 (using an ATtiny as USB to I2C gateway + a RTC chip), I am just not willing to spend the time on it. But who knows if some entrepeneur is interested.

https://www.keylok.c...real-time-clock

Yes, that one, but it's expensive, which can't really be explained.


* 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: Receiver no longer time synced #90 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 27 December 2017 - 19:20

I had to mention -qp but I mentioned -p only... ntpd is standard in the image, ntpdate not...

We can fix that easily. As mentioned ntpdate is either a very simple replacement of ntpd, or it's a shell script that calls ntpd with -q ;)


* 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: Receiver no longer time synced #91 MiLo

  • PLi® Core member
  • 14,054 posts

+298
Excellent

Posted 28 December 2017 - 12:30

BTW in a previous, very similar discussion, I already suggested the ultimate correct solution: add a RTC clock. We've been googling and it appears it just doesn't exists in a simple form that can be plugged into USB.


You could get an I2C RTC chip, with integrated battery, and connect it to any I2C inside the box (tuner slot?). That'd be more cost effective, but not very generic...
Real musicians never die - they just decompose

Re: Receiver no longer time synced #92 mrvica

  • Senior Member
  • 1,258 posts

+86
Good

Posted 28 December 2017 - 13:36

for the good old dbox2 there was a RTC kit
https://www.dbox2.co...-interface.html
https://wiki.neutrin...2:RealTimeClock

Edited by mrvica, 28 December 2017 - 13:40.


Re: Receiver no longer time synced #93 Abu Baniaz

  • PLi® Contributor
  • 2,490 posts

+64
Good

Posted 28 December 2017 - 17:21

What is the command to sync time please?The following are not working for me.

 

root@vusolo4k:~# date
Thu Dec 28 23:17:52 GMT 2017
root@vusolo4k:~# ntpd -qp pool.ntp.org
root@vusolo4k:~# date
Thu Dec 28 23:17:58 GMT 2017
root@vusolo4k:~# ntpdate -s -u pool.ntp.org
root@vusolo4k:~# date
Thu Dec 28 23:18:26 GMT 2017
root@vusolo4k:~#


Re: Receiver no longer time synced #94 WanWizard

  • PLi® Core member
  • 70,058 posts

+1,790
Excellent

Posted 28 December 2017 - 17:24

if that means your clock is currently off (by more than 120s), none of them will work. That is the main issue of this entire thread.

 

You might have more luck by stopping Enigma first using "init 4". 


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: Receiver no longer time synced #95 Abu Baniaz

  • PLi® Contributor
  • 2,490 posts

+64
Good

Posted 28 December 2017 - 17:34

Thanks for suggestion. No joy with an init 4 either. So would be grateful for any other suggestions



Re: Receiver no longer time synced #96 mrvica

  • Senior Member
  • 1,258 posts

+86
Good

Posted 28 December 2017 - 17:39

the same here, for a moment it looks good, something sets time back

root@inihde:/var/volatile/tmp# date
Thu Dec 28 17:36:53 CET 2017
root@inihde:/var/volatile/tmp# date -D %s -d $(($(date +%s) + 7200))
Thu Dec 28 19:36:58 CET 2017
root@inihde:/var/volatile/tmp# date
Thu Dec 28 17:37:03 CET 2017

root@inihde:/var/volatile/tmp# init 4

root@inihde:/var/volatile/tmp# date
Thu Dec 28 17:37:21 CET 2017
root@inihde:/var/volatile/tmp# date -D %s -d $(($(date +%s) + 120))
Thu Dec 28 17:39:36 CET 2017
root@inihde:/var/volatile/tmp# date
Thu Dec 28 17:37:41 CET 2017
root@inihde:/var/volatile/tmp#

Re: Receiver no longer time synced #97 mattiL

  • Senior Member
  • 268 posts

+5
Neutral

Posted 28 December 2017 - 17:45

A poweroff for a few minutes solved it for me, after that time was set correctly.



Re: Receiver no longer time synced #98 WanWizard

  • PLi® Core member
  • 70,058 posts

+1,790
Excellent

Posted 28 December 2017 - 21:23

If "init 4" doesn't work, than means it is not code in Enigma that refuses the clock change. Interesting...


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: Receiver no longer time synced #99 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 29 December 2017 - 11:33

 

BTW in a previous, very similar discussion, I already suggested the ultimate correct solution: add a RTC clock. We've been googling and it appears it just doesn't exists in a simple form that can be plugged into USB.


You could get an I2C RTC chip, with integrated battery, and connect it to any I2C inside the box (tuner slot?). That'd be more cost effective, but not very generic...

That would cost you about $ 0.20 but it has a few drawbacks:
- most of them are SOIC or smaller
- how are you going to adress them from user space, if the driver do not share the bus with user space (kernel i2c subsystem)

- possible address conflicts with tuners or other native hardware

So I still think USB is the way to go.


* 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: Receiver no longer time synced #100 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 29 December 2017 - 11:35

If "init 4" doesn't work, than means it is not code in Enigma that refuses the clock change. Interesting...

If you're using ntp instead of ntpdate, ntp will not adjust the clock immediately but it will gradually adjust it, over a large timespan. That's not what you want in this case.


* 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.



39 user(s) are reading this topic

0 members, 39 guests, 0 anonymous users