Skip to content

Releases: ihrapsa/KlipperWrt

KlipperWrt v2.2

21 Jul 18:49
9e7e2dd
Compare
Choose a tag to compare

OpenWrt binaries to flash on the Creality Wi-Fi Box.
Proceed with the README guide after OpenWrt is up and running

OpenWrt SNAPSHOT, r20027-586c2426d9
Linux OpenWrt 5.10.127 #0 Tue Jul 5 19:23:44 2022 mips GNU/Linux

KlipperWrt v2.1

09 Jul 15:36
337bb63
Compare
Choose a tag to compare
KlipperWrt v2.1 Pre-release
Pre-release

Mainsail and Fluidd extroot filesystem for the Creality Wi-Fi Box running OpenWrt.

Each archive comes preinstalled with either fluidd or Mainsail, Klipper, Moonraker, mjpg-streamer for webcam stream and Fry's timelapse component for taking frames and rendering the video.

( 🔴 Screenshots)

alt text
alt text
alt text
alt text

Changelog:

  • Update to kernel k5.10.46
  • LuCi web interface to easily set-up internet connection.
  • Custom Argon theme and config luci app
  • Web UI with integrated Terminal and File Transfer luci app (with which you can download folders as well like /tmp/timelapse if you want to render the frames on your PC)
  • Fluidd v1.16.2
  • Mainsail v1.6.0
  • zswap(lzo/zbud) on and zram with 60mb + 512mb swap on sdcard
  • timelapse autorender now is set by default to False

STEPS:

  • Make sure you've flahsed/sysupgraded latest .bin file from down below.
  • Connect to the KlipperWrt access point
  • Access LuCi web interface and log in on 192.168.1.1:81
  • (optional but recommended) Add a password to the KlipperWrt access point: Wireless -> Under wireless overview EDIT the KlipperWrt interface -> Wireless Security -> Choose an encryption -> set a password -> Save -> Save & Apply
  • (optional but recommended) Add a password: System -> Administration -> Router Password
  • Connect as a client to your Internet router: Network -> Wireless -> SCAN -> Join Network -> check Lock to BSSID -> Create/Assign Firewall zone then under custom type wwan enter -> Submit -> Save -> Save & Apply
  • Connect back to your router and find the new box's ip inside the DHCP list. It should be associated with the KlipperWrt hostname.
  • ❗ Access the terminal tab (Services -> Terminal) ❗ If terminal tab is not working go to Config tab and change Interface to the interface you are connecting through the box (your wireless router SSID for example) -> Save & Apply.
  • Download and execute the install script:
cd ~
wget https://github.com/ihrapsa/KlipperWrt/raw/main/scripts/KlipperWrt_install.sh
chmod +x KlipperWrt_install.sh
./KlipperWrt_install.sh
  • Follow the script prompts to install either fluidd or Mainsail automatically
  • Wait until it prompts you to reboot
  • When done and rebooted use http://klipperwrt.local or http://box-ipto access the Klipper client
  • Done!

Setting up your printer.cfg

  • put your printer.cfg inside /root/klipper_config
  • delete these blocks from your printer.cfg: [virtual_sdcard], [display_status], [pause_resume] since they're included inside client.cfg
  • move all your macros to client_macros.cfg
  • add these 2 lines inside your printer.cfg:
    [include client.cfg]
    [include client_macros.cfg]
  • Done!

Notes:

  • If you want to keep the box wired to your router Change network protocol inside Network -> Interfaces-> change Protocol from Static address to DHCP client -> Save & apply.
  • Timelapse is set to autorender: False under [timelapse] block inside moonraker.conf. This way if the print fails you'll still be able to render it by executing the TIMELAPSE_RENDER macro. You can also the frames folder /tmp/timelapse (using Services -> File Transfer -> right click on the folder -> download) and render the frames on your PC. Check here for how to set your TIMELAPSE_TAKE_FRAME macro or TIMELAPSE_TAKE_PARKED_FRAME inside your slicer layer change.

KlipperWrt v2.0

06 Jul 01:03
da866b2
Compare
Choose a tag to compare
KlipperWrt v2.0 Pre-release
Pre-release

Mainsail and Fluidd extroot filesystem for the Creality Wi-Fi Box running OpenWrt.

Each archive comes preinstalled with either fluidd or Mainsail, Klipper, Moonraker, mjpg-streamer for webcam stream and Fry's timelapse component for taking frames and rendering the video.

