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

    APC UPS Daemon service help configure

    Scheduled Pinned Locked Moved UPS Tools
    21 Posts 6 Posters 2.1k Views
    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.
    • GertjanG
      Gertjan @firefox
      last edited by

      @firefox

      The device is seen, but 'unknown'.
      Wheh I hook up my APC, I see :

      dmesg | grep usb :

      usbus0 on xhci0
      usbus0: 5.0Gbps Super Speed USB v3.0
      ugen0.1: <0x8086 XHCI root HUB> at usbus0
      uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
      ugen0.2: <American Power Conversion Back-UPS XS 700U   FW:924.Z5 .I USB FW:Z5> at usbus0
      

      Nice, my APC says its an APC. I could consider using the APC pfSense package. But I don't.

      Solution : use NUT, as it has a list with known supported devices.
      When you buy a UPS, always check this list first : https://networkupstools.org/stable-hcl.html

      The "yeah, its APC compatible" is only a sales argument. The APC software probably asks for a real APC ( and refuses the clone ).

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      M 1 Reply Last reply Reply Quote 1
      • M
        mer @Gertjan
        last edited by

        @firefox I agree with @Gertjan that the software may be looking for APC or other strings.
        I wonder if that could be tested by entering /dev/ugen0.3 in the device field?
        Otherwise the suggestion to switch to the NUT package is a good one. I've not used it so can't help with configuration.

        F 1 Reply Last reply Reply Quote 0
        • F
          firefox @mer
          last edited by

          @mer
          I deleted the apc package
          And I installed the nut package

          The result is the same
          The computer does not recognize the UPS
          And I think that's the problem
          Maybe if the ups were recognized it would work in both packages

          Maybe first need to make pfsense recognize the UPS

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

            @firefox said in APC UPS Daemon service help configure:

            I deleted the apc package
            And I installed the nut package
            The result is the same

            Just to be sure, did you reboot after installing the NUT package? If not, you may run into a permission issue with the USB device that will prevent access to the UPS.

            F 1 Reply Last reply Reply Quote 0
            • F
              firefox @dennypage
              last edited by

              @dennypage
              yes i reboot

              V 1 Reply Last reply Reply Quote 0
              • V
                viragomann @firefox
                last edited by

                @firefox
                So did you verify that your UPS is supported by NUT on the compatibility list linked by @Gertjan above?
                In cannot find it there.

                F 1 Reply Last reply Reply Quote 0
                • F
                  firefox @viragomann
                  last edited by

                  @viragomann
                  When I received the UPS I was told that it is equivalent to APC or Eaton
                  In the list of supported devices it is written that both work with a usb driver
                  this is the ups UPS

                  Anyway
                  Before I check why the nut or apc package do not recognize the ups
                  I need to check why pfsense (the pc) does not recognize the UPS

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

                    @firefox Best guess is that it is not USB HID complaint.

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      firefox @dennypage
                      last edited by

                      @dennypage
                      what is "HID"

                      fireodoF dennypageD 2 Replies Last reply Reply Quote 0
                      • fireodoF
                        fireodo @firefox
                        last edited by

                        @firefox said in APC UPS Daemon service help configure:

                        what is "HID"

                        Human Interface Device

                        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                        pfsense 2.8.0 CE
                        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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

                          @firefox USB-HID is the standard UPS protocol for USB. It is supported by a wide range of manufacturers.

                          Here is a link to the NUT usbhid-ups driver page which should give you an idea of how widespread it is.
                          Here is a link to the APC document describing their implementation.

                          In short, if it's not HID compliant, neither APCUPSD or NUT using the usbhid-ups driver is going to work with it over usb.

                          There are a couple of other usb based drivers offered by NUT, but these tend to be more unusual these days. See the NUT hardware compatibility list here for more info. I do see a couple of Advice UPSs on the list--they use the blazer_usb driver. You might give that a try. If that doesn't work, I think you are out of luck.

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S stephenw10 moved this topic from pfSense Packages on
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.