With this mod, you'll be able to monitor and control your printer with your PC, tablet or smart-phone over the internet (or your home network).
- 1 Things you'll need :
- 2 Installation of the Octopi distribution
- 3 Initial configuration of the Raspbian distribution (Octopi)
- 4 Configuring a static IP address
- 5 Accessing Octoprint on your local network and configuring it
Things you'll need :
A Raspberry Pi 2 main-board :
A Pi Cam
(or a compatible webcan (check the link here)
A micro-SD card and a card reader
A 5V power supply (with a micro-USB plug)
Installation of the Octopi distribution
First, you'll have to download Octopi a Raspberry Pi distribution including Octoprint. Download the latest version : Octopi
What you're downloading is an image (.img) file.
You'll have to install this distribution on a SD-Card.
It's better to plug your SD card in an USB 2.0 port. When your card is detected, run Win32DiskImager.
1. Select the image file (.img)
2. Select the card (Device).
3. Write the image on the card.
Connect a USB keyboard, a USB mouse and a HDMI cable to a HDMI display.
Power on the Raspberry Pi.
Initial configuration of the Raspbian distribution (Octopi)
After the first power on wait for the auto config to complete.
Then the control panel will show up :
Use the Up-Down arrows to move into the Menus and Enter to select.Use the Tab key to reach the Ok/Cancel buttons
You can call the config window anytime from a terminal with the command : sudo raspi-config
Fist select Expand_roofs in the Menu and then 1 Expand filesystem
This option allows you to use the whole available space on your SD card.
Internationalisation options/3 Change keyboard layout
Choose your keyboard type and hit Enter.
Select change_pass / 2 Change user password
The default password is raspberry. This option allows you to change it.
You can select here the Raspberry language. Select the language(s) with the space bar.
Wait a bit for the installation to complete.
Option found in Advanced options/A2
The default host name is Octopi.
Enable if you're using a Pi-cam and disable if you're using a compatible webcam.
Configuring a static IP address
A static IP address assigns your Raspberry Pi a permanent address on your network.
To set up this address you'll have to modify the configuration file of the network interface.
On the command line, you'll have to connect as "pi" with the password "raspberry"
Then key in : sudo nano /etc/network/interfaces
iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.80 | Server IP address
network 192.168.1.0 | optional
broadcast 192.168.1.255 | optional
Or adapt the values to your network.
Then reboot the Raspberry :
With the Ping command you can check if your Raspberry is visible on your network.
On your PC, open a command window (cmd.exe) and enter PING 192.168.1.80 (or your raspberry IP address).
Accessing Octoprint on your local network and configuring it
Connect the printer to the Raspberry with the USB cable and power on both.
On a PC connected to the same local network, open your browser and enter the following URL : http://nameoftheserver.local (if you kept Octopi in Hostname then the URL is http://octopi.local) or the IP address (http://192.168.1.80).
The first time you'll get the following window :
To be continued ...