Skip to content

Instantly share code, notes, and snippets.

@andrewfraley
andrewfraley / pbs_on_rpi.md
Last active April 20, 2024 08:20
Backup a Raspberry Pi to Proxmox Backup Server using the Proxmox Backup Client

Backup a Raspberry Pi to Proxmox Backup Server using the Proxmox Backup Client

This works on a Pi 4, and should work on a Pi 3, but to work on a Pi Zero you would have to figure out how to compile your own client. More info in this thread on the Proxmox forums.

Determine if your Pi is 32bit or 64bit

Run the following command. If you get arm64, it's 64bit, otherwise you'll see armv7l which is 32bit.

uname -m

Enable / Disable additional 3rd party cooling on the Dell r630 - by default a 3rd party pcie card will ramp up the fans

apt install ipmitool

Set Third-Party PCIe Card Default Cooling Response Logic To Disabled

ipmitool -I lanplus -H <IPADDRESS> -U <USERNAME> -P <PASSWORD> raw 0x30 0xce 0x00 0x16 0x05 0x00 0x00 0x00 0x05 0x00 0x01 0x00 0x00

Set Third-Party PCIe Card Default Cooling Response Logic To Enabled

@andrewfraley
andrewfraley / multi-speedtest.sh
Created December 3, 2023 04:36
Spawn many concurrent speedtest-cli instances to saturate a multi-gig connection
#!/bin/bash
# Spawns a speed test instance for every server in the speedtest --list output (~9 servers)
# apt install speedtest-cli
# or
# python3 -m pip install speedtest-cli
sptest="speedtest --server "