Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 21 Aug 2014, 00:38
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Psync Time Synchroniser Version 2.9 & 2.7-64bit
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 8 [118 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Author Message
tasmod


Joined: 04 Dec 2008
Posts: 1461
Location: North Lincolnshire. UK

PostPosted: Tue 18 Oct 2011, 05:34    Post subject:  

Version 2.5

Added code to check for DST not applying to a timezone.

_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
tasmod


Joined: 04 Dec 2008
Posts: 1461
Location: North Lincolnshire. UK

PostPosted: Tue 18 Oct 2011, 07:27    Post subject:  

Version 2.6

Sorry if this is a bit quick on the heels of 2.5

The time servers report back has changed in text length several times. This required a minor rewrite each time, as the report window contained 'bits' of extraneous text.

Now I believe I have trapped a change in text length and compensated for it.

This means no more minor releases just for that.

This issue has always annoyed me. Cool

_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
tasmod


Joined: 04 Dec 2008
Posts: 1461
Location: North Lincolnshire. UK

PostPosted: Tue 18 Oct 2011, 10:26    Post subject:  

Version 2.6-64 for 64bit systems such as FatDog etc
_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
tasmod


Joined: 04 Dec 2008
Posts: 1461
Location: North Lincolnshire. UK

PostPosted: Sat 22 Oct 2011, 11:05    Post subject:  

Slacko needs zdump adding to /usr/bin directory. See first page.
_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
Burunduk

Joined: 21 Aug 2011
Posts: 62

PostPosted: Thu 27 Oct 2011, 20:27    Post subject:  

Hi,

Psync doesn't set the RTC on my Lupu525 because of two HWCLOCKTIME in the /etc/clock file:
Code:
#Set this to either 'utc' or 'localtime' based on which one your computer's
#hardware clock uses.
HWCLOCKTIME=localtime
#HWCLOCKTIME=utc

Although the last line is commented out, 'HWCLOCKTIME' still matches it. As a result $HTIME is set to "localtime utc" and the hwclock command is never executed. I don't know how this file looks in other Puppies. Maybe '^[[:space:]]*HWCLOCKTIME' or simply '^HWCLOCKTIME' would be a better choice here.
Back to top
View user's profile Send private message 
tasmod


Joined: 04 Dec 2008
Posts: 1461
Location: North Lincolnshire. UK

PostPosted: Sat 29 Oct 2011, 07:33    Post subject:  

I don't quite understand what you mean.

You have the hardware clock set as localtime.

What do you want to achieve?

_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
tasmod


Joined: 04 Dec 2008
Posts: 1461
Location: North Lincolnshire. UK

PostPosted: Sat 29 Oct 2011, 07:53    Post subject:  

Sorry, sorry, got it now.

I switched back to 525 to examine my 'clock' file and I only had one entry. HWCLOCKTIME=utc

Not sure if this wasn't changed by the zone wizard.

I now see what you mean about $HTIME not matching using 525 'clock' file.

Strange no-one has mentioned this. I need to alter the grep line as you suggest to accomodate extra lines. It may be when I first made this change that was just one line entry. I'm on 529 just now and 'clock' contains same as you report for your 525.

Ahh, I remember now, this was a later change to Psync to accomodate UTC being set as option in Zone setting wizard. I originally asked users to use localtime setting only to allow DST.

EDIT:

Confirmed. If the zone wizard is used and the tick ' hardware clock set to utc' then the wizard rewrites the 'clock' file with one line only.
My mistake, I missed this when testing the utc function, I didn't realise it changed the file. So it worked OK during my rewrite testing.

Thanks for pointing this out. I will post a new Psync shortly.

_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
tasmod


Joined: 04 Dec 2008
Posts: 1461
Location: North Lincolnshire. UK

PostPosted: Sat 29 Oct 2011, 08:14    Post subject:  

Versions 2.7 and 2.7-64 posted.

Thanks Burunduk

_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Sat 29 Oct 2011, 08:28    Post subject:  

just a note that Slacko final does contain zdump (no devx)
Code:
# which zdump
/usr/sbin/zdump

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
tasmod


Joined: 04 Dec 2008
Posts: 1461
Location: North Lincolnshire. UK

PostPosted: Sat 29 Oct 2011, 08:35    Post subject:  

Yep thanks Mick.

Have 5.3 on test at moment, just setting everything to my liking.

_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
tasmod


Joined: 04 Dec 2008
Posts: 1461
Location: North Lincolnshire. UK

PostPosted: Fri 04 Nov 2011, 16:21    Post subject:  

Version 2.8 released. Checks and waits for wifi if using autostart.
_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Fri 10 Feb 2012, 11:26    Post subject: Time Sync Issue on Live-CDs  

I was having issues with syncing the time on my Re-Mastered Live-CDs.

It game me a few errors. One of them was that it was unable to connect to the server blah.pool.ntp.org.

I fixed it by including this line at the top of the /root/Startup/timesync.sh file.
Code:
[ ! "`grep 'ntp 123/tcp' /etc/services`" ] && echo -e "ntp 123/tcp\nntp 123/udp" >> /etc/services


When Re-Mastering the CD I had to make sure that I copied the symlink file /etc/localtime to /tmp/etc/.

Make sure the symlink is pointing to the correct time zone by running this command in the /etc/ folder.
Code:
ls -l
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4211
Location: Earth

PostPosted: Fri 22 Jun 2012, 10:36    Post subject: Local LAN's NTP  

Questions
  • Is this package enabled to use a NTP server that is already on the local LAN?
  • What must be done to use the local service versus going to the internet via this package?
Thanks in advance

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
Atle

Joined: 19 Nov 2008
Posts: 283
Location: Oslo, Norway

PostPosted: Wed 27 Jun 2012, 07:13    Post subject:  

Thanks for this beauty. My bios battery was dead and this resolved my challenge with https and pidgin, in in certificates due to wrong year etc in hardware.

Thanks to this little piece of software and some instructions, I now got it all automatic...


Thanks again...

Atle
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
tasmod


Joined: 04 Dec 2008
Posts: 1461
Location: North Lincolnshire. UK

PostPosted: Wed 27 Jun 2012, 16:16    Post subject:  

gcmartin,

The ntp call is to a 'pool' addresses of servers hard coded in the function psync, at the top.

Look at top of that, as a test comment out the pool local to you and add your ntp server address. Try synching and see what happens, that's all I can suggest.

If you use 'Europe' then comment out the Europe pool add your address. Use the 'Europe' button on the gui to test.

Let me know how you get on.
===========

Atle,

Your welcome.

_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 7 of 8 [118 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0802s ][ Queries: 13 (0.0064s) ][ GZIP on ]