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

    Netgate 2100 & NUT or apcusbd w/ BX1000M

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 3 Posters 577 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.
    • G
      garjaxon
      last edited by

      Hey guys. I have been trying to get my APC BX1000M to function with either NUT or apcusbd with no success. The BX1000M is a serial (via RJ45) model, thus, I have a serial to USB cable connecting the two. I have an indentical one USB'd to my computer and have 0 issues with PowerChute. Not sure if there is some limitation on the pfSense router with it using a serial based-USB connection. Here is what I get when I tried NUT tonight:
      Screenshot 2023-09-14 021927.png

      I had tried apcusbd in the past, and I recall it just looking for the connection constantly, with no success. I have another cable, and have tried it. But both cables work fine to my computer. I've also rotated the Power Supplies to rule out any problem there.

      Any advise would be greatly appreciated.

      Cheers!

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Does the 2100 correctly show the USB/serial adapter when it's conected? Check the system log or dmesg after connecting it.

        Is NUT configured to use the correct port?

        Steve

        1 Reply Last reply Reply Quote 1
        • G
          garjaxon
          last edited by

          hey steve!

          yes. i see it "reacting" to the USB device. i was able to figure it out! by this reddit post: https://www.reddit.com/r/PFSENSE/comments/jv85j1/pfsense_ups_with_nut_as_slave/

          I now have my UPS being seen:

          068ad002-8bc7-419d-ab2d-089e7abab720-image.png

          now that it is working, will graceful shutdown be automatic in the event of power loss due to this attribute?

          25854dec-a7cf-41dd-8d84-d399ae567830-image.png

          dennypageD 2 Replies Last reply Reply Quote 0
          • dennypageD
            dennypage @garjaxon
            last edited by

            @garjaxon said in Netgate 2100 & NUT or apcusbd w/ BX1000M:

            now that it is working, will graceful shutdown be automatic in the event of power loss due to this attribute?

            Variable ups.delay.shutdown is how long (in seconds) the UPS waits to cut power after being instructed to do so by the software (NUT). Telling the UPS to cut power is one of the final steps in a NUT driven shutdown, and this gives the OS 20 more seconds to finish before loosing power.

            By default NUT does not initiate a shutdown until such time as the UPS declares a low battery situation. I do not generally recommend changing this behavior, although it is okay to change UPS parameters controlling when a low battery situation is declared (like 10% instead of 5% kind of thing). See your UPS manual for information on what you can configure. If your UPS is well supported in NUT, you can also use the upsrw command to see what configuration is available.

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

              @garjaxon said in Netgate 2100 & NUT or apcusbd w/ BX1000M:

              https://www.reddit.com/r/PFSENSE/comments/jv85j1/pfsense_ups_with_nut_as_slave/

              Btw, I'm not sure what you took from that thread, but you probably do not want most of the suggestions from that thread. In particular, if you did anything with ignorelb that's generally a bad thing.

              BTW, it's quite likely that the original problem was one of permissions, which is addressed by rebooting or unplug/re-plug of the USB connection.

              1 Reply Last reply Reply Quote 1
              • G
                garjaxon
                last edited by

                Hey @dennypage

                these s the only settings i added:

                79207f0c-9ede-4e05-a630-cb1a34804355-image.png

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

                  @garjaxon Yea, I would get rid of all of it except possibly for the

                  user = root
                  

                  in ups.conf. But test to see if you actually need it.

                  The RUN_AS_USER in upsmon.conf will be needed if you want smtp notifications in the current version of pfSense, but should not be needed when the next major version of pfSense is released.

                  1 Reply Last reply Reply Quote 2
                  • G
                    garjaxon
                    last edited by

                    lol yeah, @dennypage with just that it still works.

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