Psync Time Synchroniser Version 2.9 & 2.7-64bit
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.
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.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)
-
The moment after you press "Post" is the moment you actually see the typso 8)
Hi,
Psync doesn't set the RTC on my Lupu525 because of two HWCLOCKTIME in the /etc/clock file:
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.
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
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.
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)
-
The moment after you press "Post" is the moment you actually see the typso 8)
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
-
- Posts: 136
- Joined: Wed 21 Apr 2010, 23:03
- Location: Texas
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.
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.
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
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
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?
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.
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 8)
-
The moment after you press "Post" is the moment you actually see the typso 8)
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
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.
http://bkhome.org/blog/?viewDetailed=02874
...anyone with a RP is invited to test Psync in that environment.
[url]https://bkhome.org/news/[/url]
Binary of ntpdate does not exist inside sap 5.95BarryK 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.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
I have remedied that! version 5.96 (alpha2) has been uploaded, see my blog announcement:jamesbond wrote:Binary of ntpdate does not exist inside sap 5.95BarryK 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.
http://bkhome.org/blog/?viewDetailed=02879
[url]https://bkhome.org/news/[/url]
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
EDIT: Please jump to this thread.
Cordialement.
Cordialement.