Skip to content

Instantly share code, notes, and snippets.

@DoganM95
Last active May 1, 2022 11:17
Show Gist options
  • Save DoganM95/83356e136df3f9ab50df85a16cc3df14 to your computer and use it in GitHub Desktop.
Save DoganM95/83356e136df3f9ab50df85a16cc3df14 to your computer and use it in GitHub Desktop.
OctoPrint on Pi setup routine

Setup

  • Get Raspberry Pi Imager
  • Follow Installing Octo Pi section
  • open boot drive and add wpa_supplicant.conf
  • Fill content with correct data, template:
    country=us
    update_config=1
    ctrl_interface=/var/run/wpa_supplicant
    
    network={
      scan_ssid=1
      ssid="MyNetworkSSID"
      psk="Pa55w0rd1234"
    }
  • Save and boot the sd card on pi
  • SSH into pi and execute sudo apt dpdate && sudo apt upgrade -y
  • Add dwc_otg.speed=1 to /boot/cmdline.txt, use either:
    a) sudo echo "dwc_otg.speed=1" >> cmdline.txt
    b) nano /boot/cmdline.txt -> append dwc_otg.speed=1 and save (ctrl+x, y, enter)
  • Log in to OctoPrint instance (web interface) and go to Settings -> Backup and Restore -> Restore settings from file
  • In ssh sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment