Categories
Uncategorized

KDE Plasma on Wayland – What Doesn’t Work Correctly

These are the things that I’ve run into on KDE Plasma running under Wayland that prevent me from using it full-time. I thought I would get them down here so I could keep track of them and hopefully provide feedback upstream as-needed: Screen Sharing in Microsoft Teams For me this is a deal-breaker for getting […]

Categories
Systems Administration

Learn Your Tools

Just read a post by Drew DeVault: https://drewdevault.com/2020/11/06/Utility-vs-usability.html I very much agree. So many people treat working with computers as “I don’t like it but I have to do it.” Often these people learn only the minimum required to get something done. I think that, as professionals, we need to treat computers as tools to […]

Categories
Linux Programming Systems Administration

Tips for doing “shell” scripting in Python

I’ve been moving a bunch of my shell scripts to python recently, because of how much better it handles the concept of “a process didn’t run successfully”. Consider the bash script: What happens here if Command 2 fails? Note that we still get the success message at the end – bash silently ignored our error-ing […]

Categories
General Tech Linux Systems Administration

New Project – coconut-deadmanswitch – A tool to monitor Cron Jobs and Scheduled Tasks

I’ve started a new project! I recently talked about my experiments with coconut-lang here: https://jaytuckey.name/2020/10/25/thoughts-on-coconut-the-compile-to-python-functional-language-extension/ I’ve now started a project using coconut! It’s what I’m calling a “Dead Man’s Switch” (DMS) monitoring tool. The idea is this: Every cron job / scheduled task sends an update to the DMS monitor The monitor records the updates […]

Categories
Linux Programming

Thoughts on Coconut – the Compile-to-Python Functional Language Extension

Today I have been playing with the Coconut Language – see http://coconut-lang.org/ – so I thought I would put down some thoughts on using it, going through what I like and find interesting. What Is Coconut? So what is coconut? From their website: Coconut is a functional programming language that compiles to Python. One super-neat […]

Categories
Linux Networking Systems Administration

A script to bring Cisco Switch VLAN data into phpIPAM

We have recently set up an IPAM at my workplace, the excellent phpIPAM – https://phpipam.net/ I went through our install and added all our subnets into the IPAM, but to make the data much more useful we wanted to have the VLAN information also: However, I didn’t want to go through by hand, adding each […]

Categories
Linux Networking Uncategorized

How Websites Load – A deep dive into the IP network stack and how it is used to connect to a site

I’ve made a series of videos exploring the Internet Protocol Suite, and how it is used to make a connection to a website. It’s a deep dive into the stack, explaining all the way down to the ethernet frames that a computer sends on the local link.

Categories
Linux Systems Administration

A bind9 Rest API tool – bind-rest-api

I made an API for bind9! Recently I have been looking for an api for a bind server. I found an existing project, https://github.com/dmyerscough/BIND-RESTful, which is quite nice but didn’t have some of the functionality I needed. I looked at updating the existing project, but instead decided to write a new API from scratch, inspired […]

Categories
Uncategorized

The SELinux Cheatsheet

selinux is a tool that is cool in principal, but in practice is studpidly hard to work with. Good tutorial on how to use selinux: List of commands: https://fedoraproject.org/wiki/SELinux/Commands However, I’ve been making up a cheatsheet of commands to get it to work, without turning it off: Cheatsheet

Categories
Uncategorized

phpIPAM 1.4 on CentOS 8.2 – Install and Config Guide

This guide was run on CentOS 8.2 installed from the minimal ISO, running on KVM virtual machine. During install I chose the “Minimal Install”. My guide is based on the CentOS 7 guide here: https://phpipam.net/news/phpipam-installation-on-centos-7/ Preparing the Environment and Installing requirements Take a snapshot of the VM Note – in the CentOS 7 guide it […]