Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Link al firmware da scaricare: https://github.com/ihrapsa/OctoWrt/blob/main/firmware/OpenWrt_snapshot/OctoWrt-factory.bin
- #############################
- # IMPORTANTE: nei copiaincolla qua sotto copiare ed eseguire una riga per volta
- #############################
- # PRIMO SCRIPT - EXTERNAL STORAGE
- cd /tmp
- wget https://github.com/ihrapsa/OctoWrt/raw/main/scripts/1_format_extroot.sh
- chmod +x 1_format_extroot.sh
- ./1_format_extroot.sh
- reboot
- #############################
- # SECONDO SCRIPT - INSTALLAZIONE OCTOPRINT
- cd /tmp
- wget https://github.com/ihrapsa/OctoWrt/raw/main/scripts/2_octoprint_install.sh
- chmod +x 2_octoprint_install.sh
- ./2_octoprint_install.sh
- # alla fine dovrebbe chiedervi lui "premi invio per riavviare"
- #############################
- # PATCH PER NETIFACES
- cd /tmp
- wget https://github.com/ihrapsa/OctoWrt/raw/main/packages/python3.9-regex-2022.1.18+netifaces-0.11.0_mipsel_24kc.ipk
- opkg install 'python3.9-regex-2022.1.18+netifaces-0.11.0_mipsel_24kc.ipk' --force-reinstall
- reboot
- #############################
- # CONFIGURAZIONI INIZIALI DI OCTOPRINT:
- # Restart OctoPrint : /etc/init.d/octoprint restart
- # Restart system : reboot
- # Shutdown system : poweroff
- # CONFIGURAZIONI WEBCAM
- # Stream URL: http://your-box-ip:8080/?action=stream
- # Snapshot URL: http://your-box-ip:8080/?action=snapshot
- # ffmpeg binary path as: /usr/bin/ffmpeg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement