you want a fast slim and up to date repetier server on your raspberry ?

You want to use klipper firmwar to get your 3d printer as fast as it can get while having awesome print quality ?

  • a raspberry pi 2 or better
  • a micro sd card 4gb or more
  • a working cardreader
  • a pc in this case windows based
  • a packer tool like 7zip or winrar
  • a image writing tool of your choice (balenaEtcher) (Win32 Disk Imager)
  •  a good sftp client of your choice (WinSCP)
  • a good ssh client of your choice (Putty)
  • a good text editor of your choice (Notepad++)
  • a working Computer with internet access
  • a ip scanner to find the Raspberry (Angry ip Scanner)

Step 001

  • Download an install the software we need sftp/ssh/editor/image writer
  • Download the lates version of Dietpie for Raspberry Pi and extract the image file

Step 002

  • make sure that you can access your sd card and there is no important data on it, this data would be deleted in the next step
  • start you image writing tool with admin rights (right klick)
    • choose the dietpi .img file and, today (april 2020) this would be the DietPi_RPi-ARMv6-Buster.img
    • choose the sdcard as target
    • klick flash than wait untill finished succesfull

Step 003 –  Optional – Wifi Setup

if you not planing on using wifi, skip this step

  • after the flash was succesful y remove and reconnect the sd card to your pc


  • acces the “boot” drive and open the dietpi.txt


    • if you are using a DietPi_v6.15 or older image: 
    • Open dietpi-wifi.txt and open it with your editor
      • Enter your SSID AUTO_SETUP_NET_WIFI_SSID=MySSID and AUTO_SETUP_NET_WIFI_KEY=MyWifiKey (both are case sensitive).


    • if you are using a DietPi_v6.16 or newer image:
      • Open dietpi-wifi.txt and open it with your editor
      • Change aWIFI_SSID[0]=’MySSID and aWIFI_KEY[0]=’MyWifiKey
    • Save changes to edited files
    • if needed Plug the WiFi adapter into your device, before turning it on.

inside the dietpi-wifi.txt add you network name, password and if necessary the safety standard

# - Entry 0
# WiFi SSID (Case Sensitive)
# Key options: If no key (open), leave this blank

Step 004 –  Static ip adress

  • press your windows key + the R key

  • Type in cmd press return

  • Type: ipconfig and press Return look for your ethernet or wifi adapter settings, it should look like this.

  • now that you have the cmd window open and can see the settings of your computer you can transfer them, but don’t forget to change the last numbers in the ip address to something that does not exist in your network
  • now acces the “boot” drive and open the dietpi.txt
  • edit the follwing entries to your needs so you will find your raspberry without searching for it, and it will have the same adress definitively

# Enter your Static Network details below, if applicable.

  • you are now abe to access your raspberry with ssh

Step 005 –  acces via ssh

Turn on your device

  • Plug the SD card into your device and turn it on.
  • Wait for DietPi to complete some initial setup steps.
  • if you don’t have configured the static ip adress your pi will obtain a ip adress by dhcp,
  • use a network scanner (Angry IP Scanner), or take a look at your router or use a tool on your smartphone like (Fing) to find the adress of the raspberry.
  • if you have entered a static adress you know the ip


  • open putty and enter the rasspberry ip adress and klick open


  • after you pressed ope you wil get new windo that looks like this

  • Login to DietPi
    • username = root
    • password = dietpi

Step 006 –  Software configuration

  • after you have successfully logged in, you will be welcomed by the License agreement screenl from DietPi
    • choose ok and press return

  • you will get asked if you want to activate the serial console
    • select cancel and press return

  • the next screen you see is the Dietpi software configtool
    • select SSH SERVER and press return


  • now select OpenSSH then OK and press return


  • the next screen is just a confirmation just press return

you will no return to the start screen just select OK an press return

The software configuration tool will ask you if you are sure to procced, just select OK an hit return

  • you will now see the raspberry working this will take some time
    • after the installation process is complete, you will be asked if you want to participate in a survey select whatever you want, then select ok and press return


  • the software setup is now completed, select ok press return
    • the raspberry will now reboot


  • the connection will close and putty will give you an error but that is ok, just close putty.

