Post tagged: configuration

Raspberry Pi emulation with Qemu

The idea here is that we use a Desktop PC for developing/debugging Raspberry Pi set-ups using qemu for emulating Rasperrby Pi.

qemu currently supports the following configurations:

  • Raspberry Pi Zero and 1A+ (armhf)
  • Raspberry Pi 2B (armv7)
  • Raspberry Pi 3A+ (aarch64)
  • Raspberry Pi 3B (aarch64)
    • This is the version …

QNAP Snapshots

I wrote a small tool to access QNAP snapshots from the Linux command line.

Pre-requistes:

  • Snapshots have to be enabled
  • You need a /share/netcfg containing the file:
    • In my case, I set this share as read-only with root-squash.
    • `admin.yaml' : contains the private/public keys and the configuration of …

Home Assistant Behind Reverse Proxy

To set-up a reverse proxy I took the following steps:

  • configure DNS
  • get Letsencrypt certificates
  • Configure NGINX
  • Configure Home Assistant to trust the proxy

At the time of this writing I can't really confirm if the reverse proxy configuration for home assistant is working as I can't tell what IP …

Moving to Home Assistant

I am busy moving away from my VeraEdge installation to a Home Assistant running on a Raspberry Pi 4. This is because it looks like the maker of the VeraEdge was bought and it is slowly being phased out.

For this I am using the following parts:

voidlinux virtualization

This recipe is for setting virtualization on a voidlinux desktop.

Use this setup script to set things up on void linux.

Connecting to libvirtd

Note that virsh and virt-manager commands connect to different libvirtd sessions by defauult.

virsh defaults to qemu:///session while virt-manager to qemu:///system.

It is better …

Linux HDMI hotplug

The point of this article is to document I workaround that I came up with to handle a HDMI KVM switch.

What happens is that if my Linux PC is turned on while the KVM switch is selecting the other PC, it fails to initialize the display, so when you …

PulseAudio hints and tricks

PulseAudio is nowadays the default sound system in many Linux distributions. It lets you do a number of useful things.

PulseAudio comes with a handy command line utility pacmd to do a number of things.

pacmd commands

  • pacmd exit
  • pacmd help
  • pacmd list-(modules|sinks|sources|clients|cards|samples)
  • pacmd …

nginx's auth_request_module howto

This article tries to supplement the nginx documentations regarding the auth_request module and how to configure it. In my opinion, that documentation is a bit incomplete.

What is the nginx's auth_request module

The documentation for this module says, it implements client authorization based on the result of a subrequest.

This …

Installing Void Linux

I made the switch to void linux. Except for compatibility issues around glibc, it works quite well. Most compatibility I have worked around with a combination of Flatpaks, chroots and namespaces.

The high lights of void linux:

  • musl build - which is very lightweigth
  • Does not depend on systemd …

using cachefiles on an Linux NFS share

If you often mount and access a remote NFS share on your system, you will probably want to know how to improve NFS file access performance. One possibility is using file caching. In Linux, there is a caching filesystem called FS-Cache which enables file caching for network file systems such …

CyberWorld 2017.1

Development - travis cordova build - travis ionic build

  • owx
    • common
      • muninlite (can it support plugins?)
      • flock, pwgen, ifstat
    • ow1
      • diags&tools: usbutils, netstat-nat
      • sniffer: tcpdump[-mini] 317K/617K, libpcap 191K
    • owX
      • FW/NAT
      • DNSMASQ: DHCP + DNS
      • NTP server
      • Dynamic DNS updating (mushu porker)
      • NFS
      • IPv6 tunnel
      • Provisioning server: (PXE, TFTP, NFS …

Windows administration from the command line

Windows system administration is very mouse driven and to reach all tools you need to browse through Windows explorer.

If you are like me and prefer to log on a limited privilege account and use Runas to perform admin tasks, you can open these consoles with the .msc file names …

Deploying Kerberos based SSO

This article goes over how to implement Single-Sign-On on Linux. It goes over the integration around the Kerberos service and the applications, like for example FireFox.

Pre-requisites

  • Kerberos Domain Controller (KDC)
  • User accounts in the KDC
  • KDC based logins

To make sure that this is working, login to your workstation …

Let's Encrypt

This is a service that let's you get SSL certificates for HTTPS. These certificates are trusted by major browsers. See Let's Encrypt This is a barebones howto to get SSL certificates:

git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt

This contains the client software for let's encrypt.

./letsencrypt-auto certonly …

HP Envy 4504 Set-up

I bought a HP Envy 4504. Overall I am happy with it. This is how I configure it so I can use with Linux.

This mini howto applies to ArchLinux, void linux and Centos/RedHat distributions.

Installation

Archlinux:

cups, hplip, python2, sane

Centos:

cups, hplip, hplip-gui, sane

Some optional dependancies …

Kerberos Client

This simple mini how-to goes over the configuration of a linux system so it can use a Kerberos Realm server for authentication.

  1. Make sure you have the pam_krb5 rpm files installed. You can check this by running the rpm -qa | grep pam command and seeing whether the pam_krb5 rpm files …