Re: [gentoo-user] Redux: Any UPS recommendations?

2013-01-11 Thread Daniel Frey
On 01/10/2013 04:21 PM, Walter Dnes wrote:
 On Tue, Jan 08, 2013 at 08:01:47AM -0500, Walter Dnes wrote
 
   I got an APC Back-UPS BX1300G-CN from the local Staples.  No worry
 whatsoever about overloading this baby.  I'm currently running a
 torture test with the monitor, the modem, and both PC's running.
 They're both doing an update.  I set things up so that both are building
 gcc at the same time.  Even so, the load indicator is only lighting up 2
 of 5 bars, indicating approximately 40% of max load.  It might've been a
 different story years ago back in the days of the Pentium 4 or AMD space
 heaters, plus add-on video cards.
 
   Being the geek that I am, I did RTFM the docs that came with the UPS.
 It has an option to decide how much to allow voltage to vary before
 switching over to battery power.  I selected the narrowest range, i.e.
 the sensitive electronics setting.
 
   One question about the configuration of apcupsd; what do I have to do
 get it to execute /usr/sbin/hibernate when hydro is out, and the
 battery is running low?
 

I've never used hibernate. I would imagine that that apcupsd would have
a hook. I googled quickly and found an ArchWiki article that discusses
it. Apparently you can create a symlink and apcupsd will use it rather
than the usual shutdown process.

Disclaimer: I have not tried it myself.

Dan



[gentoo-user] Redux: Any UPS recommendations?

2013-01-10 Thread Walter Dnes
On Tue, Jan 08, 2013 at 08:01:47AM -0500, Walter Dnes wrote
   I think my UPS is dying.  Time to get a new one.  It's been years, so
 there may be new tech out there I don't know about.  My normal usage is
 * 1 LCD monitor 24
 * 1 (sometimes 2) desktop PCs connected to the monitor
 * 1 ADSL router/modem

  I got an APC Back-UPS BX1300G-CN from the local Staples.  No worry
whatsoever about overloading this baby.  I'm currently running a
torture test with the monitor, the modem, and both PC's running.
They're both doing an update.  I set things up so that both are building
gcc at the same time.  Even so, the load indicator is only lighting up 2
of 5 bars, indicating approximately 40% of max load.  It might've been a
different story years ago back in the days of the Pentium 4 or AMD space
heaters, plus add-on video cards.

  Being the geek that I am, I did RTFM the docs that came with the UPS.
It has an option to decide how much to allow voltage to vary before
switching over to battery power.  I selected the narrowest range, i.e.
the sensitive electronics setting.

  One question about the configuration of apcupsd; what do I have to do
get it to execute /usr/sbin/hibernate when hydro is out, and the
battery is running low?

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications