vernon.wenberg.net

a mostly private knowledge repository

Note: These posts are notes for me. These are not guides and you should not use these instructions as step-by-step instructions without knowing what they do.

Latest Posts

Docker Reference

2025-03-19

Update Docker Compose image Open a shell inside a container View container logs Update Docker Compose image Make sure you are in the directory of your docker compose. First, list running docker...

Useful Commands for Windows Subsystem for Linux

2025-02-24

wsl -l -v Check current WSL version in use wsl -–set-default-version 1 Set default WSL version. Currently 1 or 2. wsl -–set-version Ubuntu-20.04 2 Convert WSL version to version 2 where Ubuntu-20.04...

FortiManager Local-In Policy

2025-02-05

Local-In policies for FortiManager limits the IPs or IP ranges that can access the FortiManager. However, Local-In policies for FortiManager are rather rudimentary compared to Local-In policies for...

Mount Google Drive in Linux using rclone

2024-12-09

Prerequisites Install rclone Create your own client ID for Google. Add Google Drive remotes in rclone Once you have installed rclone and created your client ID in Google, you can now begin adding the...

Restore original Explorer context menus in Windows 11

2024-11-03

These commands should be used in an elevated / administrator command prompt or PowerShell. Set old / original menus as default. reg add...

Setting Up Remote Access VPN in FortiGate: Step-By-Step Guide

2024-08-17

This guide will outline the steps to set up VPN Remote Access in FortiGate. Although you do not need FortiClient EMS, VPN with Fortinet is best used with it. Create a loopback interface and Virtual...

FortiGate / ArubaOS-Switch Reference Guide

2024-07-27

This is a work in progress. Command ArubaOS-Switch FortiGate Show LLDP Neighbors # show lldp info remote-device # diagnose lldprx neighbor summary Set global remote auth timeout # config system...

Allow Python to use ICMP raw packets

2024-07-02

icmplib uses raw packets to create ICMP packets. While this is not an issue in Windows, ping on Linux always runs as root to create those packets. icmplib will throw the following error if it is...

"agent refused operation" when logging in with ssh keys

2024-06-24

Copying your SSH keys to a new server is usually accomplished by ssh-copy-id [email protected] However, on Fedora 40, I encountered the following error after adding my keys....

Service check / Port check in LibreNMS

2024-06-24

LibreNMS offers a way to check for services and/or ports. In this example, we will check for HTTPS/SSL. First we need to enable services. root@nms:/etc/nginx/conf.d# cat /opt/librenms/config.php |...

CrowdStrike: Update to supported kernel to remove RFM status in Ubuntu

2024-05-19

To get the full benefits of the falcon-sensor on Ubuntu, you need to use a supported kernel, or your system will be in "RFM". To remove the RFM status we will need to update to a kernel supported by...