Posts

Life without Parole: Letters from Prison: Alban

Image
  Dear Alban , I’m sorry I haven’t written sooner. Four weeks ago they moved me from prison to palliative care, though I don’t know if anyone reported it—I haven’t been following the news. The doctors confirmed stage IV pancreatic cancer. They don’t think I have more than a few weeks left. For months I dismissed the dull ache in my belly and back as prison life—the cold, the hard bed, the terrible food. I blamed the weight loss on the same. By the time they finally diagnosed me, the cancer had spread everywhere. Pancreatic tumours are insidious that way; they hide until it’s too late. The classic signs—tummy pain, back pain, unexplained weight loss—I had them all, but I simply mistook for the symptoms of being an old man in a cage. This letter has been months in the making, and most of it wasn’t written by my hand. The squiggly parts are mine. Everything else comes through a volunteer here who has become my scribe and, on difficult days, even helps organise my thoughts. Pick...

Setting up NUT UPS Software on Linux (a journey of discovery)

Image
Preamble I've written about this UPS software numerous times. The coverage was normally a stage in a larger guide. I was asked by a friend to help him setup NUT (Network UPS Tools) on his Linux box and decided to feed my notes into an AI, prompting it to update them and make improvements. NUT is an open-source solution distributed under the GNU General Public License (GPL) . It is manufacture neutral and is heading towards its 30th anniversary. Another important observations is that it is able to support a wide array of devices spanning the evolution of the technology over the years. To this one needs to add the fact that there is no standards body to ensure that every brand follows a fixed API that had evolved with oversight over time. The relevance of this information to the narrative is that the persons who support this project are volunteers who dedicate their own time to maintaining the project and do not have access to every UPS ever produced. This means that if the UPS y...

Install and configure Postfix (using Gmail as SMTP relay)

Image
Install packages apt update apt install -y postfix libsasl2-modules mailutils (Installs Postfix, the SASL modules required for authentication, and mailutils so you can send a messages from the command line.) During installation a dialogue will appear --- select Internet Site . (This configures Postfix for sending/receiving mail from the server; we will use a relayhost so outgoing mail is forwarded via Gmail.) Edit Postfix configuration nano /etc/postfix/main.cf Add or update these lines: relayhost = [smtp.gmail.com]:587 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_tls_security_level = encrypt smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt (These settings tell Postfix to relay via Gmail on port 587, enable SASL authentication using the /etc/postfix/sasl_passwd map, require TLS and use the system CA bundle.) Create an app password on Google Go to your Google Account (...