Image V2 with Repetier-Server 0.80.0 for Raspberry Pi

Installing the Image

After you have downloaded the image, you need to unpack the zip file. It will show you a .img file, which you need to copy to your SD card. For this you need a 4 GB SD card or bigger. On a 4 GB card you have only 1 GB free space left, so a bigger card is a good idea. Our preferred size is 32 GB, which offers a good compromise between space and price. Also bigger cards live longer as we have more blocks to write to.

To copy the file to your SD card, follow the steps described here:

First Steps

Shut down any running instance and place your newly created image in your Raspberry Pi and boot. If you have a HDMI display connected, you will already see the front end. At this point you have probably no internet connection and also no license entered (required for printer front end). So what you see is the registration page instead. Later it will directly boot into the normal front end.

The first thing to do is connecting the Raspberry Pi to your internet. The way that always works is using an ethernet connection. It will get a IP from your DHCP server and you can connect to it using http://.
If you have a working touchscreen already, you can configure your WLAN directly on the display.
The last solution is using a smartphone or laptop with WLAN. Initially the image is configured to run as access point. So check your WLAN access points and select RepetierServer and connect using the password 12345678. Then open http://repetierserver.local/ or if your device does not understand bonjour protocol and go to Global Settings WLAN. There you can select your WLAN access point. After the connection is established, the Raspberry Pi access point will stop working and you have to access the server with the new IP it got from your network. In case of using http://repetierserver.local/ you connection will reestablish as soon as your device is back in your home network.

Next thing you should login to your Raspberry Pi command shell using ssh. For users unfamiliar with ssh – this is a protocol to gain access to the server on a command line level like cmd.exe in windows. If you are a windows user, you will most likely not have a ssh command. You can download and use for this. So connect with user pi and password raspberry to the commandline.

The first thing we do is expanding the filesystem to use the complete sd card. On the command line enter

sudo raspi-config

You should see a menu where you can configure several things. First select 1 Expand Filesystem. Then you best continue with 2 Change User Password and set a new password that nobody knows.

Then continue with 5 Internationalization options and adjust what is needed.

Now you are finished and can leave with Finish. Answer the question, if you want to reboot, with yes.

It is a good idea, to configure your DHCP server (normally part of your router configuration) to always assign the same IP number. This is done by assigning a static IP to the MAC address. You find the raspberry MAC address in our web front end on the home page. Scroll to the bottom and you see for every network device the matching MAC address you should use in your router.

Now plug in your printer and start configuring your first printer as described in the server manual.

Special Cases

No Display

If you have no display, you should not start x environment and web browser since this only costs RAM you could better use.
So in that case, log in and edit .bashrc in your home directory:

nano /home/pi/.bashrc

Go the end of the file and comment the end like this:

#if ! pgrep "xinit" > /dev/null
#    xinit -- -nocursor &

And on next reboot the x server will not start.

Rotate Display

Depending on how you have mounted the display, you may need to rotate the screen. To do this, login and run

sudo nano /boot/config.txt

and search for a line

# Rotate screen 180°

A value of 0 is no rotation, 2 = 180°.

Non HDMI Display

There are several cheap LCD displays available, that you can simply put on the Raspberry Pi header pins instead of using
the HDMI connector. Especially small displays with resolutions up to 480×320 pixel use this way. In that case
the images need to be rendered in a frame buffer that gets send via spi to the display. If you have such
a display, follow the instructions of your display vendor to configure the display. After a final reboot the
printer front end should then start automatically.

Disable Display Power Saving

Open the autostart config from openbox in your editor:

nano /home/pi/.config/openbox/autostart

Uncomment the 3 xset comands like this to deactive the display power saving:

xset s off         # don't activate screensaver
xset -dpms         # disable DPMS (Energy Star) features.
xset s noblank     # don't blank the video device

It will take effect after reboot:

sudo reboot

Webcam Support

The image is preconfigured to handle a USB or Raspberry Pi webcam. To configure it, simply go to Printer Settings Webcam and select the webcam type you have at the bottom.

It will start the webcam server and fill in the correct settings. If you have unplugged the webcam, the webcam server will start automatically when you plug in the webcam.

Import from USB Stick

Initially the server is preconfigured to import files from a USB stick. Just insert a USB stick and it will
auto mount the drive. If you then select the import function it will show the files on the USB stick.