Setting up BeerBot

  1. Download and Install Raspberry Pi OS to SD card using Imager. Manually downloading the OS (zip-file), extracting the .img and using that seems to be more reliable than letting the Imager download the OS. https://www.raspberrypi.org/downloads/
  2. Enable SSH Server: For headless setup, SSH can be enabled by placing a file named ssh, without any extension, onto the boot partition of the SD Card. When the Raspberry Pi boots, it looks for the ssh file. If it is found, SSH is enabled and the file is deleted. The content of the file does not matter; it could contain text, or nothing at all. https://www.raspberrypi.org/documentation/remote-access/ssh/
  3. Connect Raspberry to Network, find its IP using Angry IP Scanner: https://angryip.org/
  4. Use PuTTy to start a SSH connection.
    user: pi, password: raspberry
  5. Install ZeroTier VPN Client:
    curl -s https://install.zerotier.com | sudo bash
    curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg' | gpg --import && \
    if z=$(curl -s 'https://install.zerotier.com/' | gpg); then echo "$z" | sudo bash; fi
  6. Join beerbot_vpn ZeroTier Network:
    sudo zerotier-cli join af415e486f9bfe97
  7. Authorize Client at https://my.zerotier.com/network/af415e486f9bfe97 (Check „Auth“ checkbox)
  8. Wait until the client is shown to be online and has an IP-address (should take < 1 minute)
  9. Connect to SSH via VPN now using the Raspberry’s ZeroTier VPN „Managed IP“ (192.168.195.xxx)
  10. Change user password for user pi from „raspberry“ to something else using the passwd command.
  11. https://couka.de/2024/02/11/change-raspberry-pi-vnc-screen-resolution/
  12. https://couka.de/2024/02/11/connect-to-github-repo-from-linux-git-cli/
  13. https://couka.de/2024/02/11/python3-venv-for-beerbot/
  14. https://couka.de/2020/07/31/add-python-script-to-autostart/

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert