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

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...

Essential Linux/Mac/WSL Terminal Apps

2024-03-09

I usually forget what apps I regularly use on a Linux terminal until I get a command not found error. This will act as my reference to remember to install these apps when using a new terminal. This...

Create database and add user in PostgreSQL

2024-02-19

# postgres psql "root" execution of the PostgreSQL server is not permitted. The server must be started under an unprivileged user ID to prevent possible system security compromise. See the...

Useful Linux CLI Commands

2024-01-29

Edit crontab of user where www-data is the user crontab -u www-data -e Sync two directories. This overwrites files with the same names rsync -a /dir1/ /dir2/ Show information about a file or...