Step 007 –  install Repetier Server

  • Your raspberry has rebooted succesfully
    • open putty and login again
    • username = root
    • password = dietpi


  • It should look like this

  • Download repetier server
    • go to the Repetier Server Download Page
      • find the Linux 32 bit ARM (armel)and copy the download url,
      • should look like this
    • go back to your putty window and type
      • wget
      • press return, this will download the Repetier Server installer package to your raspberry
  • now we have to extract and install the Repetier Package
    • type in dpkg -i Repetier-Server-0.93.1-Linux.deb and hit return
    • after the process is done
    • type in service RepetierServer start and hit retur


  • go to your webbrowser
    • enter http://YOUR -RASPBERR-IP-ADRESS:3344
    • in my case it would be
    • you will be greeted by the privacy policy from repetier server
    • you succesfully installed Repetier server to your Raspberry Pi


  • Close your Putty Window,
    • for the next step we need to work as a different user on the raspberry

Step 008 – Install Klipper firmware


  • open putty and login again but this time use
    • username = dietp
    • password = dietpi


  • we need to install the GIT components to be able to instal KLipper firmware
    • enter sudo apt-get install git and press return
    • when asked confirm with Y press return
    • wait untill done


  • now we cloen the Klipper files to our raspberry
    • enter git clone
    • this will download all the files we need  and it should not take long
    • when done, enter ./klipper/scripts/ and press return
    • this will install klipper on the raspberry and this will take some time
    • when done enter cd ~/klipper/ to change the working directory
    • now start the Klipper configuration Tool
    • enter make menuconfig and press return
    • you will see this
      • select Micro-controller Architecture  hit return

  • at the next screen choose the cpu type accordingly to the board you are using
    • select option press return
    • i’m uing a SKR1.3 32Bit board for this tutorial so i choose the LPC176x option

  • you are back to the initial configuration screen
    • change nothing select exit press return

  • press return again

  • now the configuration is finished
    • enter make and press return
    • that will compile the Klipper.bin file that you will need later on to flash your Printer controller board


  • you successfully installed klipper firmware on you raspberry Pi
    • close your present putty window, we need to switch users again

Step 009 – Make Klipper  and Repetier working together

  • open putty and login again
    • username = root
    • password = dietpi


  • enter nano /etc/default/klipper press return
    • you will see this

  • we need to change KLIPPY_USER=dietpi toKLIPPY_USER=repetierserver
    • when done press CTRL + O press return
    • then press CTRL + X to exit


  • enter reboot press return
  • close putty

Step 010 – Flashing the board firmware

  • preparations
    • winscp installed
    • sd card connected to your pc
    • sdcard for the printer formated in FAT16
  • open your SFTP tool (winscp) and login to your raspberry
    • username = dietpi
    • password = dietpi


  • access the raspberry a go to the folder /home/dietpi/klipper/out
    • find the klipper.bin file
      • open the sdcard on the left side of the explorer window from winscp
      • drag and drop the klipper bin to the SD card
      • rename the klipper.bin  to FIRMWARE.bin
      • put the sd card in to your printer and power the printer up
        • wait about 10 to 30 seconds
        • power the printer down
        • take sd card back top pc and look if the FIRMWARE.bin is now renamed to FIRMWARE.cur if yes the board is flashed successfully

    Step 011 – get a basic printer.cfg for your printer


    Step 012 – adding the usb device to your printer.cfg

    • preparations
      • connect printer to raspberry
      • start printer
    • open your putty tool and login to your raspberry
      • username = dietpi
      • password = dietpi


    • enter ls /dev/serial/by-id/* press return
      • It should report something similar to the following:
      • copy this to the printer.cfg at the [mcu] section, it should look like this

    serial: /dev/serial/by-id/usb-Klipper_lpc1768_13100003852036AFE959695BC62000F5-if00

    • save the Printer.cfg

    Step 013 – Configure Repetier server for your Printer

      • go to your webbrowser
        • enter http://YOUR -RASPBERR-IP-ADRESS:3344
        • in my case it would be
        • you will be greeted by the privacy policy from repetier server if you not allready accepted it

      you should now have a running 3D printer with klipper and a  raspberry pi with repetier server running on it