#acl +All:read = 3D printers in Automatic Control Workshop = The department has two [[https://www.prusa3d.com/category/original-prusa-i3-mk3s/|Prusa i3 MK3S+]]. They are accessible on [[http://octoprint-01.bb.control.lth.se]] & [[http://octoprint-02.bb.control.lth.se]] but only from Automatic Control's network. EduRoam or LU VPN won't cut it. You can use a SSH tunnel if you need to access the printers when off-site. The printers are controlled using octoprint servers. == Instructions == See [[https://help.prusa3d.com/tag/mk3s-2|help.prusa3d.com]]. == Instructions for using octoprint == * You can upload gcode through the widget in the left column. When uploaded press the printer symbol and confirm to start. * You replace filament in the same way as before. Make sure you start the correct printer with the correct filament. * If you want to cancel a print through the UI you need an user account. If you don't have one you can pause the print through the UI and restart the printer using the button below the selection knob on the printer. Refresh the octoprint page and wait until it is connected again. * The camera feed is on tab labeled control (IIRC). The route {{{*.bb.control.lth.se}}} should be resolved by {{{gateway.control.lth.se}}} but is not. === Instructions on how to access *.bb.control.lth.se === ==== Windows ==== * Open administrative shell: Start > type cmd > Right-click and select run as adminstrator) * Run {{{route -p ADD 192.168.187.0 MASK 255.255.255.0 130.235.83.6}}} ==== Mac ==== * Open a terminal * Run {{{sudo route -n add -net 192.168.187.0/24 130.235.83.6}}} ==== Linux ==== * Open a terminal. * Find your preferred device using {{{ip link}}} (enp* or eth* for ethernet and wlp* or wifi* for wireless). Replace in code below where it says enpXsY. * Store choosen interface by running {{{DEVICE=enpXsY}}} * Select from following options: ===== Temporarily via ip route (Most distros) ===== {{{sudo ip route add 192.168.187.0/24 via 130.235.83.6 dev "$DEVICE"}}} ===== NetworkManager persistent (Most distros) ===== {{{sudo nmcli connection modify "$DEVICE" +ipv4.routes "192.168.187.0/24 130.235.83.6"}}} ===== Netplan persistent route (Ubuntu/cloud init) ===== Add the following to {{{/etc/netplan/bb.control.lth.se.yaml}}} (needs to be edited with sudo) {{{ network: version: 2 ethernets: enpXsY: routes: - to: 192.168.187.0/24 via: 130.235.83.6 }}} Then run {{{sudo netplan apply}}}. ---- CategoryWorkshop