• Important insight into Power and how it operates outside of Logic

    Posted in Phlosphy Stuff on Jul 08, 2021

    Years ago I was impressed by the power of Law to transform me. I was impressed because I was sincerely changing my nature and behaviors due to the way I had encountered Law and Order (the justice side of it), and wanted to ensure that I did not encounter Law in that way before. I began a long series of thought experiments on the nature of Law and how it could be kept in books, yet exerted an effect into my life. It was a very curious thing to me -- how could this law, which is written in black ink on white pages in books, very obviously a dead and dry, desiccated, and powerless medium, have su...

  • What to do when qemu-guest-agent on CentOS does not work after installing with yum

    Posted in Developing Software on Jul 08, 2021

    After installing qemu-guest-agent with yum, which was easy enough with sudo yum install qemu-guest-agent I did not see IP information in the proxmox host, so I knew it was not yet working. I tried several things, none of them worked. First I tried looking at the status. Got an error indicating the service was not installed:

    # sudo service qemu-ga status
    Redirecting to /bin/systemctl status qemu-ga.service
    Unit qemu-ga.service could not be found.

    So then I tried to reinstall, but got a notice that it was already installed:

    # sudo yum install qemu-guest-agent
    Package 10:qemu-guest-agent-2.12.0-3...

  • Kill a Proxmox VM that won't quit with a one-liner using the pve node's command prompt

    Posted in Developing Software on Jul 06, 2021

    I was using the handy information at Proxmox can’t stop VM – How we fix it! (bobcares.com) for a while. They have a two-line approach which does the job, but displays the (very) long command line for starting a proxmox VM on the screen while doing so. To me, facing a wall of text while searching for the process ID means it takes an extra microsecond or two to perform. So here's the one-liner approach:

    # kill -9 `ps aux | grep "/usr/bin/kvm -id 104" | grep splash | awk '{print $2}'`

    Simply replace the 104 above with the VMID you want to end, and the VM will die immediately.

    Here's the quiet two...

  • Fix Shellinabox "rhostsrsaauthentication" and "rsaauthentication" errors

    Posted in Developing Software on Jun 27, 2021

    ShellInABox is a tidy little app that works well, but when you configure it to connect via SSH directly instead of using its internal shell, it throws up a couple minor errors when logging in:

    command-line line 0: unsupported option "rhostsrsaauthentication"
    command-line line 0: unsupported option "rsaauthentication"
    

    You can safely ignore these two notices, but if you want to remove them, here's how to do it:

    Stop the currently running service.

    sudo service shellinabox stop

    Install git, nano, and some tools needed during compiling code:

    sudo apt install git nano autoconf dh-autoreconf libssl-...

  • Upon glimpsing the unicorn of Riemann's missing one half while awakening

    Posted in Mathy Stuff, Postinfinity Tergiversation on Jun 24, 2021

    I just now, minutes ago, was drifting between awake and asleep. slowly becoming aware of the lightly falling rain outside, while also in a half-dream state, contemplating random mathematical ideas, when I caught a glimpse of the 1/2 which completes the sphere of infinity. I have glimpsed it intellectually many times, but this is the first time I've seen it intuitively, actually seen the shape and how it relates to a sphere and a circle and a 1/2.

    The idea moved like lightning, not for its brilliance, but for its speed. Gone immediately. I was contemplating a sphere, but I was looking through ...

  • Installing ShellInABox on Debian, Ubuntu, Devuan, etc and configuring for white-on-black GUI

    Posted in Developing Software on Jun 21, 2021

    You can install shellinabox with your Debian-flavored package manager with a single command:

    sudo apt install shellinabox

    White text on black screen

    The default setting is a white screen with black text. You can right-click to switch it, but if you're like me you'll want to set it to black screen with white text as a default.

    From the git repository, pull down the CSS needed to make the change:

    sudo wget https://raw.githubusercontent.com/shellinabox/shellinabox/master/shellinabox/white-on-black.css -O /etc/shellinabox/white-on-black.css

    Then open the shellinabox config file for editing:

    sudo n...

  • Configure one-time-password (a.k.a. 2FA or MFA) in Apache using mod_authn_otp and FreeOTP

    Posted in Developing Software on Jun 21, 2021

    I did this on a Devuan system, which is basically Ubuntu without systemd. This not a well-known distro, so your mileage may vary, but I think it will all work as described on vanilla Ubuntu or similar Debian-based flavors. At the end of this article is a list of URLs I used while putting this all together, you can check into them for tips to get things working if you run into issues.

    1. Install the required packages:
    sudo apt install git apache2-dev build-essential qrencode
    1. Use git to pull down the latest code, then cd to changedir into the directory you just created:
    git clone https://githu...

  • Configure one-time-password (a.k.a. 2FA or MFA) in SSH using libpam-oath and FreeOTP

    Posted in Developing Software on Jun 21, 2021

    I did this on a Devuan system, which is basically Ubuntu without systemd. This not a well-known distro, so your mileage may vary, but I think it will all work as described on vanilla Ubuntu or similar Debian-based flavors. At the end of this article is a list of URLs I used while putting this all together, you can check into them for tips to get things working if you run into issues.

    1. Install the required packages:
    sudo apt install libpam-oath oathtool qrencode nano
    1. Generate a 10-digit hexadecimal key:
    KEY=$( head -c 1024 /dev/urandom | openssl sha1 | awk '{ print $2 }' | head -c 10 )
    1. Now...

  • In which I realize my life now is a fractal of a beautiful idea from 24 years ago

    Posted in Everything, Phlosphy Stuff, Postinfinity Tergiversation on Jun 19, 2021

    The following quote brings a compelling moment of perception into clear view.

    Dinah is keen that I not misquote her by writing something as sentimental and clichéd as "being at one with the universe." So she describes a process in which there was a "dissolution of the self" and a "melting away of barriers." She remembers the moment when concepts like "internal" and "external" no longer held true. "I'm not just standing there, looking out at the world anymore. I'm part of the world." After a lengthy pause while she harvests the right phrase, Dinah refers to this fleeting moment as "a state of p...

  • Installing Mx Linux or Ubuntu, Debian, etc. on MacBook Air

    Posted in Developing Software on Jun 09, 2021

    I was oddly not able to find quick hits on this topic when I searched, so I finally just tried it, and it worked so easily I was quite surprised.

    As a long-time attempter-of-things-so-new-that-they-often-fail, I remember when it was a hassle to install Linux on Mac. For years it was frustrating. I guess all the hitches are worked out. Bought a MacBook Air from 2010 from someone, wondering if I could get Linux running on it. I did the following:

    1. burned a USB flash drive with Mx Linux ISO using Etcher
    2. inserted said USB into the MacBook Air
    3. held down the Option button before the chime while star...