install_notes/proxmox.md

42 lines
706 B
Markdown

## General
`apt update && apt install vim -y`
## UPS
`lsusb` to determine bus and device of ups.
in this case bus `001`, device `004`
`lsusb -v -s 001:004`
```
apt update && apt install nut -y
nut-scanner -U
```
my results:
```
[nutdev1]
driver = "usbhid-ups"
port = "auto"
vendorid = "0764"
productid = "0601"
serial = "CXXJW2003020"
vendor = "CPS"
bus = "001"
```
`vim /etc/nut/nut.conf`
Change Mode=none to Mode=netserver
`vim /etc/nut/ups.conf`
```
pollinterval = 15
maxretry = 3
[ups]
driver = "usbhid-ups"
port = "auto"
desc = "CyberPower1500VA"
vendorid = "0764"
productid = "0601"
serial = "CXXJW2003020"
```
upsdrvctl start