GNU nano 2.7.4 File: 99-usb.rules
SUBSYSTEM=="tty", ATTRS{idVendor}==β0403β, ATTRS{idProduct}==β6001β, ATTRS{devpath}=="1.3", SYMLINK+="ttyENDβ
SUBSYSTEM=="tty", ATTRS{idVendor}==β0424β, ATTRS{idProduct}=="75232514β, ATTRS{devpath}=="1", SYMLINK+="ttyWISβ
GNU nano 2.7.4 File: /etc/init.d/octoprint2
#!/bin/sh
### BEGIN INIT INFO
# Provides: octoprint2
# Required-Start: $local_fs networking
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: octoprint2 daemon
# Description: Starts the octoprint2 daemon with the user specified in
# /etc/default/octoprint2.
### END INIT INFO
# Author: Sami Olmari
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="octoprint2 Daemon"
NAME="octoprint2"
DAEMON=/usr/bin/octoprint
PIDFILE=/var/run/$NAME.pid
PKGNAME=octoprint2
SCRIPTNAME=/etc/init.d/$PKGNAME
pi@octopi : /etc/udev/rules.d $ systemctl status octoprint2.service
β octoprint2.service - LSB: octoprint daemon
Loaded: loaded (/etc/init.d/octoprint2; generated; vendor preset: enabled)
Active: active (running) since Thu 2018-11-15 12:43:09 GMT; 47min ago
Docs: man:systemd-sysv-generator(8)
CGroup: /system.slice/octoprint2.service
ββ401 /home/pi/oprint/bin/python2 /home/pi/oprint/bin/octoprint serve --host=127.0.0.1 --port=5001 --basedir /home/pi/.octoprint2
Nov 15 12:43:09 octopi systemd[1]: Starting LSB: octoprint2 daemon...
Nov 15 12:43:09 octopi octoprint2[308]: Starting octoprint2 Daemon: octoprint2.
Nov 15 12:43:09 octopi systemd[1]: Started LSB: octoprint2 daemon.
GNU nano 2.7.4 File: /etc/haproxy/haproxy.cfg
global
maxconn 4096
user haproxy
group haproxy
log 127.0.0.1 local1 debug
defaults
log global
mode http
option httplog
option dontlognull
retries 3
option redispatch
option http-server-close
option forwardfor
maxconn 2000
timeout connect 5s
timeout client 15min
timeout server 15min
frontend public
bind :::80 v4v6
bind :::443 v4v6 ssl crt /etc/ssl/snakeoil.pem
option forwardfor except 127.0.0.1
use_backend webcam if { path_beg /webcam/ }
default_backend octoprint
backend end
reqrep ^([^\ :]*)\ /end/(.*) \1\ /\2
option forwardfor
server octoprint1 127.0.0.1:5000
acl needs_scheme req.hdr_cnt(X-Scheme) eq 0
reqadd X-Scheme:\ https if needs_scheme { ssl_fc }
reqadd X-Scheme:\ http if needs_scheme !{ ssl_fc }
reqadd X-Script-Name:\ /end
backend wis
reqrep ^([^\ :]*)\ /wis/(.*) \1\ /\2
option forwardfor
server octoprint1 127.0.0.1:5001
acl needs_scheme req.hdr_cnt(X-Scheme) eq 0
reqadd X-Scheme:\ https if needs_scheme { ssl_fc }
reqadd X-Scheme:\ http if needs_scheme !{ ssl_fc }
reqadd X-Script-Name:\ /wis
backend octoprint
acl needs_scheme req.hdr_cnt(X-Scheme) eq 0
reqrep ^([^\ :]*)\ /(.*) \1\ /\2
reqadd X-Scheme:\ https if needs_scheme { ssl_fc }
reqadd X-Scheme:\ http if needs_scheme !{ ssl_fc }
option forwardfor
server octoprint1 127.0.0.1:5000
errorfile 503 /etc/haproxy/errors/503-no-octoprint.http
backend webcam
reqrep ^([^\ :]*)\ /webcam/(.*) \1\ /\2
server webcam1 127.0.0.1:8080
errorfile 503 /etc/haproxy/errors/503-no-webcam.http
This is what I got. If I try to go through this port (192.168.x.x:5001 or 5000) it refuses to connect.