Running Arch Linux on the Framework Laptop 13

Published (last updated )

This article sums up why and how I run Arch Linux on my Framework Laptop 13.

post, howto, config, command, operations

VCF notes

Published

Notes about the topology and components of VMware Cloud Foundation. They cover the VCF Installer, private cloud, fleets and instances, VCF Operations and Automation, SDDC Manager, vSphere, Supervisor, NSX, licensing, the differences between VCF 5 and 9, and virtual private clouds.

note, operations

Coredumpctl clean all

Published (last updated )

A journalctl command that removes all stored systemd-coredump entries.

note, command, operations

Mail server setup notes

Published

Notes about how to set up a self-hosted mail server with Postfix, Dovecot, Rspamd and the necessary DNS records such as SPF, DKIM, DMARC, DANE and MTA-STS. It also gives important do's and don'ts and explains spam and ham training.

note, config, operations

Journalctl cheat sheet

Published (last updated )

A journalctl cheat sheet. It explains journal permissions and persistent storage, and gives many examples to filter by boot, time, unit, priority and other fields.

note, command, operations

Pacman tips

Published (last updated )

Useful pacman commands. They find packages that are not in a repository, upgrade from one repository only, show package age and packager, remove orphans and clear the cache.

note, command, operations

Remove widgets from Windows 11

Published (last updated )

A winget command that removes the Windows Web Experience Pack to remove the widgets from Windows 11.

note, command, operations

Possible problematic kernel messages on ThinkPad P14s

Published (last updated )

Kernel messages from the boot of a ThinkPad P14s that can indicate a problem, for USB firmware, LPM, amdgpu and the touchpad.

note, scribble, operations

QEMU image mounting

Published (last updated )

How to mount a partition of a raw QEMU disk image through a loop device with the correct byte offset.

note, command, howto, operations

Registry locations for network devices

Published (last updated )

The Windows registry keys for network adapters, hidden adapters included, for network profile names and for device names.

note, config, operations

Resetting a Syncthing index

Published (last updated )

A curl command that resets the index of a Syncthing folder through the REST API.

note, command, operations

Robocopy command to mirror an entire drive

Published (last updated )

A robocopy command that mirrors an entire drive to a backup directory in backup mode, without junctions or retries.

note, command, operations

Rubin's JVM tuning notes

Published (last updated )

My notes about JVM memory areas and garbage collection in older Java versions, with recommended heap, PermGen and GC settings for single and multiple JVMs, and RMI GC interval settings.

note, config, development, operations

Intel PROCHOT ESP unwedge

Published (last updated )

How to find out that the Embedded Controller asserts BD_PROCHOT and clamps the CPU at 400 MHz on a Framework laptop, and an MSR write that disables BD_PROCHOT.

note, command, howto, fix, operations

ASUS Pro WS W680-ACE BIOS settings

Published (last updated )

The BIOS settings I use on the ASUS Pro WS W680-ACE motherboard, for performance, power management, AMT, onboard devices and boot options.

note, config, operations

Kubernetes update user token

Published (last updated )

A kubectl config command that sets a new token for a user in the kubeconfig.

note, command, operations

SSH port forwarding

Published (last updated )

An ssh command that forwards more than one remote port to localhost and one local port to the remote host.

note, command, operations

List files inside any Docker container

Published (last updated )

How to list all files in a Docker image when you create a temporary container and export it.

note, command, operations

Ignoring some pushed routes with OpenVPN

Published (last updated )

An OpenVPN pull-filter setting that ignores routes from the server that conflict with a local network.

note, config, operations

Gentoo install notes

Published (last updated )

Commands to set up Gentoo from a prebuilt qcow2 disk image, with kernel installation through systemd-boot, a world update and package cleanup.

note, command, howto, operations

Helm notes

Published (last updated )

A Helm cheat sheet with commands to manage repositories, releases and charts. It also explains the chart directory structure, dependencies, NOTES.txt, library charts and chart tests.

note, command, operations

Make a systemd service wait for something

Published (last updated )

A systemd drop-in that makes the nmb service wait for a virtual network device before it starts.

note, config, operations

Windows on QEMU fix idle CPU usage

Published (last updated )

The Hyper-V enlightenments for the libvirt domain XML that decrease the idle CPU usage of a Windows virtual machine on QEMU.

note, config, fix, operations

Various ways to list systemd units

Published (last updated )

systemctl commands that list services by state, such as enabled, disabled, active, running, failed and exited.

note, command, operations

MDRAID setup and benchmarking

Published (last updated )

