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

NUT with Riello Sentinel Pro 2200 USB connection cant make it work

UPS Tools
3
66
11.2k
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
    dennypage @Unoptanio
    last edited by Nov 10, 2023, 8:11 PM

    @Unoptanio As noted, you need the log entries for usbhid-ups. You do not need to post any log entries for upsd or upsmon.

    U 1 Reply Last reply Nov 10, 2023, 8:13 PM Reply Quote 0
    • U
      Unoptanio @dennypage
      last edited by Unoptanio Nov 10, 2023, 8:14 PM Nov 10, 2023, 8:13 PM

      @dennypage said in NUT with Riello Sentinel Pro 2200 USB connection cant make it work:

      usbhid-up

      can't find anything for usbhid-up
      🔒 Log in to view

      D 1 Reply Last reply Nov 10, 2023, 8:25 PM Reply Quote 0
      • D
        dennypage @Unoptanio
        last edited by Nov 10, 2023, 8:25 PM

        @Unoptanio said in NUT with Riello Sentinel Pro 2200 USB connection cant make it work:

        can't find anything for usbhid-up

        Well, that's a problem. 😕

        If you have anything left in the Extra Arguments to driver section or the Additional configuration lines for upsmon.conf section, please remove it and try again.

        Also, if you have a bunch of stuff filling your logs, it might be easier to log into the system and execute this command instead:

        grep usbhid-ups /var/log/system.log*
        
        U 1 Reply Last reply Nov 10, 2023, 8:33 PM Reply Quote 0
        • U
          Unoptanio @dennypage
          last edited by Unoptanio Nov 10, 2023, 8:35 PM Nov 10, 2023, 8:33 PM

          @dennypage

          null

          🔒 Log in to view
          🔒 Log in to view
          🔒 Log in to view

          U 1 Reply Last reply Nov 10, 2023, 8:39 PM Reply Quote 0
          • U
            Unoptanio @Unoptanio
            last edited by Unoptanio Nov 10, 2023, 8:42 PM Nov 10, 2023, 8:39 PM

            @Unoptanio

            I clicked on SAVE now it goes. but the next reboot same problem

            Very strange it only happens with this Riello Sentinel Pro 2200

            🔒 Log in to view

            🔒 Log in to view

            🔒 Log in to view

            D 1 Reply Last reply Nov 10, 2023, 8:46 PM Reply Quote 0
            • D
              dennypage @Unoptanio
              last edited by Nov 10, 2023, 8:46 PM

              @Unoptanio

              @dennypage said in NUT with Riello Sentinel Pro 2200 USB connection cant make it work:

              If you have anything left in the Extra Arguments to driver section or the Additional configuration lines for upsmon.conf section, please remove it and try again.

              You still have debug_min = 6 in the Extra Arguments to driver section. Please remove it.

              U 1 Reply Last reply Nov 10, 2023, 8:50 PM Reply Quote 0
              • U
                Unoptanio @dennypage
                last edited by Unoptanio Nov 10, 2023, 8:54 PM Nov 10, 2023, 8:50 PM

                @dennypage said in NUT with Riello Sentinel Pro 2200 USB connection cant make it work:

                ncora debug_min = 6 nella sezione Argomenti aggiuntivi al driver. Per favore rimuovilo.

                Rispondi al preventivo 0

                ok. removed debug_min = 6 Save and now i reboot one moment....

                😥 😥 😥
                same problem

                🔒 Log in to view

                U 1 Reply Last reply Nov 10, 2023, 8:56 PM Reply Quote 0
                • U
                  Unoptanio @Unoptanio
                  last edited by Unoptanio Nov 10, 2023, 9:04 PM Nov 10, 2023, 8:56 PM

                  click on restart.....now work
                  When I first start pfsense it never works

                  🔒 Log in to view

                  🔒 Log in to view

                  all empty
                  🔒 Log in to view

                  D 1 Reply Last reply Nov 10, 2023, 9:31 PM Reply Quote 0
                  • D
                    dennypage @Unoptanio
                    last edited by Nov 10, 2023, 9:31 PM

                    @Unoptanio We still need the log entries for usbhid-ups. I suggest that you log into the system and use the grep command show above to get the entries.

                    If you can't find anything for usbhid-ups, then post the entire log for the first two minutes following a reboot. If you are worried about sensitive information, you can PM me instead.

                    While you are there, can you also get the content of these two files please:

                    /usr/local/etc/nut/ups.conf
                    /usr/local/etc/rc.d/nut.sh
                    
                    U 1 Reply Last reply Nov 10, 2023, 10:06 PM Reply Quote 0
                    • U
                      Unoptanio @dennypage
                      last edited by Unoptanio Nov 10, 2023, 10:27 PM Nov 10, 2023, 10:06 PM

                      @dennypage

                      ups.conf

                      #!/bin/sh
                      # This file was automatically generated
                      # by the pfSense service handler.
                      
                      rc_start() {
                      	echo starting NUT
                      	/usr/bin/killall -q -9 upsmon
                      	/usr/bin/killall -q -9 upsd
                      	/usr/bin/killall -q -9 upsdrvctl
                      	/usr/bin/killall -q -9 riello_usb
                      	/usr/local/sbin/upsmon
                      	/usr/local/sbin/upsdrvctl start &
                      	sleep 1
                      	/usr/local/sbin/upsd -u root
                      	return 0
                      }
                      
                      rc_stop() {
                      	echo stopping NUT
                      	/usr/bin/killall -q upsmon
                      	/usr/bin/killall -q upsd
                      	/usr/bin/killall -q upsdrvctl
                      	/usr/bin/killall -q riello_usb
                      	return 0
                      }
                      
                      rc_restart() {
                      	rc_stop
                      	rc_start
                      
                      }
                      
                      case $1 in
                      	start)
                      		rc_start
                      		;;
                      	stop)
                      		rc_stop
                      		;;
                      	restart)
                      		rc_restart
                      		;;
                      esac
                      
                      
                      

                      nut.sh

                      [SentinelPro]
                      driver=riello_usb
                      port=auto
                      
                      U D 2 Replies Last reply Nov 10, 2023, 10:28 PM Reply Quote 0
                      • U
                        Unoptanio @Unoptanio
                        last edited by Unoptanio Nov 10, 2023, 10:39 PM Nov 10, 2023, 10:28 PM

                        This post is deleted!
                        U D 2 Replies Last reply Nov 10, 2023, 10:28 PM Reply Quote 0
                        • U
                          Unoptanio @Unoptanio
                          last edited by Unoptanio Nov 10, 2023, 11:13 PM Nov 10, 2023, 10:28 PM

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • D
                            dennypage @Unoptanio
                            last edited by Nov 10, 2023, 10:47 PM

                            @Unoptanio said in NUT with Riello Sentinel Pro 2200 USB connection cant make it work:

                            riello_usb

                            Well, there's the first issue. My bad. I was telling you to look for usbhid-ups, but your driver is riello_usb.

                            Sorry about that!

                            1 Reply Last reply Reply Quote 0
                            • D
                              dennypage @Unoptanio
                              last edited by Nov 10, 2023, 11:39 PM

                              @Unoptanio The full logs were very insightful.

                              NUT is being started twice in quick succession at boot. It looks like all packages are being stopped and restarted due to high initial packet loss on the WAN immediately after startup.

                              It's not clear clear to me why the riello driver unable able to properly communicate with the UPS on the second attempt. The first connection takes ~1 second, while the second takes ~9. Definitely not normal. Perhaps the USB connection is lingering somehow, or perhaps the UPS is overly stateful and isn't in a welcoming state for the second connection. I don't know--those are just guesses.

                              There are a couple of things I can suggest:

                              1. If you haven't already installed the 2.8.1 test version discussed in the main NUT support thread, I would recommend doing so. There are a lot of changes in the riello driver post 2.8.0.
                              2. You can try adding maxretry=10 to the Extra Arguments to driver section. This will instruct the driver to retry the initial connection to the riello up to 10 times, with a 5 second delay between each attempt.

                              In bocca al lupo

                              U 2 Replies Last reply Nov 11, 2023, 6:38 AM Reply Quote 0
                              • U
                                Unoptanio @dennypage
                                last edited by Unoptanio Nov 11, 2023, 10:16 AM Nov 11, 2023, 6:38 AM

                                @dennypage

                                whit

                                maxretry=10
                                

                                it never works

                                😭 😭 😭

                                I'll try changing the USB port and also the USB cable

                                OK thanks for the support.
                                Do you know when there will be an automatic update of the Nut 2.8.1 package in pfsense?

                                I saw that the official stable version of free BSD 14 should be released soon. (14 november)
                                I think that after November 14th a new version of Pfsense will be released accordingly
                                https://redmine.pfsense.org/projects/pfsense/roadmap
                                https://docs.netgate.com/pfsense/en/latest/releases/versions.html

                                🔒 Log in to view

                                https://www.freebsd.org/releases/14.0R/schedule/
                                🔒 Log in to view

                                https://networkupstools.org/
                                🔒 Log in to view

                                D 2 Replies Last reply Nov 11, 2023, 3:43 PM Reply Quote 0
                                • U
                                  Unoptanio @dennypage
                                  last edited by Unoptanio Nov 11, 2023, 6:46 AM Nov 11, 2023, 6:44 AM

                                  @dennypage

                                  Can you take care of reporting the Riello VST1100 UPS quirk to freeBSD to automatically insert it into the operating system?
                                  hw.usb.quirk.0="0x04b4 0x5500 0x0000 0xffff UQ_HID_IGNORE"

                                  D 1 Reply Last reply Nov 11, 2023, 3:45 PM Reply Quote 0
                                  • D
                                    dennypage @Unoptanio
                                    last edited by Nov 11, 2023, 3:43 PM

                                    @Unoptanio said in NUT with Riello Sentinel Pro 2200 USB connection cant make it work:

                                    Do you know when there will be an automatic update of the Nut 2.8.1 package in pfsense?

                                    We are in testing now.

                                    @Unoptanio said in NUT with Riello Sentinel Pro 2200 USB connection cant make it work:

                                    I saw that the official stable version of free BSD 14 should be released soon. (14 november)
                                    I think that after November 14th a new version of Pfsense will be released accordingly

                                    Usually a new release of FreeBSD does not push a new release of pfSense. pfSense has it's own release schedule and updates the kernel as appropriate when it releases.

                                    1 Reply Last reply Reply Quote 1
                                    • D
                                      dennypage @Unoptanio
                                      last edited by Nov 11, 2023, 3:45 PM

                                      @Unoptanio Yes, I will register quirks that I know have been developed and tested. I will need detail on the UPS units that you have tested it with.

                                      1 Reply Last reply Reply Quote 1
                                      • D
                                        dennypage @Unoptanio
                                        last edited by Nov 11, 2023, 11:04 PM

                                        @Unoptanio Please let me know if you can try 2.8.1. Thanks.

                                        U 1 Reply Last reply Nov 13, 2023, 8:01 AM Reply Quote 0
                                        • U
                                          Unoptanio @dennypage
                                          last edited by Unoptanio Nov 13, 2023, 8:03 AM Nov 13, 2023, 8:01 AM

                                          @dennypage
                                          Mine is a working production environment.
                                          I can't afford to have system crashes.

                                          At the moment I have to stick with the Pfsense 2.7.0 version. stable

                                          Can nut 2.8.1 be installed on pfsense 2.7.0?

                                          U D 2 Replies Last reply Nov 13, 2023, 8:07 AM Reply Quote 0
                                          50 out of 66
                                          • First post
                                            50/66
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.