stickyimage

Felici is packed with a cool notification manager, alert your visitors the smart way.

Learn More Close

Howto Install APC UPS 750 Series on Debian Lenny/Squeeze

[box type="info" border="full"]Update 02-10-2011
It seems that this tutorial also works for Debian Squeeze[/box]

I have searched the internet for installing a UPS ons Debian Lenny. But all the tutorials were outdated. Well not for long here I have a small howto:

1.What I have

  1. Server with Debian Lenny
  2. APC Smart UPS 750

2. Howto Install

First we plugin the server to the UPS with  a USB cable.

After that we update our packages on the server:

apt-get update

After that we install the package named APCUPSD:

apt-get install apcupsd

2.1 Configuring apcupsd.conf

After we installed the UPS module we need to configure it the configuration is at the folowing location /etc/apcupsd/apcupsd.conf:

nano /etc/apcupsd/apcupsd.conf

Find the follwing word UPSCABLE Aprox. on line 29/326

Change

UPSCABLE smart

To

UPSCABLE usb

Then we scroll down and look for UPSTYPE and DEVICE Aprox. on line 75/326 & 76/326

Change

UPSTYPE apcsmart
DEVICE /dev/ttys0

to

UPSTYPE usb
DEVICE

Keep the DEVICE blank!

After that press CTRL+X and save the file by confirming with Y

Edit: 13-12-2009

Thanks to HJH in the comment i am correcting the thing i forgot to put in the tutorial:

edit /etc/default/apcupsd and set isconfigured to yes

After that press CTRL+X and save the file by confirming with Y

Now start apcupsd

/etc/init.d/apcupsd start

After you have started apcupsd you should type the following command if the ups is successfully installed

apcaccess

After this it should show an output with all the information that it should show.

1095 days ago by in Howto. You can follow any responses to this entry through the | RSS feed. You can leave a response, or trackback from your own site.
About

Just a man in Linux and Windows!

10 Comments to Howto Install APC UPS 750 Series on Debian Lenny/Squeeze
    • HJH
    • My version demanded that I edited /etc/default/apcupsd and set isconfigured to yes.
      Then its a go;)

    • Paul
    • Just did it on Deb 6 works like a charm love to see the output on apcaccess big smile thanks heaps

    • Dávid
    • Hi Guys!

      Great tutorial! Works great on Debian Squeeze, with Back-UPS CS 650!!

      Thank you very much!!

      Dávid

Leave A Response

Required


*

Spam Protection by WP-SpamFree