Author Topic: Restart after power failure  (Read 5685 times)

gtsupport

  • Veteran
  • ***
  • Posts: 147
    • View Profile
Restart after power failure
« on: June 02, 2011, 01:06:19 pm »
Basically as the thread title really, I want to make my core automatically restart after a power failure in the home.  Is there any way to do this, i.e by wake on lan, as I know the router and switch automatically come on after power is restored, or perhaps a better way that somebody knows?

TIA.

Matt. :)
LinuxMCE - If it was easy, everybody would be doing it!!

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Restart after power failure
« Reply #1 on: June 02, 2011, 01:09:43 pm »
Most BIOSs allow a setting like Restart on Powerloss or similar.

The BIOS is your friend. What mainboard do you have?

gtsupport

  • Veteran
  • ***
  • Posts: 147
    • View Profile
Re: Restart after power failure
« Reply #2 on: June 02, 2011, 02:55:51 pm »
Hi Posde,

The motherboard is a Asus M4A87TD Evo AMD 870.  I'm currently at work, wife phoned to say there was a power out, and now can't use the linuxmce.  I tried logging into it from work, but turns out it hasn't switched itself back on.  Will go through the bios when I get home and have a good look.  Google searches suggested that I need a UPS, but 99% of results were Windows or Mac based answers, I know that you can get a lot more from your hardware with Linux.

If I have no joy in the bios, I'll keep digging.
Thanks again.
Matt
LinuxMCE - If it was easy, everybody would be doing it!!

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: Restart after power failure
« Reply #3 on: June 02, 2011, 04:24:54 pm »
hi

you can configure a wol ( wake on lan ) over internet .

i used  this tutorial  and work for me

http://www.dd-wrt.com/wiki/index.php/WOL

Carlos

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Restart after power failure
« Reply #4 on: June 02, 2011, 04:34:19 pm »
gtsupport,

BIOS / Power / APM Configuration / Restore On AC Power Loss - change to Power On

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1402
  • If it ain't broke, tweak it
    • View Profile
Re: Restart after power failure
« Reply #5 on: June 02, 2011, 05:11:04 pm »
If you find that your house is subject to power spikes, etc a small UPS might be a good idea anyway, as it will smooth things out. Plus you get the added bonus of a little bit of battery-powered run time, which if it runs out, isn't a problem as your BIOS will turn it back on again! :)

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

bushtech

  • Veteran
  • ***
  • Posts: 98
    • View Profile
Re: Restart after power failure
« Reply #6 on: June 02, 2011, 08:19:48 pm »
Mine comes on after a power spike OK, but how do I get it to boot through the password? Do I have to disable the password request request on bootup? How? ???

Thanks
Core:Asus P8H77-V, Intel core i3-3240 LGA155, Inno 3D Nvidia 240 GT (DVI+VGA+HDMI), 4Gb ram, 125Gb SSD
MD: Zotax Zbox ID41

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Restart after power failure
« Reply #7 on: June 02, 2011, 08:51:08 pm »
What password are you talking about?

bushtech

  • Veteran
  • ***
  • Posts: 98
    • View Profile
Re: Restart after power failure
« Reply #8 on: June 02, 2011, 08:55:33 pm »
Ooops! Duh :-[

Got confused between my ubuntu server and lmce machine.

Sorry
Core:Asus P8H77-V, Intel core i3-3240 LGA155, Inno 3D Nvidia 240 GT (DVI+VGA+HDMI), 4Gb ram, 125Gb SSD
MD: Zotax Zbox ID41

gtsupport

  • Veteran
  • ***
  • Posts: 147
    • View Profile
Re: Restart after power failure
« Reply #9 on: June 03, 2011, 11:52:53 am »
Thanks for all the posts, the option was indeed where Posde said it would be, and I altered it last night.  I checked the bios in my work laptop, and that function doesn't appear, guess its too old.  Anyway all is good now, and hopefully this will be an ex-problem.

Thanks again.

Matt.
LinuxMCE - If it was easy, everybody would be doing it!!

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: Restart after power failure
« Reply #10 on: June 04, 2011, 05:12:37 am »
After last summer when my power was knocked out (for a few seconds at time) 3 or 4 times I invested in a UPS.  The last time this happened I was unable to restart, it had corrupted my install.  A re-install took care of it.

I strongly recommend the use of a UPS for your core