Chicken-and-egg problem with Ansible and Fedora 27

Ansible support of Python 3.x is crucial and works out-of-the-box: “Ansible 2.5 and above have support for Python 3.” (Ansible docs) However, the combination of Ansible and Fedora 27 (and maybe also Fedora 28?) causes a chicken-and-egg problem under certain circumstances. The problem Fedora ships only Python 3.x and recently removed Python 2.x from the base install. As part of a transition phase of moving from Python 2.x to Python 3....

August 6, 2019 · 2 min · 407 words · patrick, p15r

i3 tiling WM configuration

Update 31.07.2018: I added i3 key modes to my config: i3wm-keymodes You can read about my default Linux desktop setup here. This post focuses on i3, my favorite (tiling) window manager. The i3 configuration is straight forward. I am using the default settings with some additional tweaking for personal preferences. Custom config This is my customization of the i3 config (living in ~/.config/i3/config): #notifications, see desc below exec --no-startup-id /usr/lib64/xfce4/notifyd/xfce4-notifyd # NetworkManager GUI exec --no-startup-id /usr/bin/nm-applet # xfce power management (pkg: xfce4-power-manager) exec --no-startup-id /usr/bin/xfce4-power-manager # switch keyboard layouts (pkg: ibus-setup) exec --no-startup-id ibus-daemon --daemonize # enable tap-to-click for touchpad exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1 # KDE's system monitor (pkg: ksysguard) exec --no-startup-id ksysguard # firewalld GUI exec --no-startup-id /usr/bin/firewall-applet # shortcut to lock screen (similar to Windows) (pkg: i3lock) bindsym $mod+l exec /usr/bin/i3lock -c 39004d # rename i3 workspaces at runtime bindsym $mod+r exec i3-input -F 'rename workspace to "%s"' -P 'New name: ' # I use terminator instead of xterm....

August 6, 2019 · 3 min · 464 words · patrick, p15r

Blocking ads and malware related traffic at network perimeter

One of my security controls in my home lab is to block certain DNS traffic (and IP address-based traffic, of course). It is basically ads and malware related traffic that I filter. A convenient place to do this, is the network perimeter. Adding protection here, safeguards all clients (laptops, gaming consoles, smartphones, etc.) within the network. Currently, I am using a pfsense package called pfBlockerNG [1], which blocks DNS traffic for me....

August 6, 2019 · 1 min · 166 words · patrick, p15r

My Linux Desktop

Since I have been asked quiet frequently about my Linux desktop setup, I decided to write about it. Do not expect this blog post to be a nicely written article. Instead, expect a collection of settings and tweaks that I use to create a comfortable Linux desktop environment. Please note, that this post is work in progress and will be updated over time. Hardware I recently purchased the Lenovo Thinkpad X1 Carbon 6th gen....

August 6, 2019 · 5 min · 904 words · patrick, p15r

Thinkpad X1 Carbon 6th Gen

Changelog: 13.03.18: Errata, added information about the GNOME issue 27.05.2019: Last year, Lenovo issued a BIOS upgrade which added a “Linux” suspend mode, which works smoothly. TL;DR: Linux runs well on the new Thinkpad X1, except suspend to RAM (fingerprint sensor not tested). This post might be updated in the future to inform about Linux updates (e.g. newer kernels, etc.) that improve the experience operating this laptop. Thus, this post is work in progress and is far from being complete....

August 6, 2019 · 15 min · 3153 words · patrick, p15r