Linux

AIDE

4 min read

AIDE (Advanced Intrusion Detection Environment) is a file and directory integrity checker that compares the current hashes, permissions, and attributes of files …

Disk Errors

2 min read

A collection of disk-related errors and their fixes. Block Size Mismatch WarningAfter writing an ISO to a flash drive, partitioning tools may complain: 1 …

Better Practices With Sudo

12 min read

I work with a lot of different linux machines from embedded devices, to cloud servers and open stack hosts. For many of them I'm either the sole administrator …

Unbuffered Pipe Filters

1 min read

I need to filter a live log stream for only relevant events and quickly hit an issue that I wasn't expecting. The grep in my pipe chain was waiting until it …

Dependency Prelink Issues

2 min read

While running an aide check on one of my servers after updating it, I started seeing a large number of very concerning warning messages: /usr/sbin/prelink: …

Fast Hex to Decimal in Bash

1 min read

I needed too turn some hexadecimal values into decimal in a bash script and found a real easy way too do it. The following is a very short bash script …

Using OpenWRT's Dnsmasq as a TFTP Server

2 min read

I recently re-flashed my primary router to a newer version of OpenWRT and attempted to follow my own directions written in an earlier blog post to add PXE …

Modifying the Hosts File in a Docker Container

3 min read

Before I describe the issue that I encountered, let me be very clear. This hack is potentially dangerous and should absolutely only be done in development …

Chain Loading Kernels

5 min read

I've found several places where I needed to be able to update my kernels but for one reason or another can't update the kernel that gets booted initially. A …