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
General Tech Linux

Jupiter Broadcasting Matrix Quick Start Guide

This is a quick guide on how to get started with Matrix chat for the Jupiter Broadcasting shows. It is also in video form here: Instructions You will need a client, and you can use a web-based one by going here:https://app.element.io If you don’t already have an account: Choose to “Create Account” Choose “Advanced” (Other […]

Categories
Linux

Problems with OneDrive as a Backend to Restic Backup Tool

I’ve been trying to use OneDrive as my restic backend – which is supported through the rclone backend. Using this, restic can use any backend that rclone supports, which is very cool. However, it has revealed that the OneDrive API is very buggy and unreliable! I’m surprised by how many issues I’ve been getting. I’m […]

Categories
Linux Networking Systems Administration

A script to scan a network range and create Kea DHCP reservations for devices it finds

This script is very simple. It will scan a network range attached to the device it is run from, and will turn what it finds into a list of reservations for the Kea dhcp server – https://kea.readthedocs.io/ You run it something like this, giving it a network range to scan. Then network should be a […]

Categories
Linux Systems Administration

How to find an open file smb file lock in a Dell Isilon Cluster

Commands were found here: https://www.dell.com/community/Isilon/Unlock-locked-file-on-Isilon-Share-via-MMC/td-p/7094821 My first thought for finding the open lock was to just use the MMC console on windows to find it, like this: However, it turns out that this will only show you the locks on a specific node, not the whole cluster. What you need to do is instead hop […]

Categories
Linux Networking Systems Administration

Notes from debugging OSPF between cisco devices and Linux FRR ospfd configs

When trying to find why my ospf configs were not sending the correct costing from Linux -> Cisco devices, I found some useful commands that I thought I would note down for future reference. Linux – Using vtysh My ospfd.conf looks something like this: You can see the costs on linux using the vtysh command: […]

Categories
General Tech Linux Uncategorized

How to make Zoom (and other QT applications) scale properly on Ubuntu 20.04 with Fractional Scaling

I have a Lenovo X1 Carbon 4th Gen, running Ubuntu 20.04 – it’s a great laptop, with a 14″ display and a 1080p screen. However, if you run it at 1X display scaling, everything is just a bit too small for comfort. I have found the best display scaling factor for it is 125%. Ubuntu […]