Commands to prepare six SSDs and create mdraid RAID 10, 6 or 5 arrays with a 16k chunk size. It also shows how to make an ext4 file system with the correct stride and stripe width, and how to test IOPS, throughput and latency with fio.

note, command, howto, operations

Configuring chronyd to use a PTP hardware clock

Published (last updated )

How to make chronyd in a KVM guest use the virtual PTP hardware clock from the host for accurate time synchronization.

note, command, howto, config, operations

Setting a printer as default with CUPS

Published (last updated )

How to list printers and set the default printer with CUPS lpstat and lpoptions.

note, command, howto, operations

Installing Microsoft OpenSSH on Windows 7

Published (last updated )

A copy of a guide that installs the Microsoft OpenSSH server and client on Windows 7 and 10. It also sets up public key login and uses psexec to start graphical programs on a remote computer.

post, howto, operations

How to enable other and Microsoft product updates on Windows 7

Published (last updated )

A PowerShell script that registers the Microsoft Update service on Windows 7, so it also gets updates for other Microsoft products.

note, command, howto, operations

Creating and converting QEMU qcow2 images

Published (last updated )

qemu-img commands to create and convert qcow2 images with metadata preallocation, zstd compression and a 2M cluster size.

note, command, operations

Installing Windows 7 on QEMU

Published (last updated )

The Windows 7 ISO and the virtio-win driver version that work when you install Windows 7 on QEMU.

note, howto, operations

Installing Windows NT4 on QEMU

Published (last updated )

Links that help to install Windows NT4 on QEMU. They cover installation order, USB drivers, an SP6a ISO, VMware Tools and a HAL fix for high idle CPU usage.

note, howto, operations

Create NetworkManager bridge with nmcli

Published (last updated )

nmcli commands to create a network bridge with an ethernet port. They also disable STP, enable Wake-on-LAN and set a fixed MAC address.

note, command, howto, operations

Disable suspend on GDM login screen

Published (last updated )

Commands that stop GDM from suspending the computer while the login screen is open.

note, command, config, operations

EFI native boot on Linux without GRUB

Published (last updated )

Steps to partition a disk, install Chimera Linux and add a UEFI boot entry with efibootmgr that starts the kernel directly, with no GRUB.

note, command, howto, operations

Using casefold on ext4 filesystems

Published (last updated )

A mkfs command that creates an ext4 file system with case-insensitive file name support.

note, command, operations

When libc-bin update fails on Debian WSL

Published (last updated )

A command that lists the files in the library directories to find the cause when the libc-bin update fails on Debian in WSL.

note, command, fix, operations

Docker build, tag, login, push

Published (last updated )

How to build a Docker image, tag it with more than one version, log in to a private registry and push the image.

note, command, howto, development, operations

Example Syncthing ignore file entries

Published (last updated )

Example entries for a Syncthing ignore file that exclude Python executables in virtual environments.

note, config, operations

Setting up KVM, Alpine, Docker, K3S, DNSMasq and NetworkManager

Published (last updated )

A full guide to run your own Kubernetes on a local computer. You set up KVM and libvirt on the host for six Linux distributions, make an Alpine Linux virtual machine with Docker and K3S and an ingress-nginx controller, and configure dnsmasq and NetworkManager for a wildcard DNS record. At the end, you configure your local docker and kubectl commands to use the virtual machine.

note, howto, operations

Correcting permissions on Windows authorized keys

Published (last updated )

A PowerShell script that sets the correct ACL on the OpenSSH administrators_authorized_keys file on Windows.

note, command, fix, operations

Enabling wake on LAN on Linux

Published (last updated )

How to enable Wake-on-LAN on Linux with ethtool or NetworkManager, and the TLP setting that must allow it.

note, command, howto, operations

Kubernetes change default resource quota on Rancher

Published (last updated )

A kubectl annotate command that changes the default CPU, memory and storage resource quota of a Rancher project namespace.

note, command, operations

Kubernetes delete everything

Published (last updated )

A kubectl command that deletes all resources in a namespace. You must delete persistent volume claims and secrets manually.

note, command, operations

Uninstall Windows 11 Web Experience Pack

Published (last updated )

How to remove the Windows 11 Web Experience Pack with winget, or fully with PowerShell for all users and new users.

note, command, operations

If Teams is behind a TLS breaking proxy

Published (last updated )

A certutil command that adds the root CA of a TLS intercepting proxy to the NSS database, so Microsoft Teams on Linux works.

note, command, fix, operations

After installation steps on openSUSE

