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

    NUT and Smart UPS was working - fixed

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 3 Posters 2.9k 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.
    • B
      bobsyruncle
      last edited by

      I upgraded to 2.0-rc and nut stopped working.

      I installed the new pfSense and read the original xml file to get NUT up again but to no avail.

      The original file had

      <monitor>local</monitor>
      <name>UPS-02</name>
      <driver>apcsmart01</driver>
      <port>/dev/ttyd0</port>
      <upstype><cable>940-0024C 00</cable>

      The error I got was: Can't start /usr/local/libexec/nut/apcsmart01: No such file or directory

      A couple of changes were needed: apcsmart01 is now apcsmart and ttyd0 is now ttyu0.

      /usr/local/etc/nut/ups.conf

      user=root
      [UPS-02]
      driver=apcsmart
      port=/dev/ttyu0
      cable=940-0024C

      Once these changes were done it worked fine.</upstype>

      1 Reply Last reply Reply Quote 0
      • K
        kalalaka
        last edited by

        thank you very much . IT WORKS!!!!  ;D

        1 Reply Last reply Reply Quote 0
        • K
          kalalaka
          last edited by

          Hi i have problemas again… I upgrade to 2.0RC2 and the problem whith nut persist... how do i know what is the correct tty??

          forgive mi english!!!

          thanks

          1 Reply Last reply Reply Quote 0
          • B
            bobsyruncle
            last edited by

            List the devices. 'ls /dev/'
            There you will see them show up starting with tty.
            It could be that the port you are using is not the first one and will need to change from, for example, ttyd0 to ttyd1, or 2 or whatever.

            1 Reply Last reply Reply Quote 0
            • V
              Volui
              last edited by

              It's working!  :) Thanks a lot!

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