Eurocardsharing

Go Back   Eurocardsharing > Sharing receivers > VU+ DUO > Chat

Chat Discussion, VU+ Duo showing time incorrect at VU+ DUO forum; Hi, I am using PLi on VU+ Duo and even though I set the timezone correctly, the clock shown on ...

Reply
 
LinkBack Thread Tools Display Modes
VU+ Duo showing time incorrect
Old
  (#1)
druiddk
Card monger
 
druiddk's Avatar
 
Offline
Posts: 96

Level: 8 [♥ Bé-Yêu ♥]
Life: 0 / 194
Magic: 32 / 5704
Experience: 78%

Thanks: 28
Thanked 17 Times in 12 Posts
Join Date: Dec 2007
VU+ Duo showing time incorrect - 22-July-2010, 16:10

Hi,

I am using PLi on VU+ Duo and even though I set the timezone correctly, the clock shown on screen is still like 2 hours ahead.

Any ideas what I have done wrong?

Thanks!


Hardware: VU+ Duo with Triax TD100 with Inverto Black Ultra LNB on Stab HH-100 motor
Sat positions: 30W, 15W, 5W, 0.8W, 4.8E, 7E, 9E, 13E, 16E, 19.2E & 28.2E
Software: OpenPLI
CAM: CCcam 2.1.1


Member of Trusted Peers

   
Reply With Quote
Old
  (#2)
handy1958
Junior Member
 
handy1958's Avatar
 
Offline
Posts: 17

Level: 2 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 46
Magic: 5 / 1320
Experience: 86%

Thanks: 6
Thanked 5 Times in 5 Posts
Join Date: Apr 2008
22-July-2010, 18:01

ive had similar issue with pli image on my tm800HD ive installed manually ntpupdatemanager (its an internet clock updater) and as soon as set to local server ( in my case united kingdom) i did hard reboot (power off then on ) and my time is keeping time
   
Reply With Quote
Sponsored Links
Old
  (#3)
druiddk
Card monger
 
druiddk's Avatar
 
Offline
Posts: 96

Level: 8 [♥ Bé-Yêu ♥]
Life: 0 / 194
Magic: 32 / 5704
Experience: 78%

Thanks: 28
Thanked 17 Times in 12 Posts
Join Date: Dec 2007
22-July-2010, 20:20

Thank you for responding.

I know about ntp servers, but im not sure how to manually install a ntp client on the pli image... can you give any tips?


Hardware: VU+ Duo with Triax TD100 with Inverto Black Ultra LNB on Stab HH-100 motor
Sat positions: 30W, 15W, 5W, 0.8W, 4.8E, 7E, 9E, 13E, 16E, 19.2E & 28.2E
Software: OpenPLI
CAM: CCcam 2.1.1


Member of Trusted Peers

   
Reply With Quote
Old
  (#4)
handy1958
Junior Member
 
handy1958's Avatar
 
Offline
Posts: 17

Level: 2 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 46
Magic: 5 / 1320
Experience: 86%

Thanks: 6
Thanked 5 Times in 5 Posts
Join Date: Apr 2008
22-July-2010, 21:49

download the ntpupdatemanger proggy .

ftp it over to tmp dir on your box

then us telnet login and go to tmp dir and run the install

in my box i type

ipkg install ntpupdatemanager.ipk

on my box i then go to plugins and select download then exit it
then go to plugins again and it shouild be in the installed list

select it and then go to zone and pick server
exit plugins then kill power to box and then power up again

Last edited by handy1958; 22-July-2010 at 21:53..
   
Reply With Quote
Solved
Old
  (#5)
druiddk
Card monger
 
druiddk's Avatar
 
Offline
Posts: 96

Level: 8 [♥ Bé-Yêu ♥]
Life: 0 / 194
Magic: 32 / 5704
Experience: 78%

Thanks: 28
Thanked 17 Times in 12 Posts
Join Date: Dec 2007
Thumbs up Solved - 23-July-2010, 01:22

I gave up finding a ntpdate binary that worked on my box.
Instead I found some other info - I do not take credit for this just stating that it works:

Use command: vi /bin/ntpdate
Paste in this:
Code:
#!/usr/bin/python
import socket
import struct
import sys
import time

TIME1970 = 2208988800L      # Thanks to F.Lundh

client = socket.socket( socket.AF_INET, socket.SOCK_DGRAM )
data = '\x1b' + 47 * '\0'
client.sendto(data, ("0.uk.pool.ntp.org", 123))
data, address = client.recvfrom(1024)
if data:
        #print 'Response received from:', address
        t = struct.unpack( '!12I', data )[10]
        t -= TIME1970
        #print '\tTime=%s' % time.ctime(t)
        #print "Day and Date:", time.strftime("%a %m/%d/%y", t)
        #time.strftime("%H:%M:%S", time.ctime(t))
        now = time.localtime(t)
        print time.strftime("%Y-%m-%d %H:%M:%S", now)
Use command: chmod 755 /bin/ntpdate
Use command: crontab -e
Paste in this: */15 * * * * date -s "`ntpdate`"

Now it will update the time every 15 minutes 24/7.


Hardware: VU+ Duo with Triax TD100 with Inverto Black Ultra LNB on Stab HH-100 motor
Sat positions: 30W, 15W, 5W, 0.8W, 4.8E, 7E, 9E, 13E, 16E, 19.2E & 28.2E
Software: OpenPLI
CAM: CCcam 2.1.1


Member of Trusted Peers

   
Reply With Quote
The Following User Says Thank You to druiddk For This Useful Post:
linux geek (04-November-2010)
Old
  (#6)
keeper79
Junior Member
 
keeper79's Avatar
 
Offline
Posts: 13

Level: 2 [♥ Bé-Yêu ♥]
Life: 0 / 34
Magic: 4 / 676
Experience: 38%

Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Apr 2011
06-April-2011, 22:02

Quote:
Originally Posted by druiddk View Post
I gave up finding a ntpdate binary that worked on my box.
Instead I found some other info - I do not take credit for this just stating that it works:

Use command: vi /bin/ntpdate
Paste in this:
Code:
#!/usr/bin/python
import socket
import struct
import sys
import time

TIME1970 = 2208988800L      # Thanks to F.Lundh

client = socket.socket( socket.AF_INET, socket.SOCK_DGRAM )
data = '\x1b' + 47 * '\0'
client.sendto(data, ("0.uk.pool.ntp.org", 123))
data, address = client.recvfrom(1024)
if data:
        #print 'Response received from:', address
        t = struct.unpack( '!12I', data )[10]
        t -= TIME1970
        #print '\tTime=%s' % time.ctime(t)
        #print "Day and Date:", time.strftime("%a %m/%d/%y", t)
        #time.strftime("%H:%M:%S", time.ctime(t))
        now = time.localtime(t)
        print time.strftime("%Y-%m-%d %H:%M:%S", now)
Use command: chmod 755 /bin/ntpdate
Use command: crontab -e
Paste in this: */15 * * * * date -s "`ntpdate`"

Now it will update the time every 15 minutes 24/7.


thanks for the above. i must admit i have never encountered this time syncing issue with the same box and image, it always synced fine via european transponders/channels.
   
Reply With Quote
Reply

Bookmarks

Tags
incorrect, showing, time


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



ECS on RSS ECS on Twitter ECS on Facebook ECS on Youtube
Follow us on:

Powered by vBulletin
Copyright 2002 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Dreambox