Author |
Message |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: 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 
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: 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.
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typso 
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: 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 
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: 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 
|
Back to top
|
|
 |
Burunduk
Joined: 21 Aug 2011 Posts: 63
|
Posted: 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
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: 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 
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: 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 
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: 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 
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: 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 |
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: 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 
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: 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 
|
Back to top
|
|
 |
shadower_sc
Joined: 21 Apr 2010 Posts: 136 Location: Texas
|
Posted: 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.
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 6730 Location: Earth
|
Posted: 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 Engines or use DogPile
|
Back to top
|
|
 |
Atle
Joined: 19 Nov 2008 Posts: 600 Location: Oslo, Norway
|
Posted: 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
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: 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 
|
Back to top
|
|
 |
|