202501272226 Homelab Resources
A list of resources for quick access and referencing
SSH
Creating SSH Key
To create a SSH key, we can apply this command
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/<name-of-key> -C youremail@youremail.com
Copy to host
After creating the ssh key, you might want to paste into the target remote host to ssh passwordless.
You can use this command:
ssh-copy-id -i ~/.ssh/<name-of-key> user@ip
Kubernetes
I might want to consider putting this into a separate subnet i.e. 10.0.11.0/24 in the near future.
Reference Hostnames
- control-debian-cloud-home-01 : 10.0.10.40
- control-debian-cloud-home-02 : 10.0.10.41
- control-debian-cloud-home-03 : 10.0.10.42
- worker-pi-home-01: 10.0.10.45
- worker-pi-home-02: 10.0.10.46
- worker-pi-home-03: 10.0.10.47
Raspberry Pi Resources
Disable USB 5V limitation
Sometimes, I might want to disable the 5V5A limit when trying to power via a non-official Pi5 power supply.
Add this into the boot/firmware/config.txt
[all]usb_max_current_enable=1NVME SSD PCIe Implementation
When we install a NVME hat on the Pi5, we should configure the correct boot order and also enable the PCIe before, setting it to the correct gen speed.
Stolen from Jeff Geerling 😍
# Add to bottom of /boot/firmware/config.txtdtparam=pcie1x
# Note: You could also just add the following (it is an alias to the above line)# dtparam=nvme
# Optionally, you can control the PCIe lane speed using this parameter# dtparam=pciex1_gen=3Set Correct Boot Order
# Edit the EEPROM on the Raspberry Pi 5.sudo rpi-eeprom-config --edit
# Change the BOOT_ORDER line to the following:BOOT_ORDER=0xf416
# Add the following line if using a non-HAT+ adapter:PCIE_PROBE=1
# Press Ctrl-O, then enter, to write the change to the file.# Press Ctrl-X to exit nano (the editor).