th33xitus 457f842f43 adding dependencie check on startup
checks for some packages installed which are necessary for the script to work properly.
fixes some crashes when calling for wget or unzip while not having those packages already installed.
2020-06-27 16:05:24 +02:00
2020-06-27 16:05:24 +02:00
2020-05-22 11:34:04 +02:00
2020-05-22 21:20:12 +02:00

KIAUH

Klipper Installation And Update Helper

This script was actually created for my personal use only but i then decided to make the script accessible for everyone. It is meant to help guiding you through a complete fresh install of Klipper and optionally the DWC2 web UI + DWC2-for-Klipper. There are also functions for updating your current installations or removing them from your system.

First things first: When you decide to use this script, you use it at your own risk!

Although i implemented backup-functions for pretty much everything and tested this script extensively with my available (yet limited) hardware before releasing it, it doesn't mean that it will work 100% perfect for everyone out there. Please keep that in mind!

Give it a try if you want and if you have suggestions or encounter any problems, please report them. But i can't guarantee that i will fix them immediately (or at all).

kiauh

Instructions:

In order to run this script you have to make it executable. Use the following commands in the given order to download and execute the script.

cd ~
git clone https://github.com/th33xitus/KIAUH.git
cd ~/KIAUH
chmod +x kiauh.sh
./kiauh.sh

Restrictions:

  • Tested only on Raspbian Buster Lite

Functions and features:

  • Install Klipper + DWC2-for-klipper + DWC2 from scratch
  • Check the status of your installations
  • Update, backup and remove existing installations
  • Building firmware
  • Flashing firmware to your MCU
  • Grabbing the printer-ID of your connected printer
  • Writing the printer-ID to your printer.cfg
  • Writing the DWC2-for-Klipper example config to your printer.cfg

Q&A

Q: Can i install octoprint with this script?

A: No, and i don't plan to implement this function

Q: Can i use this script to install multiple instancec of Klipper on the same Pi? (Multisession?)

A: No, and at the moment i don't plan to implement this function. For multisession installations take a look at this script manu7irl created: https://github.com/manu7irl/klipper-DWC2-installer

Languages
Python 99.3%
Shell 0.7%