Jattie van der Linde

Shoe string engineering

User Tools

Site Tools


projects:3dprint:octoprint_short

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:3dprint:octoprint_short [2023/05/18 19:26] – removed - external edit (Unknown date) 127.0.0.1projects:3dprint:octoprint_short [2023/05/22 09:03] (current) – [Setting Up Octoprint On Linux - Short version] jattie
Line 1: Line 1:
 +====== Setting Up Octoprint On Linux - Short version ======
  
 +<WRAP center round todo 60%>
 +This section is not completed yet, I am working on this in my spare time and will complete this as soon as possible.
 +</WRAP>
 +
 +
 +This page covers the essentials of launching and setting up an Octoprint container image using LXC.
 +
 +Pass through the usb connections((https://linuxcontainers.org/lxd/docs/master/reference/devices_unix_block/))
 +<cli>
 +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
 +</cli>
 +
 +<code bash 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
 +</code>
 +===== Webcam =====
 +
 +  * mjpg-streamer((https://jamesloper.com/ubuntu-server-install-mjpg-streamer)) ((https://github.com/jacksonliam/mjpg-streamer/blob/master/mjpg-streamer-experimental/plugins/output_http/README.md)) ((https://snapcraft.io/docs/getting-started)) ((https://github.com/john-clark/mjpg-streamer-setup))