But it will take about 3-5 minutes to make all the setup under Linux properly. We need to run a upscmd
at last, but there are a few steps before that.
nut
package:$ sudo apt install nut
/etc/nut/ups.conf
according to your ups device (descparameter not important, you don’t need to give correct brand name either but the given section name will be used later to identify configured ups device, we’re using eaton as config section name here):[eaton] driver = usbhid-ups port = auto desc = "Eaton 5E"
upsdrvctl
:$ sudo upsdrvctl start Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33
$ upsc eaton ups.beeper.status enabled
/etc/nut/upsd.users
, change the username admin or password as you want:[admin] password = "test1234" actions = SET instcmds = ALL
$ sudo upsd -c reload
$ upscmd -l eaton Instant commands supported on UPS [eaton]: beeper.disable - Disable the UPS beeper beeper.enable - Enable the UPS beeper beeper.mute - Temporarily mute the UPS beeper beeper.off - Obsolete (use beeper.disable or beeper.mute) beeper.on - Obsolete (use beeper.enable) load.off - Turn off the load immediately load.off.delay - Turn off the load with a delay (seconds) shutdown.stop - Stop a shutdown in progress
$ upscmd eaton beeper.disable Username (root): admin Password: OK
$ upsc eaton ups.beeper.status disabled
That’s it. It takes some time but your ears will be happy.
src: https://linux-tips.com/t/disabling-ups-beep-under-linux/592
First, create a Samba share on the easiest way. For example, mine: [macbook-pro-14] path =…
I use this and I experiened like this: The branch name is shortened and can't…
I really like IDEA for developing. I worked on a golang project and I organised…
For reusage: docker run -d \-p 8200:8200 \--restart=on-failure:3 \--name minidlna \-v /opt/minidlna/cache:/minidlna/cache \-v /mnt/data/series:/media/series \-v…
On my host the ipv6 is disabled. I had to start a docker image, which…
I have a Conbee II Zigbee receiver. After a restart the USB passthrought stopped working…
This website uses cookies.