Howto Install APC UPS 750 Series on Debian Lenny/Squeeze

Categories: Tutorials - Tags: , , , , , ,
Update 02-10-2011
It seems that this tutorial also works for Debian Squeeze

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.

10 Responses to Howto Install APC UPS 750 Series on Debian Lenny/Squeeze

  1. Raul says:

    THANKS
    it works like a charm.

    talueguito
    raul

  2. Bombaci says:

    Hey no problem, glad that it helped you!

  3. HJH says:

    My version demanded that I edited /etc/default/apcupsd and set isconfigured to yes.
    Then its a go;)

  4. Bombaci says:

    Ah thats true I forgot to put it in there :D ! Thanks for the tip!

  5. rogerger.py says:

    Thanks for the info. You save me a lot of time.

  6. Manuel says:

    Wery simple!!
    also works with Back-UPS CS 350 :D
    Thank you

  7. Bombaci says:

    No problem! Glad that it helped you :D

  8. Paul says:

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

  9. Dávid says:

    Hi Guys!

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

    Thank you very much!!

    Dávid

  10. Bombaci says:

    Nice! Glad that it worked for you.

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree