Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
shutdown Opnsese 19 from UPS [SOLVED]
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: shutdown Opnsese 19 from UPS [SOLVED] (Read 11455 times)
bdario
Jr. Member
Posts: 63
Karma: 2
shutdown Opnsese 19 from UPS [SOLVED]
«
on:
July 02, 2019, 06:12:32 pm »
Hello there,
is there a way to graceful shutdown Opnsense 19 in case of blackout?
I mean something similar as a command coming from an UPS
Can someone drive me to an appropriate documentation?
Thank so much
Best regards
Dario
«
Last Edit: July 25, 2019, 07:37:05 am by bdario
»
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: shutdown Opnsese 19 from UPS
«
Reply #1 on:
July 02, 2019, 06:29:05 pm »
Hi Dario,
Install the os-nut plugin and get NUT to manage your UPS, either directly or through the network.
Bart...
Logged
bdario
Jr. Member
Posts: 63
Karma: 2
Re: shutdown Opnsese 19 from UPS
«
Reply #2 on:
July 03, 2019, 03:21:31 pm »
dear bartjsmit,
thanks for the quick response.
I'll try your suggestion asap.
Best regards
Dario
Logged
bdario
Jr. Member
Posts: 63
Karma: 2
Re: shutdown Opnsese 19 from UPS
«
Reply #3 on:
July 05, 2019, 02:47:39 pm »
Hi Bart,
I'm trying to apply your suggestion:
I installed nut plugin into the OpnSense appliance
the UPS is a RIELLO ADG400 connected via USB to the appliance
I tried to configure the nut plugin with USBHID-driver and BlazerUSB-driver but no one works.
The UPS doesn't have LAN port, just USB
Is there a solution to this issue?
Thanks so much for your precious suggestion
with regards
Dario
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: shutdown Opnsese 19 from UPS
«
Reply #4 on:
July 05, 2019, 04:29:53 pm »
When you connect USB cable any news in system.log?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: shutdown Opnsese 19 from UPS
«
Reply #5 on:
July 05, 2019, 07:09:42 pm »
Hi Dario,
Do you mean the Riello IDG 400? That is supported:
https://networkupstools.org/stable-hcl.html
but doesn't use the HID or Blaze driver:
https://networkupstools.org/docs/man/riello_usb.html
I use a Raspberry Pi as the NUT server since it is cheap, silent and low-power. It may also support a later version of the software.
Bart...
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: shutdown Opnsese 19 from UPS
«
Reply #6 on:
July 05, 2019, 09:55:12 pm »
I can add the driver if you are willing to test it
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
bdario
Jr. Member
Posts: 63
Karma: 2
Re: shutdown Opnsese 19 from UPS
«
Reply #7 on:
July 06, 2019, 02:36:37 pm »
Hello everyone,
I am willing to try the riello_usb driver on my appliance (OpnSense 19.1.4-amd64) starting next week.
I only ask for explanations about the installation of the driver
Please remember that my goal is to have a graceful shutdown in case of blackout
Note: the Riello IDG400 UPS is working fine with XigmaNAs (the shutdow is ok)
I thank you all and I wish you a pleasant weekend
Dario
Logged
bdario
Jr. Member
Posts: 63
Karma: 2
Re: shutdown Opnsese 19 from UPS
«
Reply #8 on:
July 06, 2019, 02:46:25 pm »
Hello,
just an update:
taking a look inside the appliance I found the riello_usb driver:
# ll /usr/local/libexec/nut/riello_usb
-r-xr-xr-x 1 root wheel 87848 Jul 2 04:08 /usr/local/libexec/nut/riello_usb*
Now I'm a bit confused, why I don't find the riello_usb driver in the Services: Nut: Configuration page of OpnSense?
With Regards
Dario
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: shutdown Opnsese 19 from UPS
«
Reply #9 on:
July 06, 2019, 08:21:29 pm »
Already build a PR, will come with 19.7
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
bdario
Jr. Member
Posts: 63
Karma: 2
Re: shutdown Opnsese 19 from UPS
«
Reply #10 on:
July 07, 2019, 03:30:06 pm »
Hi mimugmail,
when the 19.7 rel will be ready for dowbload ?
Thaks
Dario
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: shutdown Opnsese 19 from UPS
«
Reply #11 on:
July 07, 2019, 03:32:06 pm »
End of July
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
bdario
Jr. Member
Posts: 63
Karma: 2
Re: shutdown Opnsese 19 from UPS
«
Reply #12 on:
July 07, 2019, 04:03:48 pm »
great job
see you
Dario
Logged
bdario
Jr. Member
Posts: 63
Karma: 2
Re: shutdown Opnsese 19 from UPS
«
Reply #13 on:
July 24, 2019, 12:06:09 pm »
Hello mimugmail,
I just installed the 19.7 rel and enabled the os-nut plugin but still don't find a driver for Riello IDG400 UPS
where am I wrong?
Regards
Dario
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: shutdown Opnsese 19 from UPS
«
Reply #14 on:
July 24, 2019, 02:00:46 pm »
Hi can you remove the plugin and do via console:
pkg install os-nut-devel
If it's working I'd push it to stable, ok?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
2
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
shutdown Opnsese 19 from UPS [SOLVED]