diff --git a/docs/configurations/change-wifi-location.md b/docs/configurations/change-wifi-location.md index b938a7f9..303cb58e 100644 --- a/docs/configurations/change-wifi-location.md +++ b/docs/configurations/change-wifi-location.md @@ -19,7 +19,7 @@ Only make these changes if you are experiencing stability issues with your print - Enter the following command to check all available locations: - ``` title="SSH Command Prompt" + ``` cat /usr/share/zoneinfo/zone.tab ``` @@ -43,7 +43,7 @@ Only make these changes if you are experiencing stability issues with your print - On the right part of the window, in SSH command prompt, enter this command to reboot your printer: - ``` title="SSH Command Prompt" + ``` reboot ``` diff --git a/docs/configurations/configure-camera.md b/docs/configurations/configure-camera.md index 53614ad5..a6d00a88 100644 --- a/docs/configurations/configure-camera.md +++ b/docs/configurations/configure-camera.md @@ -42,7 +42,7 @@ If you want to configure camera for Fluidd and Mainsail you can also configure i - Add this lines (if you don't have them) by replacing `xxx.xxx.xxx.xxx` by your local IP address: - ``` title="moonraker.conf" + ``` [webcam Camera] location: printer enabled: True diff --git a/docs/firmwares/change-date-and-time.md b/docs/firmwares/change-date-and-time.md index ab965c4a..aeb2db67 100644 --- a/docs/firmwares/change-date-and-time.md +++ b/docs/firmwares/change-date-and-time.md @@ -14,7 +14,7 @@ This guide explains how to set the correct date and time on your printer based o - Enter this command to see the current date and time defined on your printer: - ``` title="SSH Command Prompt" + ``` date ``` @@ -22,59 +22,59 @@ This guide explains how to set the correct date and time on your printer based o - Enter this command to see the current time zone defined on your printer: - ``` title="SSH Command Prompt" + ``` ls -l /etc/localtime | awk '{print $6, $7, $8, $9, $10, $11}' ``` By default I get this (I live in France so this is not correct): - ``` title="SSH Command Prompt" + ``` Jan 10 16:04 /etc/localtime -> ../usr/share/zoneinfo/Asia/Shanghai ``` - Enter this command to delete the current time zone: - ``` title="SSH Command Prompt" + ``` rm -rf /etc/localtime ``` - Enter this command to display the list of available zones: - ``` title="SSH Command Prompt" + ``` ls /usr/share/zoneinfo | grep '^[A-Z]' ``` - Enter this command to display the list of cities available in the chosen zone (by replacing the `XXX` with the zone): - ``` title="SSH Command Prompt" + ``` ls /usr/share/zoneinfo/XXX | grep '^[A-Z]' ``` !!! Example - ``` title="SSH Command Prompt" + ``` ls /usr/share/zoneinfo/Europe | grep '^[A-Z]' ``` - When you have find your current time zone, enter this command to define it (by replacing the `XXX` with the zone and `YYY` by the city): - ``` title="SSH Command Prompt" + ``` ln -s /usr/share/zoneinfo/XXX/YYY /etc/localtime ``` !!! Example - ``` title="SSH Command Prompt" + ``` ln -s /usr/share/zoneinfo/Europe/Paris /etc/localtime ``` - Enter this command to restart NTP server to take effect: - ``` title="SSH Command Prompt" + ``` /etc/init.d/S49ntp restart ``` - Then enter this command again to see the changes applied: - ``` title="SSH Command Prompt" + ``` date ``` diff --git a/docs/firmwares/install-and-update-rooted-firmware-ender3.md b/docs/firmwares/install-and-update-rooted-firmware-ender3.md index a9bb2053..95fe5862 100644 --- a/docs/firmwares/install-and-update-rooted-firmware-ender3.md +++ b/docs/firmwares/install-and-update-rooted-firmware-ender3.md @@ -63,7 +63,7 @@ This can be useful if you have made modifications to the printer (BLTouch etc... - If you no longer want to have the USB drive inserted (until the next factory reset), connect to SSH (Guide is available here) and enter this command: - ``` title="SSH Command Prompt" + ``` sed -i 's/"self_test_sw":1/"self_test_sw":0/' /usr/data/creality/userdata/config/system_config.json ``` diff --git a/docs/firmwares/install-and-update-rooted-firmware-k1.md b/docs/firmwares/install-and-update-rooted-firmware-k1.md index f2b9a0b1..c30e2cd5 100644 --- a/docs/firmwares/install-and-update-rooted-firmware-k1.md +++ b/docs/firmwares/install-and-update-rooted-firmware-k1.md @@ -84,7 +84,7 @@ This can be useful if you have made modifications to the printer (BLTouch etc... - If you no longer want to have the USB drive inserted (until the next factory reset), connect to SSH (Guide is available here) and enter this command: - ``` title="SSH Command Prompt" + ``` sed -i 's/"self_test_sw":1/"self_test_sw":0/' /usr/data/creality/userdata/config/system_config.json ``` diff --git a/docs/firmwares/reset-factory-settings.md b/docs/firmwares/reset-factory-settings.md index 3bf570e0..122e8546 100644 --- a/docs/firmwares/reset-factory-settings.md +++ b/docs/firmwares/reset-factory-settings.md @@ -10,7 +10,7 @@ Note that the Factory Reset function in the screen menu settings only performs a - Enter the following command to perform a full factory reset: - ``` title="SSH Command Prompt" + ``` echo "all" | nc -U /var/run/wipe.sock ``` @@ -32,7 +32,7 @@ Note that the Factory Reset function in the screen menu settings only performs a - Enter the following command to perform a full factory reset: - ``` title="SSH Command Prompt" + ``` /etc/init.d/S58factoryreset reset ``` diff --git a/docs/firmwares/restore-previous-firmware-ender3.md b/docs/firmwares/restore-previous-firmware-ender3.md index f414f460..c26243fa 100644 --- a/docs/firmwares/restore-previous-firmware-ender3.md +++ b/docs/firmwares/restore-previous-firmware-ender3.md @@ -44,7 +44,7 @@ You can easily restore current Firmware to a previous one. - Connect to SSH (Guide is available here) and run this command: - ``` title="SSH Command Prompt" + ``` /etc/ota_bin/local_ota_update.sh /tmp/udisk/sda1/*.img ``` diff --git a/docs/firmwares/restore-previous-firmware-k1.md b/docs/firmwares/restore-previous-firmware-k1.md index 9d120ec1..8fbe9c22 100644 --- a/docs/firmwares/restore-previous-firmware-k1.md +++ b/docs/firmwares/restore-previous-firmware-k1.md @@ -40,7 +40,7 @@ You can easily restore current Firmware to a previous one. - Connect to SSH (Guide is available here) and run this command: - ``` title="SSH Command Prompt" + ``` /etc/ota_bin/local_ota_update.sh /tmp/udisk/sda1/*.img ``` diff --git a/docs/helper-script/buzzer-support.md b/docs/helper-script/buzzer-support.md index c64c6393..09e50641 100644 --- a/docs/helper-script/buzzer-support.md +++ b/docs/helper-script/buzzer-support.md @@ -23,7 +23,7 @@ This allows to use the buzzer integrated into the motherboard to play a sound du !!! Example Here is an example to play 3 sounds when printing is complete:
- ``` title="gcode_macro.cfg" hl_lines="12 13 14" + ``` [gcode_macro END_PRINT] gcode: Qmode_exit diff --git a/docs/helper-script/camera-settings-control.md b/docs/helper-script/camera-settings-control.md index 76aa6bad..7fef6eb8 100644 --- a/docs/helper-script/camera-settings-control.md +++ b/docs/helper-script/camera-settings-control.md @@ -30,7 +30,7 @@ This allows to control camera settings with macros. - When restarting the printer your camera settings will not be preserved, to correct this open `camera-settings.cfg` located in `Helper-Script` folder and edit this lines with the desired values: - ``` title="camera-settings.cfg" + ``` [delayed_gcode LOAD_CAM_SETTINGS] initial_duration: 2 gcode: diff --git a/docs/helper-script/entware.md b/docs/helper-script/entware.md index f849cdf7..d91cbf46 100644 --- a/docs/helper-script/entware.md +++ b/docs/helper-script/entware.md @@ -26,53 +26,64 @@ Installing Entware allows ton install packages to your printer to perform new ta - This is available commands (replacing `` by the name of the package): - ``` title="To install a specified package" + To install a specified package: + ``` opkg install ``` - ``` title="To update available packages list" + To update available packages list: + ``` opkg update ``` - ``` title="To update all installed packages" + To update all installed packages: + ``` opkg upgrade ``` - ``` title="To update a specified package" + To update a specified package: + ``` opkg upgrade ``` - ``` title="To display the list of all available packages" + To display the list of all available packages: + ``` opkg list ``` - ``` title="To display the list of all installed packages" + To display the list of all installed packages: + ``` opkg list-installed ``` - ``` title="To display the list of packages that can be updated" + To display the list of packages that can be updated: + ``` opkg list-upgradable ``` - ``` title="To remove package without its associated dependencies" + To remove package without its associated dependencies: + ``` opkg remove ``` - ``` title="To remove package and its associated dependencies" + To remove package and its associated dependencies: + ``` opkg --autoremove remove ``` - ``` title="To display detailed information about a specified package" + To display detailed information about a specified package: + ``` opkg info ``` - ``` title="To display the list of files installed by a specified package" + To display the list of files installed by a specified package: + ``` opkg files ``` !!! Example To install **Nano** (Nano is a small and simple text editor for use on the terminal):
- ``` title="SSH Command Prompt" + ``` opkg install nano ``` diff --git a/docs/helper-script/git-backup.md b/docs/helper-script/git-backup.md index 74eb1cf6..5ff28e9b 100644 --- a/docs/helper-script/git-backup.md +++ b/docs/helper-script/git-backup.md @@ -76,11 +76,12 @@ This allows to watch Klipper configuration folder and automatically backup to Gi - Git Backup can also be controlled from SSH with this command by replacing `