This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
deb12:tofix [2025/10/02 13:25] – created Bernard Condrau | deb12:tofix [2025/10/02 14:33] (current) – [NUT for APC SRV1K] Bernard Condrau | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== To Fix ====== | ====== To Fix ====== | ||
+ | ===== Wait for network ===== | ||
+ | google: linux bash does not recognize when network comes up | ||
+ | * use ping< | ||
+ | TARGET_HOST=" | ||
+ | while ! ping -c 1 " | ||
+ | echo " | ||
+ | sleep 5 # Wait 5 seconds before retrying | ||
+ | done | ||
+ | echo " | ||
+ | # Your network-dependent commands here | ||
+ | </ | ||
+ | * check network interface state< | ||
+ | INTERFACE=" | ||
+ | while [[ $(</ | ||
+ | echo " | ||
+ | sleep 5 | ||
+ | done | ||
+ | echo " | ||
+ | # Your network-dependent commands here | ||
+ | </ | ||
+ | google: linux interface up when no router | ||
+ | |||
+ | ===== NUT for APC SRV1K ===== | ||
+ | * [[https:// | ||
+ | * google "nut with qinheng electronics ch341" | ||
+ | * '' | ||
+ | * google "nut driver not connected" | ||
+ | * google "how to create driver for nut in debian 12" |