Changelog:

  • LuCi web interface to easily set-up internet connection.
  • Custom Argon theme and config luci-app
  • Web UI with integrated Terminal and File Browser
  • Fluidd v1.15.0
  • Mainsail v1.6.0
  • zswap on zram of 128mb + 512mb swap on sdcard (lzo/zbud)
  • timelapse autorender now is set by default to False

STEPS:

  • Make sure you've flahsed/sysupgraded latest .bin file from /Firmware/OpenWrt_snapshot/ or down below.
  • Connect to the KlipperWrt access point
  • Access LuCi web interface and log in on 192.168.1.1:81
  • (optional but recommended) Add a password to the KlipperWrt access point: Wireless -> Under wireless overview EDIT the KlipperWrt interface -> Wireless Security -> Choose an encryption -> set a password -> Save -> Save & Apply
  • (optional but recommended) Add a password: System -> Administration -> Router Password
  • Connect as a client to your Internet router: Network -> Wireless -> SCAN -> Join Network -> check Lock to BSSID -> Create/Assign Firewall zone then under custom type wwan enter -> Submit -> Save -> Save & Apply
  • Connect back to your router and either find the new box's ip inside the DHCP list or type http://klipperwrt.local:81
  • ❗ Access the terminal tab (Services -> Terminal) ❗ If terminal tab is not working go to Config tab and change Interface to the interface you are connecting through the box (your wireless router SSID for example) -> Save & Apply.
  • Download and execute the install script:
cd ~
wget https://github.com/ihrapsa/KlipperWrt/raw/main/KlipperWrt_install.sh
chmod +x KlipperWrt_install.sh
./KlipperWrt_install.sh
  • Follow the script prompts to install either fluidd or Mainsail automatically
  • Wait until it prompts you to reboot
  • When done and rebooted use http://klipperwrt.local or http://box-ipto access the Klipper client
  • Done!

Setting up your printer.cfg

  • put your printer.cfg inside /root/klipper_config
  • delete these blocks from your printer.cfg: [virtual_sdcard], [display_status], [pause_resume] since they're included inside client.cfg
  • move all your macros to client_macros.cfg
  • add these 2 lines inside your printer.cfg:
    [include client.cfg]
    [include client_macros.cfg]
  • Done!

Notes:

  • If you want to keep the box wired to your router Change network protocol inside Network -> Interfaces-> change Protocol from Static address to DHCP client -> Save & apply.
  • Timelapse is set to autorender: False under [timelapse] block inside moonraker.conf. This way if the print fails you'll still be able to render it by executing the TIMELAPSE_RENDER macro. You can also copy the frames from /tmp/timelapse to your PC and render the there. Check here for how to set your TIMELAPSE_TAKE_FRAME macro or TIMELAPSE_TAKE_PARKED_FRAME inside your slicer layer change.

KlipperWrt v1.0

19 Jun 19:48
d8bf0e2
Compare
Choose a tag to compare
KlipperWrt v1.0 Pre-release
Pre-release

Mainsail and Fluidd extroot filesystem for the Creality Wi-Fi Box running OpenWrt.

Each archive comes preinstalled with either fluidd v1.14.0 or Mainsail v1.6.0, Klipper, Moonraker, mjpg-streamer for webcam stream and Fry's timelapse component for taking frames and rendering the video.

STEPS:

  • Make sure you've flahsed/sysupgraded latest .bin file from /Firmware/OpenWrt_snapshot/ or down below.
  • Format an sd card as ext4 and untar one of the archive to its root: eg: sudo tar -xzvf fluiddWrt.tar.gz -C /mnt where /mnt is the path where the sd card is mounted on your linux pc. Might be different so double-check.
  • Do the Wi-Fi step if you haven't done it already
  • Do the extroot part ❗ EXCEPT ❗ this line: mkfs.ext4 /dev/mmcblk0p1 (otherwise you'll format it again)
  • SKIP ❗ swap step since it already comes inside the archive
  • Reboot

Setting up your printer.cfg

  • put your printer.cfg inside /root/klipper_config
  • delete these blocks from your printer.cfg: [virtual_sdcard], [display_status], [pause_resume] since they're included inside client.cfg
  • move all your macros to client_macros.cfg
  • add these 2 lines inside your printer.cfg:
    [include client.cfg]
    [include client_macros.cfg]
  • Done

Notes:

  • If the box doesn't connect back to your router wirelessly connect to it with an ethernet cable and setup/troubleshoot wifi.
  • timelapse is set to autorender which might take a while to finish after a long print. You might set it to autorender: False under [timelapse] block inside moonraker.conf. Check here for how to set your TIMELAPSE_TAKE_FRAME macro or TIMELAPSE_TAKE_PARKED_FRAME inside your slicer layer change.