rentalshwa.blogg.se

Apc Powerchute Personal Edition Serial Port
Apc Powerchute Personal Edition Serial Port






Apc Powerchute Personal Edition Serial Port

Make apcupsd kill UPS power once the hibernate is done # ln -s /usr/local/bin/hibernate /etc/apcupsd/remotedown If you are running apcupsd as a client to another machine running apcupsd as a server and want your machine to hibernate if the sever is shutdown or if communication to the server is lost then you may also wish to add: # ln -s /usr/local/bin/hibernate /etc/apcupsd/doshutdown The result is the apcupd's apccontrol script, in this directory, will call the hibernate script instead of doing the default shutdown action for these operations. Link the hibernate script for apcupsd to use itĬreate a symbolic link from the /etc/apcupsd directory to the script. # On resume, tell controlling script (/etc/apcupsd/apccontrol) NOT to continue with default action (i.e. # At this point system should be hibernated - when it comes back, we resume this script here # interactively or from any script to cause a hibernate.

Apc Powerchute Personal Edition Serial Port Apc Powerchute Personal Edition Serial Port

# directory in case of apcupsd initiating a shutdown/reboot. # Hibernate the system - designed to be called via symlink from /etc/apcupsd To set up hibernation, see Power management/Suspend and hibernate.Ĭreate this in /usr/local/bin/hibernate as root: First, make sure the system hibernates cleanly. You can make your system hibernate instead of shutting down.

Apc Powerchute Personal Edition Serial Port

When everything is ok, all that is left to do is enable the apcupsd service. Change TIMEOUT from 1 back to 0 in the /etc/apcupsd/nf file.Observe that your Linux box powers down, in short order.Change TIMEOUT from 0 to 1 in the /etc/apcupsd/nf file.Next, wait about a minute and confirm the daemon is running and properly monitoring the battery: The default configuration is for devices connected over a USB cable. The main configuration file for the APC UPS daemon can be found in /etc/apcupsd/nf. In the event of a prolonged power outage, should the APC UPS lose most of its battery capacity, it can tell the Linux box to perform a safe shutdown. The APC UPS can communicate with the Linux system through either a RS-232 or USB serial connection. This document describes how to install the APC UPS daemon.








Apc Powerchute Personal Edition Serial Port