How to manage raspberry pi

Re-flash the Pi with Raspberry Pi OS

  1. On your Mac, install Raspberry Pi Imager.
  2. Put the Pi’s SD card in the Mac.
  3. In Pi Imager:
    • Choose OS → Raspberry Pi OS (64‑bit, with desktop).
    • Choose Storage → your SD card.
    • Click the gear icon:
      • Set hostname.
      • Enable SSH.
      • Set username/password.
      • Optional: preconfigure Wi‑Fi.
    • Click Write.

Stick the card back in the Pi and boot.

Tailscale

curl -fsSL https://tailscale.com/install.sh | sh

sudo tailscale up

Rustdesk

wget https://github.com/rustdesk/rustdesk/releases/download/1.4.6/rustdesk-1.4.6-aarch64.deb

sudo apt install ./rustdesk-1.4.6-aarch64.deb
  • Enable direct IP access.
  • Set a password if the Pi will be a host.
  • Use Tailscale IPs to connect between devices.

Mouse via bluetooth

Bluetoothctl

then…

discoverable on
pairable on
agent on
default-agent

then… type the following commands to pair, connect, and trust the mouse, change the MAC address to your mouse’s MAC address.

pair 11:22:33:44:55:66
connect 11:22:33:44:55:66
trust 11:22:33:44:55:66

Homebridge

curl -sL https://repo.homebridge.io/raspbian | sudo -E bash -
sudo apt install homebridge -y

Then

sudo systemctl status homebridge

pi-hole

curl -sSL https://install.pi-hole.net | bash

Notes

move to root

sudo -i

// Published: , with 248 words. 0 mentions.

No webmentions were found.