Joey Hafner
97e4cc547a
1. homelab [Gitea](https://gitea.jafner.tools/Jafner/homelab), [Github (docker_config)](https://github.com/Jafner/docker_config), [Github (wiki)](https://github.com/Jafner/wiki), [Github (cloud_tools)](https://github.com/Jafner/cloud_tools), [Github (self-hosting)](https://github.com/Jafner/self-hosting). - Rename? Jafner.net? Wouldn't that be `Jafner/Jafner.net/Jafner.net`? 2. Jafner.dev [Github](https://github.com/Jafner/Jafner.dev). 3. dotfiles [Gitea](https://gitea.jafner.tools/Jafner/dotfiles), [Github](https://github.com/Jafner/dotfiles). 4. nvgm [Gitea](https://gitea.jafner.tools/Jafner/nvgm) 5. pamidi [Gitea](https://gitea.jafner.tools/Jafner/pamidi), [Github](https://github.com/Jafner/pamidi) 6. docker-llm-amd [Gitea](https://gitea.jafner.tools/Jafner/docker-llm-amd) 7. doradash [Gitea](https://gitea.jafner.tools/Jafner/doradash) 8. clip-it-and-ship-it [Gitea (PyClipIt)](https://gitea.jafner.tools/Jafner/PyClipIt), [Github](https://github.com/Jafner/clip-it-and-ship-it). 9. razer battery led [Github](https://github.com/Jafner/Razer-BatteryLevelRGB) 10. 5etools-docker [Github](https://github.com/Jafner/5etools-docker) 11. jafner-homebrew [Github](https://github.com/Jafner/jafner-homebrew)
31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
# NUT Configuration Details
|
|
|
|
1. `sudo apt-get install nut`
|
|
2. `lsusb` to get ID of UPS over USB, returned `Bus 001 Device 005: ID 0463:ffff MGE UPS Systems UPS`
|
|
3. `sudo nano /etc/nut/ups.conf`. Add to bottom of file:
|
|
```ini
|
|
[EATON5PX1500RT]
|
|
driver = usbhid-ups
|
|
desc = "5PX1500RT"
|
|
port = auto
|
|
vendorid = 0463
|
|
productid = ffff
|
|
```
|
|
4. `sudo nano /etc/nut/upsd.conf`. Add to bottom of file: `LISTEN 0.0.0.0 3493`.
|
|
5. `sudo nano /etc/nut/upsd.users`. Add to bottom of file (replace <PASSWORD> with strong password):
|
|
```ini
|
|
[upsmon]
|
|
password = <PASSWORD>
|
|
upsmon primary
|
|
```
|
|
6. `sudo nano /etc/nut/upsmon.conf`. Add to bottom of file (replace <PASSWORD> with password from step 5.): `MONITOR EATON5PX1500RT@localhost 1 upsmon <PASSWORD> primary`
|
|
7. `sudo nano /etc/nut/nut.conf`. Find line with `MODE=none` and replace with `MODE=netserver`.
|
|
8. `sudo systemctl restart nut-server.service`.
|
|
9. `sudo systemctl restart nut-monitor.service`.
|
|
10. `upsc EATON5PX1500RT` to get printout of current data from UPS.
|
|
|
|
Done!
|
|
|
|
---
|
|
|
|
Followed [this guide](https://pimylifeup.com/raspberry-pi-nut-server/). |