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

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