Psync Time Synchroniser Version 2.9 & 2.7-64bit

Core libraries and systems
Message
Author
User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#81 Post by tasmod »

Psync-2.0

A more accurate opening report with no latency added.

The final sync report is accurate as processing has finished.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#82 Post by tasmod »

Psync 2.1 released.

This generates a report window from the temporary file.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
r1tz
Posts: 162
Joined: Thu 09 Sep 2010, 05:19
Location: In #puppylinux (IRC)

#83 Post by r1tz »

echo -e"EUROPEREP" >> /usr/local/psync/setcoutry
Line 41 of /usr/local/psync/psyncfunc
(default installation in lucid 525)

Line 66 in the newest version.

Bug causes autostart to fail if person is from europe.

john3voltas
Posts: 102
Joined: Mon 23 May 2011, 13:10

#84 Post by john3voltas »

Exactly.
I asked for help in the IRC channel and rltz was a good chap and found the issue with the command syntax in line 66.
Could you please have this fixed for the next release?
Thanks for your help.
Cheers

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#85 Post by tasmod »

OK guys thanks for this.

I see a space is missing causing the problem.

I'll release an update.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#86 Post by tasmod »

Corrected version 2.2 posted.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

john3voltas
Posts: 102
Joined: Mon 23 May 2011, 13:10

#87 Post by john3voltas »

Thanks Rob :).
Cheers

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#88 Post by tasmod »

Version 2.3 released to fix the report window for time offset.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#89 Post by tasmod »

Fatdog 64 bit version posted.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#90 Post by tasmod »

Psync 2.4 version.

I've added the Daylight Savings dates if applicable to timezone.

I haven't checked all timezones for which ones don't apply DST so there may be an odd entry in the filed.
Attachments
psync24.jpg
Psync report window with DST dates showing.
(42.05 KiB) Downloaded 1037 times
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#91 Post by tasmod »

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 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#92 Post 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)
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#93 Post by tasmod »

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 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#94 Post by tasmod »

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 8)

Burunduk
Posts: 80
Joined: Sun 21 Aug 2011, 21:44

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

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#96 Post by tasmod »

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 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#97 Post 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.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#98 Post by tasmod »

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 8)

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#99 Post by 01micko »

just a note that Slacko final does contain zdump (no devx)

Code: Select all

# which zdump
/usr/sbin/zdump
Puppy Linux Blog - contact me for access

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#100 Post by tasmod »

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 8)

Post Reply