Page 3 of 3 FirstFirst 123
Results 21 to 29 of 29
  1. #21
    Master Untangler mozerd's Avatar
    Join Date
    Nov 2008
    Location
    Nepean Ontario Canada
    Posts
    253

    Default

    Made some progress but had to change course by getting the following file that installed without errors

    apcupsd_3.14.4-1lenny1_i386.deb

    Now the next challenge is to adjust the configuration file for my type of UPS model + USB cable used then test to see if everything works.

  2. #22
    Master Untangler
    Join Date
    Aug 2008
    Posts
    283

    Default

    This would make a great module for the Untangle package, especially since the apcupsd is open source. I have nowhere the skills to implement this but I would be willing to test a beta module and report the results for fine tuning.

  3. #23
    Master Untangler
    Join Date
    Aug 2008
    Posts
    939

    Default

    Anyone have any experience on the kind of load this puts on the box?

  4. #24
    Master Untangler mozerd's Avatar
    Join Date
    Nov 2008
    Location
    Nepean Ontario Canada
    Posts
    253

    Default

    Quote Originally Posted by mozerd View Post
    Now the next challenge is to adjust the configuration file for my type of UPS model + USB cable used then test to see if everything works.
    I made the required changes in my conf file and restarted Untangle -- in Terminal I ran the apcaccess status directive which returns a long list of APC specific stuff -- everything seems to be working just fine.

    My next step is to run some loss of power tests to see if Untangle and the UPS will follow the proper shutdown/restart sequence.

    OK, this is looking GOOD.

  5. #25
    Master Untangler mozerd's Avatar
    Join Date
    Nov 2008
    Location
    Nepean Ontario Canada
    Posts
    253

    Default

    Just to report that all test pass with flying colors.

    And I want to thank untangle407 for posting the following link
    http://marius.scurtescu.com/2007/01/...apc_es_550_ups

    which info was helpfull.

  6. #26
    Master Untangler
    Join Date
    Aug 2008
    Posts
    283

    Default

    Found the following article online, figured it may help in with this:

    http://wiki.archlinux.org/index.php/APC_UPS

  7. #27
    Untangler
    Join Date
    Jun 2008
    Posts
    52

    Default

    Unfortunately not allowed to deploy this on our boxes until its supported by untangle support :P (no modding rule in place)

    If its relatively easy to add in as indicated above, what would stop it form being introduced into the apps on untangle, i mean corporate customers is what they are aiming for right? what sensible corp customer doesnt have a UPS protecting their internet gateway?

  8. #28
    Master Untangler mozerd's Avatar
    Join Date
    Nov 2008
    Location
    Nepean Ontario Canada
    Posts
    253

    Default

    Just a heads up for those contemplating running 7.01 64bit version that you will need the following apcupsd_3.14.4-1lenny1_amd64.deb file to install and successfully run a UPS system
    and do follow the instructions provided in http://marius.scurtescu.com/2007/01/...apc_es_550_ups

    My QUICK How-to:
    IF your UPS is made by APC and is connected to your 64 bit Untangle Box vis USB interface then:

    For the 64bit version get the install package from
    http://packages.debian.org/lenny/amd64/apcupsd/download

    I placed the install package in
    /home/kiosk

    then I Installed the package.

    /home/kiosk # dpkg -i apcupsd_3.14.4-1lenny1_amd64.deb

    If the installation produces no errors proceed to the configuration stage
    you need to configure apcupsd by editing /etc/apcupsd/apcupsd.conf and make sure that the following values are set

    UPSCABLE usb
    UPSTYPE usb
    DEVICE
    LOCKFILE /var/lock
    UPSCLASS standalone
    UPSMODE disable

    Next you will need to edit /etc/default/apcupsd
    and set ISCONFIGURED to yes instead of no

    After this, as far as I can tell, you should be able to start the daemon
    /etc/init.d/apcupsd start

    and everything should work.

    Once the daemon is running you can run
    apcaccess

    This will output a long list where you can examine the values.
    Last edited by mozerd; 11-14-2009 at 07:36 AM. Reason: Rudimentary How-to added

  9. #29
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,514

    Default

    I performed the above procedure on my 7.1 installation. The only difference in my approach was I simply reconfigured apt so I could just run.

    apt-get install apcupsd

    I can say that I managed to configure my untangle 7.1 installation to work with my SUA2200 UPS via the provided USB attachment cable rather nicely.

    Then, my brain started working and I ran apt-get purge apcupsd to remove the package...

    I was going to script the monitor to call into all my VMs and related systems to start proper shutdowns when the battery was low... Then it dawned on me I'd have to put admin credentials into those files to make it all happen... and I was putting all that data into my FIREWALL! bad idea...

    Yes I could do it... but eww.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2