major.io content on major.ioHugo -- gohugo.ioen-usMade with 🥰 by Major Hayden and HugoMon, 16 Dec 2019 00:00:00 +0000Bring Back Fedora's Beefy Miracle boot splash, 16 Dec 2019 00:00:00 +0000 back in 2012 when Fedora releases had names, there was one release that many of us in the Fedora community will never forget. Fedora 17’s code name was “Beefy Miracle” and it caused plenty of giggles and lots of consternation (especially in vegetarian and vegan circles). No matter how you feel about the code name, the mascot was really good: Major and the beefy miracle in 2012 The mustard I was told several times that “the mustard indicates progress.Thinkpad T490 Fedora install tips, 12 Dec 2019 00:00:00 +0000🔨 WORK IN PROGRESS! I’m still finding some additional issues and I’ll write those up here as soon as I find some solutions. With my 4th Gen X1 Carbon beginning to age (especially the battery), it was time for an upgrade. I now have a T490 with a 10th gen Intel CPU and a discrete NVIDIA MX250 GPU. This laptop spec was just released on Black Friday!Monitoring OpenShift cron jobs, 18 Nov 2019 00:00:00 +0000 applications into an entirely containerized deployment, such as OpenShift or Kubernetes, requires care and attention. One aspect of both that is often overlooked is scheduled jobs, or cron jobs. ⏰ Cron jobs in OpenShift allow you to run certain containers on a regular basis and execute certain applications or scripts in those containers. You can use them to trigger GitLab CI pipelines, run certain housekeeping tasks in web applications, or run backups.Monitor CyberPower UPS wattage, 08 Nov 2019 00:00:00 +0000 have a CyberPower CP1350AVRLCD under my desk at home and I use it to run my computer, monitors, speakers, and a lamp. My new computer is a little more power hungry than my old one since I just moved to to a Ryzen 3700x and Nvidia GeForce 2060 and I like to keep tabs on how much energy it is consuming. Some power supplies offer a monitoring interface where you can watch your power consumption in real time, but I’m not willing to spend that much money.Install Chromium with VAAPI on Fedora 30, 20 Oct 2019 00:00:00 +0000 The chromium-vaapi package is now chromium-freeworld. This post was updated on 2019-11-06 to include the change. See the end of the post for the update steps. If you use a web browser to watch videos on a laptop, you’ve probably noticed that some videos play without much impact on the battery. Other videos cause the fans to spin wildly and your battery life plummets. Intel designed a specification called VA API, often called VAAPI (without the space), and it offers up device drivers to applications running on your system.Customize GNOME from i3, 22 Sep 2019 00:00:00 +0000 has been my window manager of choice for a while and I really enjoy its simplicity and ease of use. I use plenty of gtk applications, such as Firefox and Evolution, and configuring them within i3 can be confusing. This post covers a few methods to change configurations for GNOME and gtk applications from i3. lxappearance Almost all of the gtk theming settings are available in lxappearance. You can change fonts, mouse cursors, icons, and colors.Deploy monit in OpenShift, 11 Sep 2019 00:00:00 +0000 is a tried-and-true method for monitoring all kinds of systems, services, and network endpoints. Deploying monit is easy. There’s only one binary daemon to run and it reads monitoring configuration from files in a directory you specify. Most Linux distributions have a package for monit and the package usually contains some basic configuration along with a systemd unit file to run the daemon reliably. However, this post is all about how to deploy it inside OpenShift.Get faster GitLab runners with a ramdisk, 16 Aug 2019 00:00:00 +0000 you build tons of kernels every day like my team does, you look for speed improvements anywhere you can. Caching repositories, artifacts, and compiled objects makes kernel builds faster and it reduces infrastructure costs. Need for speed We use GitLab CI in plenty of places, and that means we have a lot of gitlab-runner configurations for OpenShift (using the kubernetes executor) and AWS (using the docker-machine executor). The runner’s built-in caching makes it easy to upload and download cached items from object storage repositories like Google Cloud Storage or Amazon S3.buildah error: vfs driver does not support overlay.mountopt options, 13 Aug 2019 00:00:00 +0000 and podman make a great pair for building, managing and running containers on a Linux system. You can even use them with GitLab CI with a few small adjustments, namely the switch from the overlayfs to vfs storage driver. I have some regularly scheduled GitLab CI jobs that attempt to build fresh containers each morning and I use these to get the latest packages and find out early when something is broken in the build process.Fedora 30 on Google Compute Engine, 07 Aug 2019 00:00:00 +0000 30 is my primary operating system for desktops and servers, so I usually try to take it everywhere I go. I was recently doing some benchmarking for kernel compiles on different cloud plaforms and I noticed that Fedora isn’t included in Google Compute Engine’s default list of operating system images. (Note: Fedora does include links to quick start an Amazon EC2 instance with their pre-built AMI’s. They are superb!Ham Radio FAQ, 06 Jun 2019 00:00:00 +0000! This page is a work in progress! The world of amateur, or ham, radio is huge and it’s what you want to make of it. The itch struck me in the middle of 2017 and I learned a lot since then. People often ask me questions about all kinds of amateur radio topics and I decided to compile all of the answers into a big page that I can update over time.Texas Linux Fest 2019 Recap, 02 Jun 2019 00:00:00 +0000 Texas Linux Fest has come and gone! The 2019 Texas Linux Fest was held in Irving at the Irving Convention Center. It was a great venue surrounded by lots of shops and restaurants. If you haven’t attended one of these events before, you really should! Attendees have varying levels of experience with Linux and the conference organizers (volunteers) work really hard to ensure everyone feels included. The event usually falls on a Friday and Saturday.Build containers in GitLab CI with buildah, 24 May 2019 00:00:00 +0000 team at Red Hat depends heavily on GitLab CI and we build containers often to run all kinds of tests. Fortunately, GitLab offers up CI to build containers and a container registry in every repository to hold the containers we build. This is really handy because it keeps everything together in one place: your container build scripts, your container build infrastructure, and the registry that holds your containers. Better yet, you can put multiple types of containers underneath a single git repository if you need to build containers based on different Linux distributions.Inspecting OpenShift cgroups from inside the pod, 05 Apr 2019 00:00:00 +0000 team at Red Hat builds a lot of kernels in OpenShift pods as part of our work with the Continuous Kernel Integration (CKI) project. We have lots of different pod sizes depending on the type of work we are doing and our GitLab runners spawn these pods based on the tags in our GitLab CI pipeline. Compiling with make When you compile a large software project, such as the Linux kernel, you can use multiple CPU cores to speed up the build.Running Ansible in OpenShift with arbitrary UIDs, 22 Mar 2019 00:00:00 +0000 work at Red Hat involves testing lots and lots of kernels from various sources and we use GitLab CE to manage many of our repositories and run our CI jobs. Those jobs run in thousands of OpenShift containers that we spawn every day. OpenShift has some handy security features that we like. First, each container is mounted read-only with some writable temporary space (and any volumes that you mount).Get a /56 from Spectrum using wide-dhcpv6, 19 Mar 2019 00:00:00 +0000 writing my last post on my IPv6 woes with my Pixel 3, some readers asked how I’m handling IPv6 on my router lately. I wrote about this previously when Spectrum was Time Warner Cable and I was using Mikrotik network devices. There is a good post from 2015 on the blog and it still works today: Time Warner Road Runner, Linux, and large IPv6 subnets I am still using that same setup today, but some readers found it difficult to find the post since Time Warner Cable has renamed to Spectrum.Pixel 3 Wi-Fi drops constantly, 17 Mar 2019 00:00:00 +0000 have two Google Pixel phones in our house: a Pixel 2 and a Pixel 3. Both of them drop off our home wireless network regularly. It causes lots of problems with various applications on the phones, especially casting video via Chromecast. At the time when I first noticed the drops, I was using a pair of wireless access points (APs) from Engenius: EAP600 EAP1200H Also, here’s what I knew at the time:Stop audio pops on Intel HD Audio, 04 Mar 2019 00:00:00 +0000 recently picked up a Dell Optiplex 7060 and I’m using it as my main workstation now. The Fedora installation was easy, but I noticed a variety of “pop” or clicking sounds when audio played, especially terminal bells. If everything was quiet and I triggered a terminal bell, I would hear a loud pop just before the terminal bell sound. However, if I played music and then triggered a terminal bell, the pop was gone.Automatic floating windows in i3, 08 Feb 2019 00:00:00 +0000 i3 window manager is a fast window manager that helps you keep all of your applications in the right place. It automatically tiles windows and can manage those tiles across multiple virtual desktops. However, there are certain applications that I really prefer in a floating window. Floating windows do not get tiled and they can easily be dragged around with your mouse. They’re the type of windows you expect to see on other non-tiling desktops such as GNOME or KDE.DevConf.CZ 2019 Recap, 31 Jan 2019 00:00:00 +0000 2019 wrapped up last weekend and it was a great event packed with lots of knowledgeable speakers, an engaging hallway track, and delicious food. This was my first trip to any DevConf and it was my second trip to Brno. Lots of snow showed up on the second day and more snow arrived later in the week! First talk of 2019 I co-presented a talk with one of my teammates, Nikolai, about some of the fun work we’ve been doing at Red Hat to improve the quality of the Linux kernel in an automated way.Using the pressure stall information interface in kernel 4.20, 27 Jan 2019 00:00:00 +0000 29 now has kernel 4.20 available and it has lots of new features. One of the more interesting and easy to use features is the pressure stall information interface. Load average We’re all familiar with the load average measurement on Linux machines, even if the numbers do seem a bit cryptic: $ w 10:55:46 up 11 min, 1 user, load average: 0.42, 0.39, 0.26 The numbers denote how many processes were active over the last one, five and 15 minutes.Running Home Assistant in a Docker container with a Z-Wave USB stick, 14 Jan 2019 00:00:00 +0000 Home Assistant project provides a great open source way to get started with home automtion that can be entirely self-contained within your home. It already has plenty of integrations with external services, but it can also monitor Z-Wave devices at your home or office. Here are my devices: Monoprice Z-Wave Garade Door Sensor Aeotec Z-Stick Gen5 (ZW090) Fedora Linux server with Docker installed Install the Z-Wave stick Start by plugging the Z-Stick into your Linux server.Allow a port range with firewalld, 04 Jan 2019 00:00:00 +0000 iptables gets a lot easier with firewalld. You can manage rules for the IPv4 and IPv6 stacks using the same commands and it provides fine-grained controls for various “zones” of network sources and destinations. Quick example Here’s an example of allowing an arbitrary port (for netdata) through the firewall with iptables and firewalld on Fedora: ## iptables iptables -A INPUT -j ACCEPT -p tcp --dport 19999 ip6tables -A INPUT -j ACCEPT -p tcp --dport 19999 service iptables save service ip6tables save ## firewalld firewall-cmd --add-port=19999/tcp --permanent In this example, firewall-cmd allows us to allow a TCP port through the firewall with a much simpler interface and the change is made permanent with the --permanent argument.Disable autoplay for videos in Firefox 65, 18 Dec 2018 00:00:00 +0000 has some great features, but one of my favorites is the ability to disable autoplay for videos. We’ve all had one of those moments: your speakers are turned up and you browse to a website with an annoying advertisement that plays immediately. This feature stopped working for me somewhere in the Firefox 65 beta releases. Also, the usual setting in the preference page (under Privacy & Security) seems to be missing.Getting started with ham radio repeaters, 13 Dec 2018 00:00:00 +0000 radio is a fun way to mess around with technology, meet new people, and communicate off the grid. Talking directly to another radio on a single frequency (also called simplex) is the easiest way to get started. However, it can be difficult to communicate over longer distances without amplifiers, proper wiring, and antennas. This is where a radio repeater can help. What’s in scope This post is focused on fairly local communication on VHF/UHF bands.