Jattie van der Linde

Shoe string engineering

User Tools

Site Tools


projects:3dprint:octoprint_short

Setting Up Octoprint On Linux - Short version

This section is not completed yet, I am working on this in my spare time and will complete this as soon as possible.

This page covers the essentials of launching and setting up an Octoprint container image using LXC.

Pass through the usb connections1)

jattie@hp-linux:~$ lxc config device add octo video0 unix-char source=/dev/video4 path=/dev/video0 required=false gid=44
jattie@hp-linux:~$ lxc config device add octo ttyusb0 unix-char path=/dev/ttyUSB0 gid=20 required=false gid=44
lxc_devices_add.sh
#!/bin/bash
lxc config device add octo video0 unix-char source=/dev/video4 path=/dev/video0 required=false gid=44
lxc config device add octo ttyusb0 unix-char path=/dev/ttyUSB0 gid=20

Webcam

projects/3dprint/octoprint_short.txt · Last modified: 2023/05/22 09:03 by jattie