Install Octoprint

From TSAS Library
Jump to: navigation, search

Supplies

Hardware

  • A Computer that you can install programs on
  • A Raspberry Pi (any version should work)
  • Depending on the Pi, either a micro or normal SD Card, minimum 4GB
  • A micro USB cable
  • A USB wall charger, good for more than 1 Amp of current
  • An SD Card reader (if you are using a laptop, check if you already have one)
  • Either an Ethernet cable or a USB Wifi Adapter
  • A cable that will go from your printer to a USB Port

Optional

  • A webcam, for watching a print on your computer
  • If you do end up with more USB cables than ports, a splitter will work fine

Software

  • 7Zip or any other way of opening .zip files
  • Win32 Disk Imager - For putting the image on the card
  • Notepad++ - To edit .txt files easily
  • Bonjour - For easy access to the Pi. (go here - READ THE PAGE)
  • PuTTY - Connection via SSH
    • If you are using an Apple computer, you will have programs to do most of these things already included (Info in Octoprint video)

Installing Octoprint

Download Octoprint. This is where you will be able to download the necessary image for OctoPrint, and also watch a very helpful video (also here) on how to install and setup OctoPrint.

If you are setting up on a home network with complete access to the router and using a USB Wifi Adapter, this video is all you will need.

Even if this is not your situation, this video helps to show what you need to do in the various programs, so you will need to watch it, and probably keep it on hand for any questions you may have.

Put the SD card into your card reader.

Format it by right clicking on it in file explorer and clicking on format.

Open up the downloaded .zip file and extract the .img file. Use Win32 Disk Imager (or dd Utility on Mac) to write the image to the SD card.

Once you do this you will want to edit the “octopi-network.txt” file that is now on the card.

If you are using a WiFi adapter, the file itself explains it pretty well, you just need to remove the # from the front of the lines you are using, and fill in your SSID (the network’s name) and password.

If you are on a normal network using an ethernet cable, don’t even mess with the file. If you are using an ethernet cable on a network with a static IP, you will have to mess around a bit.

The easiest way is to open cmd.exe and enter “ipconfig /all”.

You then need to find the Default Gateway and the Subnet Mask, and put these into the address and netmask respectively, and remove the # from the lines from “auto eth0:1” onward.

Installing on Linux Desktop

From this guide

Run:

cd ~
sudo apt-get install python-pip python-dev git
sudo apt-get install python-setuptools
git clone https://github.com/foosel/OctoPrint.git
cd OctoPrint
sudo python setup.py install
mkdir ~/.octoprint

Alternatives