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
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
Linux Systems Administration

My Favourite Tools in 2020 – Command line

Here are some tools that I really like using when I’m working from the command line: Fish shell The fish shell is an awesome shell with loads of autocomplete and helper tools: https://fishshell.com/ Mosh Mosh is an SSH replacement that has a much lower latency implementation: https://mosh.org/ Restic As the tagline says, backups done right! […]

Categories
General Tech Linux Powershell Systems Administration

Making a simple phone notification tool using IFTTT – Available on a Free Account

I previously made a guide on how to create a notifier using Microsoft Power Automate: https://jaytuckey.name/2020/04/21/making-a-simple-phone-notification-tool-using-microsoft-power-automate-previously-microsoft-flow/ However, the Request trigger used in that flow is only available on a premium account so many people won’t be able to use it without a work account. For those people, here’s how to make the same thing using […]

Categories
General Tech Linux Powershell Systems Administration

Making a simple phone notification tool using Microsoft Power Automate (previously Microsoft Flow)

Note – The “Request” trigger used in this post is only available on a Premium Power Automate account. If you want this for personal use, I suggest you look at using IFTTT instead, see my guide here: https://jaytuckey.name/2020/04/21/making-a-simple-phone-notification-tool-using-ifttt-available-on-a-free-account/ Many of us have access through our work to Microsoft Power Automate, previously called Microsoft Flow. With […]

Categories
Linux Networking Systems Administration

Workaround for SSH error to Cisco switch from Ubuntu 20.04 – no matching key exchange method found

Trying to SSH to a Cisco switch from Ubuntu 20.04 you may get this error: This error is because Ubuntu 20.04 has disabled the SHA1-based key exchange methods after some attacks have been found on SHA1. To work around this issue for Cisco switches you can use the command line argument -oKexAlgorithms=+diffie-hellman-group1-sha1 like this: To […]

Categories
Linux Networking Systems Administration

A script to connect to a Cisco switch and backup the running-config using Python3 and Paramiko

I have been trying to find a way to create a regular backup of my Cisco switch’s running-config, so I can store it in my normal backups. However, after searching online I was able to find some tools that were almost there, but nothing that was quite as flexible as I needed, so I wrote […]

Categories
General Tech Systems Administration

Using Zoho Email for a Local Football Club

I have recently helped my local football club – https://litchfieldfc.com.au – to move their email over from Office365 to Zoho email services – https://www.zoho.com/mail/. Overall it was a great experience, and I would recommend Zoho to other clubs and similar small organisations looking for email services. Here are a few things that I found nice […]