Skip to content

Instantly share code, notes, and snippets.

@mandria
Created May 27, 2022 08:53
Show Gist options
  • Save mandria/8a0e4340694f96dc9ddea32fd7296030 to your computer and use it in GitHub Desktop.
Save mandria/8a0e4340694f96dc9ddea32fd7296030 to your computer and use it in GitHub Desktop.
Qnap setting UPS network shutdown windows 10 - osx - linux
compatible UPS with USB plugged to the Qnap nas.
Dowload WinNUT ( https://code.google.com/archive/p/winnut/downloads latest release is from years ago but works fin in latest win 10 build)
for mac and linux you can use package installer system (brew on mac and apt on some linux)
https://networkupstools.org/ for more details
Here the setting to control PC shutdown,
edito configuration file adding a line
qnapups it's the default user for qnap Network Ups Tool
1 (the nuber of ups attached to the device)
admin 123456 (are specific user and password i've foud for qnap, some users says you can use anything, this is not related to any user on the qnap system)
"MONITOR qnapups@yournasIP 1 admin 123456 slave"
be sure to have the 3493 port open on the qnap firewall,
on the NAS settings (ups settings) you have to enable single ip adresses of the machine you want to enable receiving the lost power message
enjoy
@mandria
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment