The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,927 other followers

Force NTP Time Update on Linux | KrazyWorks

Posted by jpluimers on 2020/06/01

A while ago, I had a problem that one of my Raspberry Pi machines hadn’t been turned on for a while, so after a reboot the clock was way off.

This resulted in errors like the below: SEC_ERROR_OCSP_FUTURE_RESPONSE errors indicating the TLS certificates being not yet valid (and numerous other TLS certificate issues).

The /etc/ntp.conf was OK, and rcntpd status indicated the service was running. Looking at /var/log/ntp.log I saw a few syncing issues:

11 Feb 20:04:15 ntpd[1419]: receive: Unexpected origin timestamp 0xde15bc7f.59622c55 does not match aorg 0000000000.00000000 from server@93.94.224.67 xmt 0xde2b122f.0d222048
11 Feb 20:04:15 ntpd[1419]: receive: Unexpected origin timestamp 0xde15bc7f.595fec0e does not match aorg 0000000000.00000000 from server@213.154.236.182 xmt 0xde2b122f.0dc06af7
11 Feb 20:04:15 ntpd[1419]: receive: Unexpected origin timestamp 0xde15bc7f.595d4584 does not match aorg 0000000000.00000000 from server@149.210.199.182 xmt 0xde2b122f.0df70400

My guess was that the time was so much of (more than a month) that syncing would not work, so a manual force was needed.

[Archive.is] Force NTP Time Update on Linux | KrazyWorks provides two solutions:

sntp -r pool.ntp.org
# or
ntpdate -u pool.ntp.org

Only the last one works; I’m not sure why yet:

daisy:/etc # ntpdate -u pool.ntp.org
15 Mar 19:20:59 ntpdate[2516]: step time server 131.211.8.244 offset 4140423.716209 sec

Further reading:

–jeroen

SEC_ERROR_OCSP_FUTURE_RESPONSE

SEC_ERROR_OCSP_FUTURE_RESPONSE

Posted in *nix, *nix-tools, ntpdate, Power User | Leave a Comment »

Reassembling the amazing hanger from Kickstarter

Posted by jpluimers on 2020/06/01

Just in case [Archive.is] How to Reassemble the Hangers lands in bit-heaven:

How to Reassemble the Hangers

instructions to reassemble them:

  1. Hold the two parts in your hand (as shown in Picture 1).
  2. Insert the thinner hook of the right part into the slot at the end of the left hook (Picture 2).
  3. Push the right hook into the slot counterclockwise until it’s all the way in (Picture 3).
  4. Turn the right part clockwise until the two arms meet (Picture 4).
  5. The hanger is fully reassembled (Picture 5).

–jeroen

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

Remote Desktop Auto Login Powershell Script · GitHub

Posted by jpluimers on 2020/05/29

Interesting: some PowerShell scripts that pipe a user and password through cmdkey.exe /generic:TERMSRV/$Computer /user:$User /pass:$Pass

–jeroen

Posted in *nix, Development, Linux, Power User, Software Development | Leave a Comment »

rrdtool: MRTG next level graphing | Syed Jahanzaib Personal Blog to Share Knowledge !

Posted by jpluimers on 2020/05/29

Even though the below link is to a draft post, it sill provides quite some guidance on how to use RRD graphs in an MRTG environment.

[WayBack] rrdtool: MRTG next level graphing | Syed Jahanzaib Personal Blog to Share Knowledge !

–jeroen

DRAFT VERSION: This is incomplete Post ! Some points may be missing, I will update them later .. We all know what is MRTG. You can graph so many information including temperature humidity, speed, v…

 

Posted in *nix, *nix-tools, Power User | Leave a Comment »

Getting rid of Docker plain text credentials – Hacker Noon

Posted by jpluimers on 2020/05/29

For my research list: [WayBack] Getting rid of Docker plain text credentials – Hacker Noon

Repository at [WayBack] GitHub – docker/docker-credential-helpers

–jeroen

Posted in *nix, *nix-tools, Cloud, Containers, Docker, Infrastructure, Power User | Leave a Comment »

 
%d bloggers like this: