Buffalo Forums

Products => Storage => Topic started by: domain@itsgi.com on July 16, 2024, 04:05:00 PM

Title: Auto Power On After Power Failure
Post by: domain@itsgi.com on July 16, 2024, 04:05:00 PM
We've had a few power failures lately and our UPS has gone down, is there a way to set a TS1400D to automatically power back on after power failure?  I can't seem to find any info on this functionality.
Title: Re: Auto Power On After Power Failure
Post by: 1000001101000 on July 18, 2024, 09:11:08 AM
It can indeed. I believe if you look over the UPS settings in that manual one of the options causes that behavior, UPS recovery I think.

On a technical level, when the device is connected to power it starts the bootloader which then checks the "Alarm_B (Minute Register)" of the RTC for certain "magic" values to decide whether to proceed with a normal boot or wait for the power button to be pressed. 

If you're running Debian you can set this manually:

modprobe i2c-dev
i2cset -y -f 0 0x32 0xB0 0x45


Title: Re: Auto Power On After Power Failure
Post by: domain@itsgi.com on July 19, 2024, 08:42:01 AM
I thought so too, but the option is greyed out:  https://www.dropbox.com/scl/fi/oyjautxycvw8pubvypma9/2024-07-19_08-36-55.jpg?rlkey=ya4xl4xkewcqtfwaf1bjdnpck&dl=0  (https://www.dropbox.com/scl/fi/oyjautxycvw8pubvypma9/2024-07-19_08-36-55.jpg?rlkey=ya4xl4xkewcqtfwaf1bjdnpck&dl=0)
Title: Re: Auto Power On After Power Failure
Post by: 1000001101000 on July 21, 2024, 11:12:37 AM
I have no clue about the UI component, but I was able to confirm the hardware will do it when that value is set.
Title: Re: Auto Power On After Power Failure
Post by: Eastmarch on July 23, 2024, 11:59:28 AM
It's likely Greyed out because you dont have a UPS Syncing to it.

More recent TeraStations have a 'power recovery' setting that works like this without UPS (OFF/ON/LAST STATE).

UPSes are a good idea, though, if you love your data. Flickery power can really ruin a unit's day.
Title: Re: Auto Power On After Power Failure
Post by: domain@itsgi.com on July 24, 2024, 08:04:52 AM
I have always (20+ years) used UPS's on all my devices, especially NAS and servers.  The last UPS I bought had USB only for sync so that's why I never connected it to the NAS.  I found out yesterday that the UPS is failing so time to look for another one with a serial port...thanks all!  I'll try to remember to come back and post my final findings once the new UPS is installed.
Title: Re: Auto Power On After Power Failure
Post by: 1000001101000 on July 24, 2024, 11:31:44 AM
I think for TS1400D you'd need a UPS with USB rather than Serial. Might even be able to test that part with the failing one I suppose.
Title: Re: Auto Power On After Power Failure
Post by: domain@itsgi.com on July 27, 2024, 01:37:52 PM
No serial port on the TS1400D, but there is what appears to be a dedicated USB port (it's a standard white instead of the blue super speed port)...however I got the new UPS in today, connected and that option is still greyed out.
Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 80 (show)
Files included: 27 - 1055KB. (show)
Memory used: 733KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]