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

    apcupsd status Unknown COMMLOST

    Scheduled Pinned Locked Moved UPS Tools
    11 Posts 3 Posters 3.0k 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.
    • V
      viragomann @Josho_SAI
      last edited by

      @Josho_SAI said in apcupsd status Unknown COMMLOST:

      UPS Cable = usb, smart
      UPS type = usb, modbus

      Why stating multiple options?
      If the UPS is connected with an USB cable to pfSense, enter "usb" into both fields for the "UPS Cable" and "UPS Type".

      Josho_SAIJ 1 Reply Last reply Reply Quote 0
      • Josho_SAIJ
        Josho_SAI @viragomann
        last edited by Josho_SAI

        @viragomann said in apcupsd status Unknown COMMLOST:

        If the UPS is connected with an USB cable to pfSense, enter "usb" into both fields for the "UPS Cable" and "UPS Type".

        which did not work. To clarify the options used and their outcomes

        UPS Name = apcups01
        UPS Cable = usb
        UPS type = usb
        Device = (blank)
        did not work

        UPS Name = apcups01
        UPS Cable = usb
        UPS type = modbus
        Device = (blank)
        did not work

        UPS Name = apcups01
        UPS Cable = smart
        UPS type = usb
        Device = (blank)
        did not work

        UPS Name = apcups01
        UPS Cable = smart
        UPS type = modbus
        Device = (blank)
        did not work

        A 1 Reply Last reply Reply Quote 0
        • A
          anthonys @Josho_SAI
          last edited by

          Hi @Josho_SAI
          Are you able run usbconfig to see if your netgate-UPS serial connection is OK?
          E.g., albeit different hardware to yours (sg-1100 and CS650), on a system I have:

          7f37b61f-1e68-4156-9914-c3ea70e24512-image.png

          Josho_SAIJ 1 Reply Last reply Reply Quote 0
          • Josho_SAIJ
            Josho_SAI @anthonys
            last edited by

            @anthonys Thanks for the interaction!

            executed command "usbconfig" on the Netgate device. Output below

            ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
            ugen0.2: <American Power Conversion NMC3 CDC> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (0mA)
            
            A 1 Reply Last reply Reply Quote 0
            • A
              anthonys @Josho_SAI
              last edited by

              @Josho_SAI
              OK. Unfortunately, my working config matches your first test

              UPS Cable = usb
              UPS type = usb
              Device = (blank)
              

              which doesn't help you.
              The only other thing I can think of might be to try is to setting UPS Cable to the specific cable you have. BUT with the caveat, for me, setting this to my cable type (940-0127E) broke connectivity - only the generic setting of "usb" works for me.

              Josho_SAIJ 1 Reply Last reply Reply Quote 0
              • Josho_SAIJ
                Josho_SAI @anthonys
                last edited by

                @anthonys how were you able to find the USB cable type? I actually tried ALL the USB cable types listed in the apcupsd page on the pfSense firewall, plus searching for the USB cables types (using Dr Google) but only found details on the USB termination types (USB-A, Micro USB etc etc)

                A 1 Reply Last reply Reply Quote 0
                • A
                  anthonys @Josho_SAI
                  last edited by

                  @Josho_SAI said in apcupsd status Unknown COMMLOST:

                  how were you able to find the USB cable type?

                  The cable that came with my UPS has the cable's type stamped on the USB-A plug end.

                  Josho_SAIJ 1 Reply Last reply Reply Quote 0
                  • Josho_SAIJ
                    Josho_SAI @anthonys
                    last edited by Josho_SAI

                    @anthonys Thanks again. Unfortunately the USB-A to Micro-USB cable that came with my APC UPS has no identifiers on either plug-ends. The only identifiers are on the outer sheath of the cable itself (temp rating, voltage, manufacturer name).

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

                      @Josho_SAI
                      So try to connect it via the network protocol with SNMP, since the UPS has a network management card.

                      Josho_SAIJ 1 Reply Last reply Reply Quote 1
                      • Josho_SAIJ
                        Josho_SAI @viragomann
                        last edited by

                        @viragomann
                        SNMP will be what I'm going to do. Thanks for all your help with this! Mucho appreciated. 👍

                        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.