Published (last updated )

Two small steps to do after you install openSUSE: set net.ifnames=0 in GRUB and disable the chrony-wait and btrfsmaintenance-refresh services.

note, command, howto, operations

After installation steps on Pop!_OS

Published (last updated )

Commands to clean up a new Pop!_OS installation. They remove unused locales, fonts and packages, install development tools, set up GCC alternatives, change GNOME settings and install shell extensions. The note also shows a polkit change that stops the admin password prompt for OpenVPN connections.

note, command, howto, config, operations

After installation steps on RHEL

Published (last updated )

Steps to set up RHEL 8 on a ppc64le workstation. They include notes about harmless dmesg messages, NIC teaming with nmcli, extra repositories, packages to add or remove, services to disable, and how to remove unused DNF modules.

note, command, howto, operations

AHCI controller on Blackbird issues

Published (last updated )

A kernel log of an EEH event where the built-in SATA AHCI controller on a Raptor Blackbird POWER9 board freezes and becomes unavailable.

note, operations

AIX commands cheatsheet

Published (last updated )

A large AIX command crib sheet from 2001. It covers terminals, networking, NFS, backups, tape drives, printers, file systems, paging space, security, users, ODM, error logging, performance monitoring and SP/PSSP.

post, command, operations

Bash command to resolve Syncthing conflicts

Published (last updated )

A Bash one-liner that removes the files for which Syncthing left temporary conflict files.

note, command, operations

BIOS error codes and beeps

Published (last updated )

A reference of POST beep codes for AMI, Award and Phoenix BIOSes, with general troubleshooting tips for a dead computer and the keys to enter the BIOS for many manufacturers.

post, list, operations

Check MHz, temperature and battery in loop

Published (last updated )

A Bash loop that shows the highest CPU clock speed, the temperature and the battery status every second.

note, command, operations

Converting JKS to PEM format

Published (last updated )

keytool and openssl commands that convert a Java keystore to PKCS12 and then to PEM, and extract the certificate and the private key.

note, command, howto, operations

Docker vEthernet set device to private

Published (last updated )

A PowerShell command that sets the Docker vEthernet network adapter on Windows to the private network category.

note, command, operations

Elasticsearch on Docker notes

Published (last updated )

A docker run command that starts Elasticsearch with persistent data and a list of indexes that it can create automatically.

note, command, operations

Fix CUPS AppArmor messages

Published (last updated )

Local AppArmor rules for cupsd and cups-browsed that stop the denial messages from CUPS.

note, config, fix, operations

FreeBSD boot serial notes

Published (last updated )

The FreeBSD loader commands that send the console output to both the serial port and the screen during boot.

note, command, operations

HP-UX glance

Published (last updated )

The keyboard commands for GlancePlus, the HP-UX performance monitor.

note, command, operations

HP-UX hpvmcreate

Published (last updated )

Commands to create a virtual switch and two HP-UX virtual machines with hpvmcreate on HP Integrity VM.

note, command, operations

HP-UX ignite

Published (last updated )

An Ignite-UX configuration that selects the software bundles for an HP-UX 11.23 installation.

note, config, operations

HP-UX ipfilter

Published (last updated )

How to read the fields in the HP-UX IPFilter ipmon log and how to find the rule that blocked a packet.

note, command, operations

HP-UX kernel

Published (last updated )

The commands to tune parameters and rebuild the kernel on HP-UX 11.11.

note, command, howto, operations

HP-UX machinfo

Published (last updated )

How to get the machine serial number on HP-UX 11.11 and on HP-UX 11i v2 on Itanium.

note, command, operations

HP-UX processes

Published (last updated )

The ps -ef output of a freshly booted HP-UX system, as a reference of the default processes.

note, operations

Installing a CA certificate into Windows

Published (last updated )

A certutil command that adds a root CA certificate to the enterprise trust store on Windows.

note, command, operations

Jenkins on Docker notes

Published (last updated )

A docker run command for Jenkins behind an HTTP proxy, a curl command that lists the installed plugins, and parts of the OpenShift Jenkins Dockerfile.

note, command, config, development, operations

Kubernetes Helm and sealed secrets

Published (last updated )

How to install the Sealed Secrets controller with Helm, seal a secret with kubeseal, back up the master key and use it again in a new installation.

note, command, howto, operations

Kubernetes obtain secrets and tokens

Published (last updated )

kubectl commands that get the cluster CA certificate and the service account token for a GitLab admin account.

note, command, operations

Linux memory semaphores etc

Published (last updated )

