# BIQU Hurakan Configuration > [!NOTE] > Early Hurakan printers have a raised bed power switch, so enable (uncomment) `#define PROBING_MARGIN_BACK` in `Configuration_adv.h` to prevent the hotend from potentially colliding with the switch assembly while probing. > > MicroProbe V2 is assumed. The BIQU Hurakan ships with a BigTreeTech Manta M4P motherboard which includes an integrated BigTreeTech CB1 single board computer running Klipper. See below for instructions on how to update the CB1 to run OctoPrint. # Table of Contents - [Update Hurakan CB1 Image Defaults](#update-hurakan-cb1-image-defaults) * [SSH into to the CB1](#ssh-into-to-the-cb1) * [Update Timezone](#update-timezone) * [Update NTP Server](#update-ntp-server) + [Reboot](#reboot) * [SSH into to the CB1](#ssh-into-to-the-cb1-1) * [Update APT](#update-apt) - [Install OctoPrint via KIAUH](#install-octoprint-via-kiauh) * [Update PIP](#update-pip) + [Reboot](#reboot-1) * [Access OctoPrint via Web Browser](#access-octoprint-via-web-browser) # Update Hurakan CB1 Image Defaults > [!IMPORTANT] > Start with the latest `CB1_Debian11_Klipper_kernel*.img.xz` (full) image from [bigtreetech/CB1/releases](https://github.com/bigtreetech/CB1/releases). ## SSH into to the CB1 ```shell ssh biqu@ ``` Password: `biqu` ## Update Timezone > [!NOTE] > See [Wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) or run `timedatectl list-timezones` for list of valid time zone names. `America/Los_Angeles` is used in the example below. ```shell sudo timedatectl set-timezone America/Los_Angeles ``` ## Update NTP Server ```shell sudo nano /etc/scripts/init.sh ``` image Change: `# sudo ntpdate stdtime.gov.hk` To: `# sudo ntpdate pool.ntp.org` Press `CTRL`+`X` to exit Press `Y` to save ### Reboot ```shell sudo reboot ``` ## SSH into to the CB1 ```shell ssh biqu@ ``` Password: `biqu` ## Update APT ```shell sudo apt update sudo apt upgrade ``` # Install OctoPrint via KIAUH ```shell cd ~ git clone https://github.com/dw-0/kiauh.git ./kiauh/kiauh.sh ``` > [!NOTE] > Klipper, Moonraker, Mainsail, and KlipperScreen come preinstalled on the Hurakan image. Type 1 to install an app: image Type 6 to install OctoPrint: image ## Update PIP ```shell /home/biqu/.KlipperScreen-env/bin/python -m pip install --upgrade pip ``` ### Reboot ```shell sudo reboot ``` ## Access OctoPrint via Web Browser OctoPrint is now running at `:5000` After running the first time setup wizard, select `/dev/ttyACM0` as the serial port. ## Enable the `shutdown` Action Command in OctoPrint To enable a graceful shutdown of OctoPrint from the LCD, open OctoPrint in your browser and go to Settings -> Serial Connection -> Firmware & protocol and scroll down to Action commands. Tick the "Enable the `shutdown` action command" box and reboot OctoPrint for the feature to be enabled. image