Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
UPS and reboot
« previous
next »
Print
Pages: [
1
]
Author
Topic: UPS and reboot (Read 1809 times)
Tripple_Delta
Jr. Member
Posts: 91
Karma: 3
UPS and reboot
«
on:
September 22, 2021, 02:38:59 pm »
I can't get over this.
OPNSense box is connected to a UPS. NUT is properly configured and will shut down the box when needed.
When the power is back on, the box doesn’t restarted.
In the BIOS it is set that in the event of a power failure it should restart automatically. But since the box was properly shut down, it does not start up again. Which in normal behavior.
Where am I wrong?
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: UPS and reboot
«
Reply #1 on:
September 22, 2021, 02:52:50 pm »
I think nut plugin uses the wrong shutdown command, calling the script that powers down the whole appliance.
PRs welcome I guess. It's a community plugin after all.
Cheers,
Franco
Logged
muchacha_grande
Full Member
Posts: 219
Karma: 19
Re: UPS and reboot
«
Reply #2 on:
September 22, 2021, 03:43:35 pm »
In the BIOS it should be set "Always Power On", so when the line power is back, the UPS powers on and the the OPNSense box starts even if it was properly shut down.
Logged
Tripple_Delta
Jr. Member
Posts: 91
Karma: 3
Re: UPS and reboot
«
Reply #3 on:
September 22, 2021, 08:54:05 pm »
I only have 3 options.
Power stays off, power back on after failure or same as previous state.
Logged
chemlud
Hero Member
Posts: 2486
Karma: 112
Re: UPS and reboot
«
Reply #4 on:
September 22, 2021, 08:57:46 pm »
I don't use NUT, but if you shutdown, how should the hardware recognize that power is back? Except if the battery is run down to zero, then the hardware should boot when power resumes (BIOS set to "always on" or alike).
You would need something like wake-on-LAN to power up the hardware after power resumes.
«
Last Edit: September 22, 2021, 09:03:37 pm by chemlud
»
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
Fright
Hero Member
Posts: 1777
Karma: 164
Re: UPS and reboot
«
Reply #5 on:
September 22, 2021, 09:24:41 pm »
@Tripple_Delta
I thought that the BIOS should have "Always ON"(Power back on after failure) setting enabled and UPS should have "UPS reboot after power return" setting configured (say "after battery charges to 15%")
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
UPS and reboot