标签: nut

如何通过 USB 连接配置 UPS

我无法nut通过 USB 连接在服务器上为 UPS Eaton 5E进行设置。我得到的所有结果是驱动程序没有运行并且 UPS 无法识别。什么样的驱动适合我,什么样的设置?单位是伊顿 5E。

的结果 $ lsusb -v

Bus 004 Device 007: ID 0463:ffff MGE UPS Systems UPS
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0463 MGE UPS Systems
  idProduct          0xffff UPS
  bcdDevice            0.01
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus …
Run Code Online (Sandbox Code Playgroud)

usb ups nut

6
推荐指数
3
解决办法
3万
查看次数

使用 Synology 作为 Ubuntu Server 20.04 的 NUT 服务器

我正在尝试将我的 Ubuntu Server (20.04) 配置为连接到我的 UPS 的 Synology NAS 的从属设备,但我不确定如何完成该过程,而且我在文档或教程方面没有找到太多内容. 以下是我采取的步骤:

在 Synology DSM 上:

  1. 通过 USB 将 Synology 连接到 UPS
  2. 在 DSM 设置中打开 UPS 服务器

  1. 在“允许的 DiskStation 设备”对话框中添加我的 Linux 服务器 IP。

在 Linux 服务器上:

  1. 安装螺母 sudo apt-get install nut
  2. 修改 /etc/nut/nut.conf 为 mode=netclient
  3. 添加到 /etc/nut/upsmon.conf MONITOR ups@192.168.0.102 UPSUSER MYPASS slave

最后,当我尝试运行时service nut-client restart,出现错误:

nut-monitor.service 的作业失败,因为控制进程退出并显示错误代码。

任何想法我做错了什么或我需要采取什么进一步的步骤?提前致谢!

server ups nut

5
推荐指数
1
解决办法
2719
查看次数

标签 统计

nut ×2

ups ×2

server ×1

usb ×1