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

NUT package (2.8.0 and below)

UPS Tools
128
1.2k
4.0m
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.
  • A
    abs0new Rebel Alliance @dennypage
    last edited by Oct 12, 2023, 8:03 AM

    @dennypage Thank you for your suggestion.

    Do i need to search through 1212 posts to find the executable ?

    G D 2 Replies Last reply Oct 12, 2023, 8:19 AM Reply Quote 1
    • G
      Gertjan @abs0new
      last edited by Oct 12, 2023, 8:19 AM

      @abs0new

      When its ready, you see it here, signaled as "an update has arrived" :

      login-to-view

      There will be a yellow sign after the "i".

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

      1 Reply Last reply Reply Quote 0
      • Z
        zeemaffin @dennypage
        last edited by Oct 12, 2023, 10:12 AM

        @dennypage Hi!

        Thank you for the tips, I am going through the serial drivers.
        In the UPS settings page the serial port is a drop down menu and /dev/cuau0 and /dev/cuau1 is the 2 option, theres nothing else.
        SO this case can't understand your hint regarding the 6100.

        Sofar I had no luck... Would you suggest and USB-B to USB-A cable? ( the UPS has the usb port similiar to printers do)

        Kind regards,

        D 1 Reply Last reply Oct 12, 2023, 2:55 PM Reply Quote 0
        • D
          dennypage @zeemaffin
          last edited by Oct 12, 2023, 2:55 PM

          @zeemaffin said in NUT package:

          In the UPS settings page the serial port is a drop down menu and /dev/cuau0 and /dev/cuau1 is the 2 option, theres nothing else.
          SO this case can't understand your hint regarding the 6100.

          The 6100 has two hidden/unconnected serial ports on the motherboard. These will show up as cuau0 and cuau1. That there is not another option strongly implies that the serial emulator chip is not supported by FreeBSD.

          Sofar I had no luck... Would you suggest and USB-B to USB-A cable? ( the UPS has the usb port similiar to printers do)

          Absolutely. If the UPS has a native USB interface, it would always be preferred over a serial emulator cable.

          Z 1 Reply Last reply Oct 16, 2023, 9:33 AM Reply Quote 0
          • D
            dennypage @abs0new
            last edited by Oct 12, 2023, 3:00 PM

            @abs0new said in NUT package:

            Do i need to search through 1212 posts to find the executable ?

            LOL.

            It's from earlier this year.

            1 Reply Last reply Reply Quote 1
            • Z
              zeemaffin @dennypage
              last edited by Oct 16, 2023, 9:33 AM

              @dennypage

              HI Denny!

              News!

              With the USB cable I see the UPS via the command usbconfig, however its not showing up in the graphical interface dropdown menu.
              I mean the cuau 0-1 shows up only, but the usbus0 wont.

              Would you suggest a restart of the firewall, or is there another package I need to be able to use the usbbus for this purpose?
              Sorry for the dummy questions.

              Kind Regards,
              Maffin

              D 1 Reply Last reply Oct 16, 2023, 6:10 PM Reply Quote 0
              • D
                dennypage @zeemaffin
                last edited by Oct 16, 2023, 6:10 PM

                @zeemaffin said in NUT package:

                With the USB cable I see the UPS via the command usbconfig, however its not showing up in the graphical interface dropdown menu.
                I mean the cuau 0-1 shows up only, but the usbus0 wont.

                With a regular USB connection, there isn't a pulldown to select the port. I expect that you still have "Local Serial" set as the UPS Type.

                Change the UPS Type to be "Local USB". The Driver field then has a list of usb drivers that are available. Always try "usbhid" before trying anything else.

                Z 1 Reply Last reply Oct 17, 2023, 7:50 AM Reply Quote 0
                • Z
                  zeemaffin @dennypage
                  last edited by Oct 17, 2023, 7:50 AM

                  @dennypage Jesus I feel so dumb right now :D

                  Thank you for your help!!!

                  I wont sturggle next time for sure.... now I have to make the timeouts and the other stuff :D

                  D 1 Reply Last reply Oct 17, 2023, 2:00 PM Reply Quote 0
                  • D
                    dennypage @zeemaffin
                    last edited by Oct 17, 2023, 2:00 PM

                    @zeemaffin Timeouts? Do you mean for NUT? If so, I recommend that you don't configure any times unless you are trying to address a specific problem.

                    K 1 Reply Last reply Oct 31, 2023, 10:52 PM Reply Quote 1
                    • K
                      KarB1NE @dennypage
                      last edited by Oct 31, 2023, 10:52 PM

                      @dennypage Happy Halloween! NUT 2.8.1 is out, when will we see it in pfSense?

                      D 1 Reply Last reply Oct 31, 2023, 11:21 PM Reply Quote 1
                      • D
                        dennypage @KarB1NE
                        last edited by Oct 31, 2023, 11:21 PM

                        I gave up waiting for a NUT 8.1 release a while back. The new NUT package is based on nut-devel (git) rather than the nut-2.8.1 release version. At the moment, they are effectively the same thing, but I'm currently thinking to stay with nut-devel until I see how stable the 2.8.1 release actually is.

                        If you like detail, you can read Redmine issue #14795, and pull requests #1295, #1296, #1310.

                        The new pfSense NUT package should start with 23.09.

                        V 1 Reply Last reply Nov 6, 2023, 10:31 PM Reply Quote 2
                        • V
                          vizi0n @dennypage
                          last edited by vizi0n Nov 6, 2023, 10:32 PM Nov 6, 2023, 10:31 PM

                          @dennypage so if the current nut-2.8.0_23 package from pfSense still loses connectivity with my CyberPower CP1500AVRLCD3, the 2.8.1 release won't be better ?

                          D 1 Reply Last reply Nov 7, 2023, 12:17 AM Reply Quote 0
                          • D
                            dennypage @vizi0n
                            last edited by Nov 7, 2023, 12:17 AM

                            @vizi0n The current version of the pfSense NUT package is 2.8.0_2, and depends upon NUT 2.8.0. The next version of the package will be 2.8.1, and depends upon the current Git version of NUT, which is the same as NUT 2.8.1.

                            For clarity, the issue in NUT 2.8.0 isn't that USB connectivity is lost, which is common with the CyberPowers, but that the USB driver crashes when it attempts a USB.

                            And yes, the USB issues introduced in NUT 2.8.0 are addressed in NUT 2.8.1.

                            I expect staff has been very busy with 23.09, but now that it has been released I expect the NUT package will be released soon.

                            M 1 Reply Last reply Nov 8, 2023, 12:57 AM Reply Quote 0
                            • M
                              Maxburn @dennypage
                              last edited by Nov 8, 2023, 12:57 AM

                              Yikes, I just stumbled on this thread and sure hope we see that update soon.

                              Reading earlier in the thread I'm not clear, is the "user=root" to ups.conf AND "interruptonly" to driver arguments going to help the USB Cyberpower situation? Or if I want it fixed now I need to dig up the developer version someone mentioned earlier? I haven't actually found that post yet, still looking.

                              For me my USB cyberpower was mostly reliable under 2.6.0, I thought I had my packages up to date but maybe not. Upgraded to 2.7.0 and NUT fell apart, disconnect alerts from pfsense, AND all the devices that were listening to NUT over the LAN. I was contemplating rolling the whole pfsense install back to 2.6.0 but now I can see that isn't going to help.

                              D 1 Reply Last reply Nov 8, 2023, 2:28 AM Reply Quote 0
                              • I
                                incith @JonathanLee
                                last edited by Nov 8, 2023, 1:04 AM

                                @JonathanLee I switched from snmp to USB and have had no problems at all on a CPF1500LCD (if I recall the model right off the top of my head). Prior I was using snmp which connected to the cyberpower software running on a Windows machine (via network - you can configure the software to act as an snmp server).

                                But, both methods gave me 0 drops ever. I only switched to USB a couple weeks ago but 0 disconnects so far.

                                1 Reply Last reply Reply Quote 1
                                • D
                                  dennypage @Maxburn
                                  last edited by Nov 8, 2023, 2:28 AM

                                  @Maxburn You can either grab the prior usbhid-ups executable (from Feb), or you can wait until the new package appears. It's been accepted, just waiting on it to show up in packages on 23.09.

                                  JonathanLeeJ 1 Reply Last reply Nov 8, 2023, 7:19 AM Reply Quote 2
                                  • JonathanLeeJ
                                    JonathanLee @dennypage
                                    last edited by Nov 8, 2023, 7:19 AM

                                    @dennypage 🎼 I am so excited .... and I just can't hide it....🎼

                                    I can't wait for the new update

                                    Make sure to upvote

                                    1 Reply Last reply Reply Quote 1
                                    • D dennypage referenced this topic on Nov 9, 2023, 4:06 PM
                                    • D
                                      dennypage
                                      last edited by Nov 9, 2023, 5:12 PM

                                      Beginning with 2.8.1, I am transitioning NUT support to a new thread, which can be found here.

                                      Please continue to post issues related to 2.8.0_2 and below to this thread.

                                      Also, I am actively seeking people to test the new 2.8.1 pfSense NUT package prior to general release. I would appreciate any help you can offer. Thanks!

                                      1 Reply Last reply Reply Quote 2
                                      • stephenw10S stephenw10 moved this topic from pfSense Packages on Apr 2, 2024, 6:44 PM
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.