News:

RAID is not a replacement for a backup! Here's why.

Main Menu

Auto Power On After Power Failure

Started by domain@itsgi.com, July 16, 2024, 04:05:00 PM

Previous topic - Next topic

domain@itsgi.com

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.

1000001101000

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




1000001101000

I have no clue about the UI component, but I was able to confirm the hardware will do it when that value is set.

Eastmarch

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.
**A single copy of data, even on a RAID array, is NOT a backup! Hard drive failure is not a question of IF, but WHEN! Don't take my word for it, take Google's!**

domain@itsgi.com

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.

1000001101000

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.

domain@itsgi.com

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: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 5: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default), StopForumSpam.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 259 (show)
Files included: 35 - 1354KB. (show)
Memory used: 1031KB.
Tokens: post-login.
Queries used: 16.

[Show Queries]