Skip to content

KlipperWrt v2.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ihrapsa ihrapsa released this 09 Jul 15:36
· 41 commits to main since this release
337bb63

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.