Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    APCupsd package status for pfSense

    Scheduled Pinned Locked Moved pfSense Packages
    24 Posts 13 Posters 11.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dbaio
      last edited by

      @tylerhughes:

      Will this package be updated for the new version of pfsense?

      On the way.

      I've sent a PR for adding apcupsd on pfSense 2.3.

      https://github.com/pfsense/FreeBSD-ports/pull/128

      –
      Danilo G. Baio (dbaio)

      1 Reply Last reply Reply Quote 0
      • L Offline
        LucaTo
        last edited by

        @dbaio:

        @tylerhughes:

        Will this package be updated for the new version of pfsense?

        On the way.

        I've sent a PR for adding apcupsd on pfSense 2.3.

        https://github.com/pfsense/FreeBSD-ports/pull/128

        Hi Danilo!
        Any news?

        1 Reply Last reply Reply Quote 0
        • D Offline
          dbaio
          last edited by

          @LucaTo:

          Hi Danilo!
          Any news?

          Still waiting for @devs for check this out.

          –
          Danilo G. Baio (dbaio)

          1 Reply Last reply Reply Quote 0
          • F Offline
            FlashEngineer
            last edited by

            Is there a way to give some donations for this?  Right now I have only bandaid method to shutdown pfsense from another server hosting apcupsd using custom script.  It's not as robust but it's better than nothing.  If there is power outage, people without custom solutions will have pfsense just shutoff without shutting down gracefully…

            1 Reply Last reply Reply Quote 0
            • T Offline
              tylerhughes
              last edited by

              @FlashEngineer:

              Is there a way to give some donations for this?  Right now I have only bandaid method to shutdown pfsense from another server hosting apcupsd using custom script.  It's not as robust but it's better than nothing.  If there is power outage, people without custom solutions will have pfsense just shutoff without shutting down gracefully…

              I would be willing to donate to the cause as well, to support this package with functional email alrerts

              1 Reply Last reply Reply Quote 0
              • F Offline
                FlashEngineer
                last edited by

                Still nothing here?  Is there anyway to get NUT working with an APC UPS that's running apcupsd driver rather than directly USB to pfsense box?

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TheUniquePaulSmith
                  last edited by

                  I'm not sure why the apcupsd was pulled, but according to the application site, there seems to be a design issue with FreeBSD in how it can shutdown the UPS

                  http://www.apcupsd.org/manual/manual.html#freebsd

                  Not sure if that has been resolved, or is part of the reason it isn't considered supported for FreeBSD.
                  I too would be willing to make a donation to get this package back in

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bbunny
                    last edited by

                    So is there any chance for this to ever be approved ?

                    1 Reply Last reply Reply Quote 0
                    • dennypageD Offline
                      dennypage
                      last edited by

                      NUT itself supports talking with a remote apcupsd instance, although the existing NUT package does not support the configuration. I am working on a new version of the NUT package which will support have support for this configuration. I do not have an eta, but in the interim you could hand edit the files in /usr/local/etc/nut.

                      @FlashEngineer:

                      Is there anyway to get NUT working with an APC UPS that's running apcupsd driver rather than directly USB to pfsense box?

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        justmie
                        last edited by

                        I fixed it for now with configuring NUT the following way:

                        • Choose Local UPS
                        • Local UPS Name: <insert name="" here="">- Local UPS model: APC SmartUPS USB
                        • Local UPS Port: Auto
                          Save these settings.

                        Then go to diagnostics > Edit file.
                        load the folloing file: /usr/local/etc/nut/ups.conf
                        change the driver and port settings to the following:
                        driver=apcupsd-ups
                        port= <hostname of="" your="" system="" where="" apcupsd="" runs="">Save the file.
                        Start the NUT service.

                        This works for me.

                        </hostname></insert>

                        1 Reply Last reply Reply Quote 0
                        • dennypageD Offline
                          dennypage
                          last edited by

                          The new NUT package is available for testing if you are interested:

                          https://forum.pfsense.org/index.php?topic=114871.0

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.