shutdown_linux
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
shutdown_linux [2024/11/27 12:39] – created torte | shutdown_linux [2025/01/21 12:20] (current) – torte | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Sovol SV06+ (mostly) ====== | + | {{page> |
+ | https:// | ||
+ | {{page> | ||
+ | ---- | ||
+ | |||
+ | ====== Sovol SV06+/SV07+ (mostly) ====== | ||
===== Klipper Shutdown ===== | ===== Klipper Shutdown ===== | ||
===== Linux version ===== | ===== Linux version ===== | ||
+ | |||
+ | ==== Requirements ==== | ||
+ | * HS110 wifi power plug | ||
+ | * python (should already be on your system, otherwise use '' | ||
+ | * For simple setup using clear text passwords: | ||
+ | * plink from putty-tools | ||
+ | * install with '' | ||
+ | * For recommended setup using ssh with a key file: | ||
+ | * ssh with a private key generated by ssh-keygen and its public key pasted to the device' | ||
+ | * see '' | ||
+ | * softScheck " | ||
+ | |||
+ | ==== Setup ==== | ||
+ | |||
+ | Copy the 5 files '' | ||
+ | |||
+ | Make these files executable by using '' | ||
+ | |||
+ | Have '' | ||
+ | |||
+ | Modify '' | ||
+ | |||
+ | Without further modifications, | ||
+ | |||
+ | For other devices, change the variables '' | ||
+ | |||
+ | Now you should be able to shutdown and power off the device using clear text passwords by executing '' | ||
+ | To power it on, execute '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | To use passwordless login (recommended), | ||
+ | You can either use putty' | ||
+ | |||
+ | First create the " | ||
+ | * '' | ||
+ | For plink: | ||
+ | * Use '' | ||
+ | * Use '' | ||
+ | * See '' | ||
+ | For standard ssh: | ||
+ | * Use '' | ||
+ | * Use '' | ||
+ | * See '' | ||
+ | * Set the '' | ||
+ | Then | ||
+ | * Make the keyfile unreadable to other users: '' | ||
+ | * Adjust the '' | ||
+ | * Empty the '' | ||
+ | * Log into the device using ssh and add the **public** key to '' | ||
+ | * '' | ||
+ | * Paste the public key line and press " | ||
+ | * Allow user " | ||
+ | * add following line to / | ||
+ | |||
+ | Now you should be able to shutdown and power off the device without clear text passwords. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Files ===== | ||
==== hs110_off ==== | ==== hs110_off ==== | ||
Line 34: | Line 99: | ||
PLINKCMD=plink | PLINKCMD=plink | ||
PLINKKEY= | PLINKKEY= | ||
- | # options for plink with putty key (puttygen) | + | # options for plink with putty key (created with puttygen) |
#PASSWORD= | #PASSWORD= | ||
- | #PLINKKEY=printer.ppk | + | #PLINKKEY=~/.ssh/ |
- | # options for standard ssh (ssh-keygen) | + | # options for standard ssh (key created with ssh-keygen) |
#PASSWORD= | #PASSWORD= | ||
- | # | + | # |
# | # | ||
shutdown_linux.1732707578.txt.gz · Last modified: 2024/11/27 12:39 by torte