mountpoint check script
I have a few NFS mounts that I want to be working at all times. If there is a power outage, sometimes NFS clients come up before the NFS server does, and thus the mounts are not there. I wrote a quick...
View ArticleUsing ProxMox as a NAS
Lately I’ve been very unhappy with latest FreeBSD causing reboots randomly during disk resilvering. I simply cannot tolerate random reboots of my fileserver. This fact combined with the migration of...
View ArticleProxMox VMs reboot when switch is rebooted
I came across an interesting situation where if I rebooted my Ubiquiti UniFi Switch 24 for a firmware upgrade, all my VM hosts would reboot themselves. It turned out to be due to my having enabled HA...
View ArticleTransfer linode VM over ssh
I love Linode for their straightforward pricing. I can use them for temporary infrastructure and not have to worry about getting overcharged. When it comes time to transfer infrastructure back, the...
View Articlesideload Gears of War 5 on Windows 10
Sideloading Gears 5 is similar to sideloading Gears 4. You need to grab the URL the store is using to download the game with a proxy tool like fiddler, then download that URL with a download manager....
View ArticleMigrating from OPNSense to Ubiquiti Unifi Secure Gateway
I love the Ubiquiti Unifi interface. The only thing missing in my environment was the gateway. I had no complaints with my OPNSense firewall, but that missing section on the Unifi controller homepage...
View ArticlePrimary VGA passthrough in ProxMox
I recently decided to amplify my VFIO experience by experimenting with passing my primary display adapter to a VM in proxmox. Previously I had just run tasksel on the proxmox host itself to install a...
View Articleproxmox suspend & resume scripts
I have a desktop running ProxMox. My GUI is handled via a virtual machine with physical hardware passed through it. The challenge with this setup is getting suspend & resume to work properly. I got...
View ArticleRun startup / shutdown on every VM in PRoxmox HA group
I wanted to run a stop operation on all VMs in one of my HA groups in Proxmox and was frustrated to see there was no easy way to do so. I wrote a quick & dirty bash script that will let me start...
View Articleproxmox 6 NVIDIA GPU passthrough fix
I upgraded to ProxMox 6.0 and to my dismay my Windows VM suddenly began receiving the dreaded Code 43 error. After much digging I finally found this post on the ProxMox forums which outlines what needs...
View ArticleAdd colors to bash scripts
A quick note on how to easily add colors to your bash scripts. Thanks to https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux Here are a few ANSI escape codes for...
View ArticleGIT branch and merge from vs code
I’ve configured VS Code to follow git best practices when it comes to creating branches and merging via pull requests. Here are my notes: Install gitlens plugin To open the command pallet: F1 or...
View Articleapache reverse proxy with basic authentication
I have an old Apache server that’s serving as a reverse proxy for my webcam. I swapped webcams out and unfortunately the new one requires authentication. I had to figure out how to get Apache to...
View ArticleFind local accounts with shell login
I spent some time building this query so I thought I’d write it down. To find out which accounts in /etc/passwd with a UID greater than 500 have anything other than nologin or false set as their login...
View ArticleJava IDRAC 6 Ubuntu 18.04 setup
I recently acquired a Dell PowerEdge R610 and had a hard time getting its iDRAC to work properly on my ElementaryOS setup (Ubuntu 18.04 derivative.) I had two problems: Connection failed error and...
View ArticleProxmox HA management script
I was a bit frustrated at the lack of certain functions of ProxMox. I wanted an easy way to tag a VM and manage that tag as a group. My solution was to create HA groups for VMs with various functions....
View ArticleDell LSI SAS2008 2TB drive fix
I just recently got a $40 external SAS adapter for my new storage server. The plan was to create a DAS device from my old NAS chassis and have it be driven by my new storage server (new to me anyway –...
View ArticleAdd static route in CentOS7
I recently began a project of segmenting my LAN into various VLANs. One issue that cropped up had me banging my head against the wall for days. I had a particular VM that would use OpenVPN to a private...
View Articleuse zdb to remove pesky device from zfs pool
I had the following problem with a device in my pool: However when I tried to replace the drive I got this message: I found here that you can use zdb to obtain the GUID of the problem device and...
View ArticleFix proxmox iommu operation not permitted
In trying to passthrough some LSI SAS cards to a VM I kept receiving this error: kvm: -device vfio-pci,host=0000:03:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0,rombar=0: vfio 0000:03:00.0: failed to...
View Article