Skip to content

Instantly share code, notes, and snippets.

@Omar-Salem
Last active March 24, 2025 22:22
Show Gist options
  • Save Omar-Salem/7fdf44ba5a404368884574e6ad9baf94 to your computer and use it in GitHub Desktop.
Save Omar-Salem/7fdf44ba5a404368884574e6ad9baf94 to your computer and use it in GitHub Desktop.
PIKVM
#after burning image
echo "WIFI_ESSID='mynet'
WIFI_PASSWD='p@s$$w0rd'">> /Volumes/PIBOOT/pikvm.txt
#! /bin/bash
rw
timedatectl set-timezone Australia/Victoria
passwd root
kvmd-htpasswd set admin
echo "kvmd:
atx:
type: disabled
kvm:
msd:
type: disabled
otg:
manufacturer: Corsair
product: Corsair Gaming RGB
vendor_id: 0x6940
product_id: 0x6973
serial:" > /etc/kvmd/override.yaml
#2FA
kvmd-totp init
#tailscale
pacman -Syu --disable-download-timeout --noconfirm
pacman -S pikvm-os-updater
pikvm-update
kvmd-edidconf --set-monitor-name=TOSHIBA --set-mfc-id=TTP --set-product-id=34953 --set-serial=2290649089 --apply
pacman -S tailscale-pikvm
systemctl enable --now tailscaled
tailscale up
#in tailscale dashboard, disable key expiry
ssh-copy-id root@pikvm #from source machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment