Page 5 of 7

Posted: Tue 18 Oct 2011, 09:34
by tasmod
Version 2.5

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

Posted: Tue 18 Oct 2011, 11:27
by tasmod
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. 8)

Posted: Tue 18 Oct 2011, 14:26
by tasmod
Version 2.6-64 for 64bit systems such as FatDog etc

Posted: Sat 22 Oct 2011, 15:05
by tasmod
Slacko needs zdump adding to /usr/bin directory. See first page.

Posted: Fri 28 Oct 2011, 00:27
by Burunduk
Hi,

Psync doesn't set the RTC on my Lupu525 because of two HWCLOCKTIME in the /etc/clock file:

Code: Select all

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

Posted: Sat 29 Oct 2011, 11:33
by tasmod
I don't quite understand what you mean.

You have the hardware clock set as localtime.

What do you want to achieve?

Posted: Sat 29 Oct 2011, 11:53
by tasmod
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.

Posted: Sat 29 Oct 2011, 12:14
by tasmod
Versions 2.7 and 2.7-64 posted.

Thanks Burunduk

Posted: Sat 29 Oct 2011, 12:28
by 01micko
just a note that Slacko final does contain zdump (no devx)

Code: Select all

# which zdump
/usr/sbin/zdump

Posted: Sat 29 Oct 2011, 12:35
by tasmod
Yep thanks Mick.

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

Posted: Fri 04 Nov 2011, 20:21
by tasmod
Version 2.8 released. Checks and waits for wifi if using autostart.

Time Sync Issue on Live-CDs

Posted: Fri 10 Feb 2012, 15:26
by shadower_sc
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: Select all

[ ! "`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: Select all

ls -l

Local LAN's NTP

Posted: Fri 22 Jun 2012, 14:36
by gcmartin
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

Posted: Wed 27 Jun 2012, 11:13
by Atle
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

Posted: Wed 27 Jun 2012, 20:16
by tasmod
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.

Posted: Fri 29 Jun 2012, 08:26
by BarryK
Psync 2.8 is in the latest Squeezed Arm Puppy (sap) for the Raspberry Pi:

http://bkhome.org/blog/?viewDetailed=02874

...anyone with a RP is invited to test Psync in that environment.

Posted: Fri 29 Jun 2012, 10:03
by jamesbond
BarryK wrote:Psync 2.8 is in the latest Squeezed Arm Puppy (sap) for the Raspberry Pi:

http://bkhome.org/blog/?viewDetailed=02874

...anyone with a RP is invited to test Psync in that environment.
Binary of ntpdate does not exist inside sap 5.95 Image

Posted: Mon 02 Jul 2012, 01:17
by BarryK
jamesbond wrote:
BarryK wrote:Psync 2.8 is in the latest Squeezed Arm Puppy (sap) for the Raspberry Pi:

http://bkhome.org/blog/?viewDetailed=02874

...anyone with a RP is invited to test Psync in that environment.
Binary of ntpdate does not exist inside sap 5.95 Image
I have remedied that! version 5.96 (alpha2) has been uploaded, see my blog announcement:

http://bkhome.org/blog/?viewDetailed=02879

Posted: Mon 02 Jul 2012, 20:09
by tasmod
Sorry jamesbond,

I kept trying to upload it but failed. Still, Barry has rectified it anyway.

Posted: Tue 16 Apr 2013, 21:33
by Argolance
EDIT: :arrow: Please jump to this thread.
Cordialement.