Can you make Pfsense automaticly reboot after a power outage?



  • topic is the question.



  • I think this is less a pfSense question than a question to the manufacturer of your mainboard.

    Take a look at you BIOS.
    Usually there is an option how the system should behave after a power outage (off, on, as before).



  • As soon as I made the topic, I smacked my forehead thinking that. Thanks for confirming that.



  • Alternatively you could rig a coil around the power cord, a schmitt trigger, a few transistors , resistors and condensators for a monostable multivibrator so the power button gets short-cutted… :D

    (greetings from Mc Guyver ) ;)



  • If you don't have a biossetting for this it often works to use a simple jumper on the 2-pin-header where the powerswitch usually is connected. You won't be able to power off or on the machine manually then without cutting power though.



  • @hoba:

    If you don't have a biossetting for this it often works to use a simple jumper on the 2-pin-header where the powerswitch usually is connected.

    This can lead to problems.
    Most computers shut down if you press the power button more than 4 seconds
    –> short-cutting it will constantly shut it down and reboot it.
    That's why i was talking about a monostable multivibrator.
    So it only shortcuts the connector for a short time and then releases it :)



  • Nope, try it for yourself. If the machine is powered off push and hold the powerbutton. The machine will remain powered on. It only triggers if the system is up and the level of the button goes from 0-1 and stays there for 4 seconds but as it is not going from 0-1 it won't shut down. I used that a lot even with boards that act this way. The good old times when there was no bios setting for this you know?  ;)



  • Maybe this is mainboard dependant.

    About 3 years ago i wanted to do exactly that. The machine in question kept constantly rebooting when i just shortcut the two pins.
    (It was a very old computer with nothing you could call a BIOS config….)

    I solved it with the above solution (shortcut with a relais which is driven by a monostable multivibrator).

    But then... which new mainboard doesnt support these settings :)



  • Use one of these…

    http://www.digital-loggers.com/lpc.html

    I wouldn't know what to do without them.



  • @MicroWISP:

    Use one of these…

    http://www.digital-loggers.com/lpc.html

    I wouldn't know what to do without them.

    was just shopping these around on ebay and such, neat and useful looking.  thinking about getting one and figuring out a way to have it auto-reset my cable modem when the pfsense LoadBalance monitor detects the link is down

    theres also a competing product, much more expensive "iBoot" but only has 1 plug, lame


Locked