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: The script should be easy to adapt for other uses also. Important […]

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 […]

Categories
Linux

Setting Ubuntu 20.04 to use bfq block scheduler with Ansible

This is a simple ansible config that will set your machine to use the bfq scheduler: Put this in a file called enable_bfq_playbook.yml and then run it with ansible-playbook: Reboot, and you should now have bfq enabled on your disk:

Categories
Uncategorized

Why do I blog?

Responding to: https://jlelse.blog/posts/why-no-blog/ So why do I blog? Because it’s fun! 🙂

Categories
General Tech IoT Linux

Making a phone notification tool using Discord Webhooks

Reading Jlelse’s blog here (https://jlelse.blog/dev/telegram-go/) I realised there is another alternative to using an automation tool like IFTTT or Microsoft Power Automate, is to use a messaging app like Discord or Telegram. Previous post on the same topic:https://jaytuckey.name/2020/04/21/making-a-simple-phone-notification-tool-using-ifttt-available-on-a-free-account/ Creating the Discord Notification Webhook To make a personal notifier using discord you will need to make […]

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 […]