Advertisement
overvolt

Octoprint con Octowrt su Creality Box

May 18th, 2022
3,960
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Link al firmware da scaricare: https://github.com/ihrapsa/OctoWrt/blob/main/firmware/OpenWrt_snapshot/OctoWrt-factory.bin
  2.  
  3. #############################
  4.  
  5. # IMPORTANTE: nei copiaincolla qua sotto copiare ed eseguire una riga per volta
  6.  
  7. #############################
  8.  
  9. # PRIMO SCRIPT - EXTERNAL STORAGE
  10.  
  11. cd /tmp
  12. wget https://github.com/ihrapsa/OctoWrt/raw/main/scripts/1_format_extroot.sh
  13. chmod +x 1_format_extroot.sh
  14. ./1_format_extroot.sh
  15. reboot
  16.  
  17. #############################
  18.  
  19. # SECONDO SCRIPT - INSTALLAZIONE OCTOPRINT
  20.  
  21. cd /tmp
  22. wget https://github.com/ihrapsa/OctoWrt/raw/main/scripts/2_octoprint_install.sh
  23. chmod +x 2_octoprint_install.sh
  24. ./2_octoprint_install.sh
  25. # alla fine dovrebbe chiedervi lui "premi invio per riavviare"
  26.  
  27. #############################
  28.  
  29. # PATCH PER NETIFACES
  30.  
  31. cd /tmp
  32. wget https://github.com/ihrapsa/OctoWrt/raw/main/packages/python3.9-regex-2022.1.18+netifaces-0.11.0_mipsel_24kc.ipk
  33. opkg install 'python3.9-regex-2022.1.18+netifaces-0.11.0_mipsel_24kc.ipk' --force-reinstall
  34. reboot
  35.  
  36. #############################
  37.  
  38. # CONFIGURAZIONI INIZIALI DI OCTOPRINT:
  39. # Restart OctoPrint : /etc/init.d/octoprint restart
  40. # Restart system : reboot
  41. # Shutdown system : poweroff
  42.  
  43. # CONFIGURAZIONI WEBCAM
  44. # Stream URL: http://your-box-ip:8080/?action=stream
  45. # Snapshot URL: http://your-box-ip:8080/?action=snapshot
  46. # ffmpeg binary path as: /usr/bin/ffmpeg
Advertisement
RAW Paste Data Copied
Advertisement