software:truenas:ups
Differences
This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
software:truenas:ups [2023/11/23 00:28] – created rodolico | software:truenas:ups [2023/11/23 00:34] – rodolico | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Setting up a UPS with TrueNAS ====== | ====== Setting up a UPS with TrueNAS ====== | ||
- | Find UPS plugged into a USB port | + | TrueNAS supports monitoring |
+ | ===== Find UPS plugged into a USB port ===== | ||
- | usbconfig | + | The command <code bash>usbconfig</ |
+ | < | ||
ugen0.4: < | ugen0.4: < | ||
+ | </ | ||
+ | |||
+ | It is on bus 0, port 4, so look for the direct link to that. It will either be called ugen* or uhid* in /dev | ||
- | You found it. In my case, it is on bus 0, port 4, so look for the direct link to that. It will either be called | + | <code bash>ls -ablph /dev/ugen* ; ls -ablph /dev/uhid*</code> |
- | ls -ablph /dev/ugen* ; ls -ablph /dev/uhid* | + | This shows all entries named ugen* or uhid*, with the link that it actually points to. |
+ | < | ||
lrwxr-xr-x | lrwxr-xr-x | ||
+ | </ | ||
Services, then Actions for UPS | Services, then Actions for UPS |
software/truenas/ups.txt · Last modified: 2023/11/23 00:57 by rodolico