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:

#61 Post by tasmod »

Hi Trio,

oops, all OK now, changed line in pet.

If there are going to be any more changes I assume they will be cosmetic and it will be full version 1 then.

It has been tweaked now to handle large offsets as it starts with date first not time. Before, if there was a date discrepency it would hold computer for quite a while as it crept everything up to time.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#62 Post by Pizzasgood »

tasmod wrote:Strangely, if the offset is different by an amount larger than say 3 minutes then the time set will blank the display for some time whilst it resets the time. It can be minutes or so before desktop returns.
Just wiggle the mouse and it will come right back.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

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

#63 Post by tasmod »

Posted version 1.0 just a small change to display text and to help file.

I assume this will be the final version as I can see no further alterations required.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#64 Post by Lobster »

Hi Tasmod

Am I here too late - or too soon?
I set the time zone (London)
then ran the program.

I had lost an hour
clocks here don't go back until 25 October
I had to check with a live BBC news feed to get the time

Is there something that your program needs to do
or can I now close down the tmxxine project? :)
and know I am in the past watching a future BBC broadcast . . .
http://tmxxine.com/www/FaqsTmxxine
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#65 Post by Sylvander »

Set your timezone to Europe/London; NOT to GMT.

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#66 Post by davesurrey »

Lobster:
And assuming you have set it, as you said above, to Europe/London not GMT offset then don't forget to reboot for it to take effect.

Also I believe you have to have set the locale correctly.

Running on 214X15 happily now and just did a re-sync to ensure it didn't get confused as to when the clocks go back.

Cheers
Dave

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

#67 Post by tasmod »

Updated version Psync 1.1

Once choice has been made for time server, then the next window presents a choice of whether you want the time automatically synchronised at every boot.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#68 Post by vovchik »

Dear tasmod,

Works very nicely in Puppy 3.x and 4x. Thanks.

With kind regards,
vovchik

Fishback
Posts: 56
Joined: Sun 24 May 2009, 06:08

#69 Post by Fishback »

Tasmod -
Excellent program! Installed it in Lucid Puppy 5.1 and it worked perfectly, even before rebooting. A very useful utility for my old laptop that has a weak CMOS battery and no main battery.!

The only drawback has more to do with the always poor (but slowly getting better) wireless support in Puppy. I've never been able to get any Puppy version to re-establish a wireless connection upon reboot, and have always had to step through one of the wireless wizards. That means there is no Internet connection when Psync tries to contact a time server.

But being able to set the date and time with a couple of mouse clicks is fantastic!

Many Thanks!

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

#70 Post by tasmod »

Thanks.

I did think about this just the other day as i was playing with a Luci iso.

However I've stopped with it for now. I will look again but I consider it would be better to get a persistent wireless rather than mod my app.
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:

#71 Post by tasmod »

Version 1.2 needed as Lucid uses a symlink to the TimeZone information. Unless you are using Lucid Puppy or a 4 series Puppy , I would suggest staying with 1.1.
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:

#72 Post by tasmod »

Version 1.3.

Updated due to change in way the selected time server reports back when time is set. This gave an incorrect text in the final window.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

optional time server

#73 Post by shinobar »

@tasmod
Thanks for the useful tool.
I have a request adding new feature, hope you concider.

I have own time server in my home LAN.
The DHCP server provides the IP or hostname of the time server, and the dhcpcd leaves it on the file /etc/ntp.conf.
The /etc/ntp.conf in my case:

Code: Select all

# Generated by dhcpcd for interface eth0
restrict default noquery notrust nomodify
restrict 127.0.0.1
restrict 192.168.11.2 nomodify notrap noquery
server 192.168.11.2
(Lupu/LupQ-511 doesn't leave /etc/ntp.conf, maybe depends on the setting of the /etc/dhcpcd.conf.)

Can we use the information if available?
I guess it is not popular but some internet provider provides their own time server.

Or, how about to make an entry box to enter the time server as an option?
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

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

#74 Post by tasmod »

Version 1.4. Yet again the servers have changed the text sent back. This time I've attempted to trap another change without user noticing.

=====

Shinobar, sorry I missed your post.

Psync uses ntpdate and pool servers to synchronise time. I didn't write the 'fetch' routine so I am unable to change Psync for a local server.
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:

#75 Post by tasmod »

Version 1.5 A quiet version for autostarting.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#76 Post by Flash »

Psync just doesn't work for me. I choose the North America server. Psync seems to be doing something and doesn't report any errors, but when all is said and done, the time displayed in the lower right corner doesn't change even though it might be a minute or more off according to http://time.gov/

I haven't reported this because I don't see how what I have to say will be of any use. If there's anything I can do that will help figure out why Psync doesn't work for me, let me know and I'll try to do it.

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

#77 Post by tasmod »

Version 1.6
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:

#78 Post by tasmod »

Flash,

have you tried manually changing your clock by a few minutes and then run psync.

Please let me know if it doesn't alter.

I tried it and used NA and it worked.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#79 Post by Flash »

I set the clock 7 minutes ahead according to time.gov, then told Psync to set the clock from the North American time server. Psync reported back that it did, but the end result was the same time as before - the time displayed by my computer is 7 minutes fast. Psync may be setting a clock somewhere in my computer, but that time is not showing up on my display.

I know there are system clocks and other kinds, and UTC and so forth. I never paid attention to the explanations and discussions of the many different kinds of time a computer can keep, because why the hell can't everyone agree on one simple way for a computer to keep time? Sheesh. :?

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

#80 Post by tasmod »

Psync 1.8 released.

Not sure if this suits everyone, it will take notice of UTC setting if you wish.

The trade off is the opening screen includes approx. .9 second software latency added to the report. However the sync button report is accurate.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

Post Reply