Category Archives: Linux

Raspberry Pi USB webcam turned into IP camera

Intro Why would you even want to do this when you can buy a native IP webcam for less? I’m not sure, but i found myself in this situation so it could happen to others, and I found some things … Continue reading

Posted in Linux, Raspberry Pi, Web Site Technologies | Tagged , | Leave a comment

A first taste of OpenCV on a Raspberry Pi 3

Intro I’ve done a few things to do some vision processing with OpenCV on a Raspberry Pi 3. I am a rank amateur so my meager efforts will not be of much help to anyone else. My idea is that … Continue reading

Posted in Linux, Python, Raspberry Pi | Tagged | Leave a comment

Linux Tip: too lazy to write a startup script? how to fake it

Intro systemd can be pretty formidable to master. Say you have your own little script you like to run but you don’t want to bother with inserting it into the systemd facility. What can you do? The details A simple … Continue reading

Posted in Admin, Linux | Leave a comment

Raspberry Pi automates cable modem power cycling task

Intro I lose my Internet far too often – sometimes once a day. Of course I have lots of network gear in a rat’s nest of cables. I narrowed the problem down to the cable modem, which simply needs to … Continue reading

Posted in Linux, Raspberry Pi | Tagged | Leave a comment

Relative time with the linux date command

The situation A server in Europe needs to transfer a log file which is written every hour from a server in the US. The filename format is 20171013-1039.log.gz And we want the transfer to be done every hour. How we … Continue reading

Posted in Admin, Linux | Tagged | Leave a comment

Fail2ban fails to work, I built my own

Intro I’ve sung the praises of fail2ban as a modern way to shutdown those annoying probes of your cloud server. I recently got to work with a Redhat v 7.4 system, so much newer than my old CentOS 6 server. … Continue reading

Posted in Admin, Linux, Security | Tagged | Leave a comment

Verifying a pkcs12 file with openssl

Intro The easy way How to examine a pkcs12 (pfx) file $ openssl pkcs12 ‐info ‐in file_name.pfx It will prompt you for the password a total of three times! The hard way I went through this whole exercise because I … Continue reading

Posted in Linux, Security | Tagged , | Leave a comment

Compiling curl and openssl on Redhat Linux

Intro I have an ancient Redhat system which I’m not in a position to upgrade. I like to use curl to test web sites, but it’s getting to the point that my ancient version has no SSL versions in common … Continue reading

Posted in Linux, SLES, Web Site Technologies | Tagged , , , | 1 Comment

Reverse upper and lower case letters

Intro I am a look-at-the-keyboard typist! I can’t count the number of times I’ve begun an email with CAPs lock on, and found a nice correspondence looking like this: hI aNDRES,   i RE-CREATED THE SCRIPT. …hI aNDRES, i RE-CREATED … Continue reading

Posted in Admin, Linux | Tagged | Leave a comment

curl showing its age with SSL error

Intro I’ve used curl as a debugging tool for a long time. But time moves on and my testing system didn’t. So now for the first time I saw an error that is produced by this situation, and I will … Continue reading

Posted in Linux, Web Site Technologies | Tagged , , , , , | 3 Comments