Example Linux IPC limits for shared memory, semaphores and message queues, with the kernel parameter names.

note, config, operations

Make UAC prompts work over RDP

Published (last updated )

The local security policy settings that stop UAC prompts from closing an RDP session. Written partly in Dutch.

note, config, fix, operations, dutch

Mounting CIFS shares on Linux

Published (last updated )

A mount command that mounts a Windows CIFS share on Linux.

note, command, operations

Old Linux tuning notes

Published (last updated )

Old notes about Linux tuning. They explain pam_limits domains, types and items, util-linux tools, I/O scheduler classes and types, and process scheduling policies.

note, config, operations

OpenShift cluster up notes

Published (last updated )

Steps to run oc cluster up on RHEL Atomic Host with a public hostname, and a fix for redirects to localhost.

note, command, howto, operations

Running Oracle on Docker

Published (last updated )

How to log in to the Oracle container registry and run Oracle Database 12.2 Enterprise in Docker with a persistent volume.

note, command, howto, operations

SAN tips

Published (last updated )

Tips about stripe size, stripe width and data alignment for databases on EMC Symmetrix DMX storage, also with SRDF.

note, config, operations

Stripe cache settings on Linux mdraid

Published (last updated )

How to increase stripe_cache_size to improve the write and rebuild speed of a Linux mdraid RAID 5 or RAID 6 array, with user reports about the results.

post, config, operations

Unconfuse PGO cluster

Published (last updated )

A kubectl command that fixes a Crunchy Data PostgreSQL Operator cluster that does not know it is initialized.

note, command, fix, operations

Uninstalling Chromium based Edge on Windows

Published (last updated )

Commands that force the removal of Chromium-based Microsoft Edge on Windows and block its installation again.

note, command, operations

Using efibootmgr for adding boot entries

Published (last updated )

An efibootmgr command that adds a UEFI boot entry to start a Gentoo kernel directly with its initramfs and kernel parameters.

note, command, operations

Using genkernel to build a Linux kernel

Published (last updated )

A genkernel command that configures and builds a Linux kernel and an lz4 initramfs without installation.

note, command, operations

Using QEMU to test a kernel

Published (last updated )

A QEMU command that boots a new kernel and initramfs with a serial console to test it.

note, command, operations

Using update-alternatives on Debian

Published (last updated )

update-alternatives commands that make python and pip point to Python 3 on Debian.

note, command, operations

VMware Fusion change dhcpd settings

Published (last updated )

How to edit the DHCP configuration of the NAT network in VMware Fusion and restart its network services.

note, command, operations

WinHTTP proxy import from Internet Explorer

Published (last updated )

A netsh command that copies the Internet Explorer proxy settings to WinHTTP.

note, command, operations

X11 redirection and Electron apps

Published (last updated )

How to fix Electron apps that fail on a remote or container X11 display because of MIT-SHM shared memory, with an explanation of the Chromium code that causes it.

post, howto, fix, operations

Uninterupted desktop streaming vs. NetworkManager

Published

For maybe more than a year (maybe two) I've been struggling with getting desktop streaming (i.e., from a Linux desktop client to a Windows or Linux host system) working flawlessly.

post, fix, howto, config, operations

Install trusted CA root certificate for Chrome and Electron based applications

Published

How to add the CA of an SSL intercepting proxy to the NSS database, so Chromium and Electron apps such as VS Code trust it. Written in Dutch.

note, command, howto, fix, operations, dutch

Manufacturer password on Areca controllers

Published

The manufacturer master password for Areca ARC-12xx RAID controllers.

note, scribble, fix, operations

Mule on Docker notes

Published

A docker run command that starts a Mule runtime container with Anypoint and Nexus settings.

note, command, operations

OpenVPN compatibility issues with NetworkManager

Published

Two problems when you import a new OpenVPN configuration into NetworkManager: the proto tcp4 keyword and P12 certificates. Written in Dutch.

note, scribble, fix, operations, dutch

Setting up network bonding using NetworkManager CLI

Published

nmcli commands that create a network bond with two ports in balance-alb mode on RHEL, with DNS and gateway settings.

note, command, operations

SSH as SOCKS and HTTP proxy

Published

An ssh command that makes a SOCKS proxy and forwards a local port to a remote HTTP proxy.

note, command, operations

VMware Horizon Linux setup

Published

How to install the VMware Horizon client on Linux, with library links, a desktop file, a URL handler and a hosts alias, and problems I found with a customer VDI. Written partly in Dutch.

note, command, howto, operations, dutch